06.16How go Get your own WordPress Plugin Information
Here is a wordpress tips that help you Get your own WordPress Plugin Information from vizioninteractive.
First able to pull the Plugin information in using this hook:
$plugins = get_plugins('/mypluginfolder');
This will pull in the plugin that’s located in wp-content/plugins/mypluginfolder/ and display it in an array like this:
array(1) {
["myplugin.php"]=>
array(5) {
["Name"]=>
string(18) “My Plugin”
["Title"]=>
string(95) “My Plugin”
["Description"]=>
string(78) “My Plugin does stuff!”
["Author"]=>
string(100) “Me”
["Version"]=>
string(5) “1.8.2″
}
}

Leave a Reply