WordPress.org

Support

Support » Plugins and Hacks » Mail Subscribe List » to display the subscribe on the admin menu for other user level

to display the subscribe on the admin menu for other user level

  • I came cross this problem when I need to display the subscribe menu on the admin Dashboard for editor level user. And I have solved the problem and hope my solution will help someone else.

    To change it go to sml.php in the plugin folder. Make a change in the function below:

    function register_sml_menu() {
    add_menu_page(‘Subscribers’, ‘Subscribers’, ‘add_users‘, dirname(__FILE__).’/index.php’, ”, plugins_url(‘sml-admin-icon.png’, __FILE__), 58.122);
    }

    change the add_users option to other capability of the editor level e.g. edit_posts. (You can use other capability of this level of course)

    You need to understand the logic of add menu page.

    Hope this helps! =)

    https://wordpress.org/plugins/mail-subscribe-list/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘to display the subscribe on the admin menu for other user level’ is closed to new replies.
Skip to toolbar