Archive | /wp-admin/includes/plugin.php RSS feed for this section

get_plugin_data

Parse the plugin contents to retrieve plugin’s metadata.The metadata of the plugin’s data searches for the following in the plugin’s header. All plugin data must be on its own line. For plugin description, it must not have any newlines or only parts of the description will be displayed and the same goes for the plugin data. The below is formatted for printing.

1558

Continue reading

get_plugins

Check the plugins directory and retrieve all plugin files with plugin data.WordPress only supports plugin files in the base plugins directory (wp-content/plugins) and in one directory above the plugins directory (wp-content/plugins/my-plugin). The file it looks for has the plugin data and must be found in those two locations. It is recommended that do keep your plugin files in directories.

1556

Continue reading

get_mu_plugins

Check the mu-plugins directory and retrieve all mu-plugin files with any plugin data.WordPress only includes mu-plugin files in the base mu-plugins directory (wp-content/mu-plugins).

1492

Continue reading