*
* @since 1.0.0
* @return object|WP_Bulk_Delete The one true WP_Bulk_Delete Instance.
*/
function wpbulkdelete() {
return WP_Bulk_Delete::instance();
}
// Get WP_Bulk_Delete Running.
wpbulkdelete();
/**
* Check is pro active or not.
*
* @since 1.2.0
* @return boolean
*/
function wpbd_is_pro() {
if( !function_exists( 'is_plugin_active' ) ){
include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
}
if ( is_plugin_active( 'wp-bulk-delete-pro/wp-bulk-delete-pro.php' ) ) {
return true;
}
return false;
}