Wordpress: Admin Link For All Settings


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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');

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.