Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
Event Data | Display Eventbrite Events
Please note that this guide is intended for advanced users and developers. Our plugin already offers…
Use Full Store Address in Ships From
add_filter( 'wcv_product_ships_from', 'ships_from_address' ); function ships_from_address( $field ){ global $post, $product; $shipping_disabled = wc_string_to_bool( get_option( 'wcvendors_shipping_management_cap',…
Remove "p" tags Contact Form 7
Remove tags from the forms in the frontend
WordPress Post Views Counter Function
function wpb_set_post_views($postID) { $count_key = 'wpb_post_views_count'; $count = get_post_meta($postID, $count_key, true); if($count==''){ $count = 0; delete_post_meta($postID,…
CSS For Craft Picker
/* General Styles */ body { margin: 0; font-family: 'Arial', sans-serif; background-color: #f9f9f9; color: #333; line-height:…
Disable Blog Posts
// Remove side menu add_action( 'admin_menu', function () { remove_menu_page( 'edit.php' ); } ); // Remove…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
Note Orders
add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…
Media Library Infinite Scrolling
Infinite Scroll
Remove Google Font
Remove Google Font