woosb_bulk_hooks
-
Hi first thanks for awesome plugin. Please can you edit this function
function woosb_bulk_hooks() {
if ( current_user_can( ‘administrator’ ) ) {
add_filter( ‘bulk_actions-edit-product’, array( $this, ‘woosb_register_bulk_actions’ ) );
add_filter( ‘handle_bulk_actions-edit-product’, array(
$this,
‘woosb_bulk_action_handler’
), 10, 3 );
add_action( ‘admin_notices’, array( $this, ‘woosb_bulk_action_admin_notice’ ) );
}
}to make vissible Bulk option to another user types
maybe you can change it toif ( current_user_can( ‘edit_products’ ) )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘woosb_bulk_hooks’ is closed to new replies.