Mail Subscribe List
to display the subscribe on the admin menu for other user level (2 posts)

  1. meandcat
    Posted 1 year ago #

    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! =)


  2. denizgezgin
    Posted 1 year ago #

    Thank you very much for this info!
    It helped me a lot:)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic