Search results for: admin
Disable Gutenberg Editor (use Classic Editor)
add_filter('gutenberg_can_edit_post', '__return_false', 5); add_filter('use_block_editor_for_post', '__return_false', 5);
Remove WordPress Version Number
add_filter('the_generator', '__return_empty_string');
Allow SVG Files Upload
/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…
Remove Location Taxonomy
// Add custom Bulk Action to the Pages view function custom_add_bulk_action() { global $post_type; if ($post_type…
WP Simple Pay: Disable Stripe Payment Terms
Disable the automatically generated payment form mandates. NOTE: No recommended. Some payment methods require mandates to…
Change the action's string in the refund section - "View Details"
Change the action's string in the refund section - "View Details"
Change the "Commission" header for the Recent Orders table
Change the "Commission" header for the Recent Orders table using the "wcvendors_recent_order_table_columns" filter hook.
Escaping Data
// instead the _e(), __() or _x() use the escaped version _e('Email Summary', 'duplicator-pro'); // this…
Untitled Snippet
google-site-verification=Z6ci_S0g839p6z-pqU4OUb5KSQpdoJBRrjh791uaErY
Untitled Snippet
google-site-verification=6Ml542WH4lYeFrqKo9pBa6NBaAyONR9l0k5Sgrk27xk
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
WP Simple Pay: Programmatically Access Payment Metadata After Payment
Programmatically access metadata (such as custom field values) associated with a payment record after a subscription…