• Resolved milenpav

    (@milenpav)


    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 to

    if ( current_user_can( ‘edit_products’ ) )

    • This topic was modified 6 years, 1 month ago by milenpav.
    • This topic was modified 6 years, 1 month ago by milenpav.
Viewing 1 replies (of 1 total)
  • Plugin Author WPClever

    (@wpclever)

    Hi @milenpav ,

    Thanks for your suggestion. I’ll transfer this thread to our developers so that they can consider this.

    However, I’m not sure they will add this to our plugin in the coming updates or not since the final decision is up to our developers.

    Since it’s not a report of issues in our plugin, I’ll mark this as Resolved. If there is any news from our developers, I’ll keep you posted.

    All the best.

    • This reply was modified 6 years, 1 month ago by WPClever.
Viewing 1 replies (of 1 total)

The topic ‘woosb_bulk_hooks’ is closed to new replies.