Posted By

alp on 06/06/11


Tagged

wordpress admin functionsphp


Versions (?)

Wordpress: Admin Link For All Settings


 / Published in: PHP
 

URL: http://digwp.com/2010/04/wordpress-custom-functions-php-template-part-2/

  1. /**
  2.  * Admin Link For All Settings
  3.  * http://digwp.com/2010/04/wordpress-custom-functions-php-template-part-2/
  4.  *
  5.  **/
  6. function myfunction_all_settings_link() {
  7. add_options_page(__('All Settings'), __('All Settings'), 'administrator', 'options.php');
  8. }
  9. add_action('admin_menu', 'myfunction_all_settings_link');

Report this snippet  

You need to login to post a comment.