[ Index ]

WordPress Cross Reference

title

Body

[close]

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

WordPress Plugin Install Administration API

File Size: 452 lines (19 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  plugins_api()
  install_popular_tags()
  install_dashboard()
  install_search_form()
  install_plugins_upload()
  install_plugins_favorites_form()
  display_plugins_table()
  install_plugin_install_status()
  install_plugin_information()

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
overriding 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: object plugins_api response object on success, WP_Error on failure.

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

param: array $args
return: array

install_dashboard()   X-Ref
No description

install_search_form( $type_selector = true )   X-Ref
Display search form for searching plugins.


install_plugins_upload( $page = 1 )   X-Ref
Upload from zip

param: string $page

install_plugins_favorites_form()   X-Ref
Show a username form for the favorites page


display_plugins_table()   X-Ref
Display plugin content based on plugin list.


install_plugin_install_status($api, $loop = false)   X-Ref
Determine the status we can perform on a plugin.


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




Generated: Tue Mar 25 01:41:18 2014 WordPress honlapkészítés: online1.hu