Mika MAtikainen

Apr 15, 2020 · 4 min read

WP Admin link to All Options

As you can see, the All Options screen enables viewing of most options and editing capabilities of quite a few of them. If you find access to such settings useful, and you know for sure that other users won’t have access or mess with them, you can add a link to the screen with the following function:
[code lang=”php”] // admin link for all options/settings function all_options_link() { add_options_page(__(‘All Options’), __(‘All Options’), ‘manage_options’, ‘options.php’); } add_action(‘admin_menu’, ‘all_options_link’); [/code]

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Share This