• Resolved Adriders

    (@adriders)


    Hi There,

    After the update the wp tabs is not visible anymore for our editor role.

    I see in the latest release note:
    * New: A hook ‘sp_wp_tabs_ui_permission’ added for UI permission.

    How do I have to define the “sp_wp_tabs_ui_permission” in the functions.php to let the editor change the tabs again?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @adriders,

    Hope are you well. You can provide WP Tabs panel access to Editor by adding the following PHP code to your current theme or current child theme’s funtions.php file like the screenshot (https://prnt.sc/7LM_DVWZczo7).

    add_filter( 'sp_wp_tabs_ui_permission', 'sp_wp_tabs_ui_permission_role_to_editor' );
    function sp_wp_tabs_ui_permission_role_to_editor(){
    	return 'edit_others_posts';
    }

    After this, let me know if it works or not

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @adriders,

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Editor role – tabs not visible’ is closed to new replies.