WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. meandcat
    Member
    Posted 4 months 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! =)

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

  2. denizgezgin
    Member
    Posted 1 month ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic