get_plugin_page_hook in /wp-admin/includes/plugin.php
1562
Continue readingParse 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 readingCheck 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 readingCheck 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