
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 26, 2022, 11:58
Hello
Please watch this video - https://bulk-editor.com/video#video_2508
Read this( https://share.pluginus.net/image/i20221226095557.png ) - https://bulk-editor.com/document/more-settings-implicit
But to hide these fields you need code customization - https://share.pluginus.net/image/i20221226095830.png
Hello
Please watch this video - https://bulk-editor.com/video#video_2508
Read this( https://share.pluginus.net/image/i20221226095557.png ) - https://bulk-editor.com/document/more-settings-implicit
But to hide these fields you need code customization - https://share.pluginus.net/image/i20221226095830.png

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 27, 2022, 10:26
Hello
Please read this - https://developer.wordpress.org/reference/functions/current_user_can/
To check role
$user = wp_get_current_user();
if ( in_array( 'employee', (array) $user->roles ) AND in_array($slug, $rules) ) {
$show = false;
}
Hello
Please read this - https://developer.wordpress.org/reference/functions/current_user_can/
To check role
$user = wp_get_current_user();
if ( in_array( 'employee', (array) $user->roles ) AND in_array($slug, $rules) ) {
$show = false;
}

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 27, 2022, 12:58
Unfortunately code customization is not included in support
You can try it:
add_filter('woobe_show_tabs', function ($show, $slug) {
$rules = array('settings', 'meta', 'info');
$user = wp_get_current_user();
if ( in_array( 'employee', (array) $user->roles ) AND in_array($slug, $rules) ) {
$show = false;
}
return $show;
}, 99, 2);
Unfortunately code customization is not included in support
You can try it:
add_filter('woobe_show_tabs', function ($show, $slug) {
$rules = array('settings', 'meta', 'info');
$user = wp_get_current_user();
if ( in_array( 'employee', (array) $user->roles ) AND in_array($slug, $rules) ) {
$show = false;
}
return $show;
}, 99, 2);