[wp-trac] [WordPress Trac] #8964: Allow adding headers to get_plugin_data
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 19 16:11:30 UTC 2009
#8964: Allow adding headers to get_plugin_data
-------------------------+--------------------------------------------------
Reporter: strider72 | Owner: westi
Type: enhancement | Status: accepted
Priority: normal | Milestone: 2.9
Component: Plugins | Version:
Severity: normal | Keywords: has-patch tested commit early
-------------------------+--------------------------------------------------
Comment(by strider72):
Example of usage in a plugin:
{{{
function header_demo( $extra_headers ) {
$extra_headers[] = 'Demo Header';
return $extra_headers;
}
add_filter( 'plugin_headers', 'header_demo' );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/8964#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list