[wp-trac] Re: [WordPress Trac] #7682: API for adding settings to default settings pages

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 1 18:32:17 GMT 2008


#7682: API for adding settings to default settings pages
---------------------+------------------------------------------------------
 Reporter:  ryan     |        Owner:  anonymous
     Type:  defect   |       Status:  closed   
 Priority:  normal   |    Milestone:  2.7      
Component:  General  |      Version:           
 Severity:  normal   |   Resolution:  fixed    
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by technosailor):

 Anybody confirm this is functional for plugins in 2.7? Doesn't seem to
 work or maybe I'm missing something.

 {{{
 function myex_conf()
 {
   add_settings_section('myex_settings','My Example
 Settings','myex_settings','reading');
 }
 add_action('admin_init','myex_conf');

 function myex_settings()
 {
   echo "foo";
 }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7682#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list