[wp-trac] [WordPress Trac] #3047: get_plugininfo()

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 17 18:16:09 GMT 2006


#3047: get_plugininfo()
-----------------------------------+----------------------------------------
 Reporter:  forceagainstsomething  |       Owner:  anonymous
     Type:  enhancement            |      Status:  new      
 Priority:  normal                 |   Milestone:           
Component:  Administration         |     Version:           
 Severity:  normal                 |    Keywords:           
-----------------------------------+----------------------------------------
 Attached is a patch to create a new function to be used by plugin
 developers named get_plugininfo().
 Any script that is part of a plugin can call the function to get
 information about the plugin itself.  The function works similar to
 get_bloginfo().

 Example: $url = get_plugininfo('url');  Will return the full URL for the
 plugin's base directory.  $path = get_plugininfo('path'); Will return the
 full path to the plugin's base directory.

 This will save plugin developers from having to define the values
 themselves.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3047>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list