[ Index ]

PHP Cross Reference of Wordpress 2.7.1

title

Body

[close]

/wp-admin/includes/ -> plugin-install.php (summary)

WordPress Plugin Install Administration API

File Size: 894 lines (34 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 17 functions

  plugins_api()
  install_popular_tags()
  install_search()
  install_dashboard()
  install_search_form()
  install_featured()
  install_popular()
  install_new()
  install_updated()
  display_plugins_table()
  install_plugin_information()
  upload_plugin()
  install_plugin()
  do_plugin_install()
  do_plugin_install_local_package()
  wp_install_plugin()
  wp_install_plugin_local_package()

Functions
Functions that are not part of a class:

plugins_api($action, $args = null)   X-Ref
Retrieve plugin installer pages from WordPress Plugins API.

It is possible for a plugin to override the Plugin API result with three
filters. Assume this is for plugins, which can extend on the Plugin Info to
offer more choices. This is very powerful and must be used with care, when
overridding the filters.

The first filter, 'plugins_api_args', is for the args and gives the action as
the second parameter. The hook for 'plugins_api_args' must ensure that an
object is returned.

The second filter, 'plugins_api', is the result that would be returned.

param: string $action
param: array|object $args Optional. Arguments to serialize for the Plugin Info API.
return: mixed

install_popular_tags( $args = array()   X-Ref
Retrieve popular WordPress plugin tags.

param: array $args
return: array

install_search($page)   X-Ref
Display search results and display as tag cloud.

param: string $page

install_dashboard()   X-Ref
No description

install_search_form()   X-Ref
Display search form for searching plugins.


install_featured($page = 1)   X-Ref
Display featured plugins.

param: string $page

install_popular($page = 1)   X-Ref
Display popular plugins.

param: string $page

install_new($page = 1)   X-Ref
Display new plugins.

param: string $page

install_updated($page = 1)   X-Ref
Display recently updated plugins.

param: string $page

display_plugins_table($plugins, $page = 1, $totalpages = 1)   X-Ref
Display plugin content based on plugin list.

param: array $plugins List of plugins.
param: string $page
param: int $totalpages Number of pages.

install_plugin_information()   X-Ref
Display plugin information in dialog box form.


upload_plugin()   X-Ref
No description

install_plugin()   X-Ref
Display plugin link and execute install.


do_plugin_install($download_url, $plugin_information = null)   X-Ref
Retrieve plugin and install.

param: string $download_url Download URL.
param: object $plugin_information Optional. Plugin information

do_plugin_install_local_package($package, $filename = '')   X-Ref
Install a plugin from a local file.

param: string $package Local Plugin zip
param: string $filename Optional. Original filename
param: object $plugin_information Optional. Plugin information

wp_install_plugin($package, $feedback = '')   X-Ref
Install plugin.

param: string $package
param: string $feedback Optional.
return: mixed.

wp_install_plugin_local_package($package, $feedback = '')   X-Ref
Install plugin from local package

param: string $package
param: string $feedback Optional.
return: mixed.



Generated: Mon Mar 23 16:23:02 2009 Cross-referenced by PHPXref 0.7