Parse error
-
I am getting this error message when i am trying to activate plugin
Parse error: syntax error, unexpected ‘{‘, expecting ‘)’ in /home/www/[mywebsite.com]/wp-content/plugins/couponxl-cpt/couponxl-cpt.php on line 191 please help me solve it
This is a sample of the code:
),
));$bulk_actions = new Seravo_Custom_Bulk_Action( array(‘post_type’ => ‘voucher’) );
$bulk_actions->register_bulk_action(array(
‘menu_text’ => __( ‘Pay To Sellers’, ‘couponxl’ ),
‘admin_notice’=> __( ‘Sellers are paid’, ‘couponxl’ ),
‘callback’ => __function( $post_ids ){
couponxl_pay_sellers( $post_ids, ‘no’ );
return true;
}
));$bulk_actions->init();
}
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Parse error’ is closed to new replies.