Disable Windows Live Writer Link
remove_action( ‘wp_head’, ‘wlwmanifest_link’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
remove_action( ‘wp_head’, ‘wlwmanifest_link’ );Continue reading
remove_action( ‘wp_head’, ‘rsd_link’ );Continue reading
add_filter( ‘heartbeat_settings’, function ( $settings ) { $settings[‘interval’] = 120; return $settings; } );Continue reading
remove_image_size( ‘1536×1536’ ); remove_image_size( ‘2048×2048’ );Continue reading
// Modifies the WP Grid Builder query to filter vendors based on matching ‘vendor-location’ // taxonomy terms with the current post’s ‘post-location’ terms. // This function is hooked into the WP Grid Builder’s query argument filter, // specifically targeting a…Continue reading
add_filter( ‘charitable_campaign_suggested_donations’, ‘example_charitable_campaign_suggested_donations’, 10, 2 ); function example_charitable_campaign_suggested_donations( $value = array(), $campaign_object ) { if ( empty( $value ) ) { return; } /* $value is an array of suggested donations. It often looks like this by default: Array (…Continue reading
@ini_set( ‘upload_max_size’ , ‘256M’ ); @ini_set( ‘post_max_size’, ‘256M’); @ini_set( ‘max_execution_time’, ‘300’ );Continue reading
// Change OG title for Yoast on Vendor Pages function wcv_wpseo_change_og_title( $title ) { if ( WCV_Vendors::is_vendor_page() ) { $vendor_shop = urldecode( get_query_var( ‘vendor_shop’ ) ); $vendor_id = WCV_Vendors::get_vendor_id( $vendor_shop ); $shop_title = get_user_meta( $vendor_id, ‘pv_shop_name’, true ); $og_title =…Continue reading
add_filter( ‘simpay_payment_confirmation_template_tag_customer-name’, function( $value ) { if ( ” === $value ) { return ‘Donor’; } return $value; } );Continue reading