Site Wide Header

add_filter('get_custom_logo', function($html) { // Only touch the header logo return preg_replace( '/]+)>/', '', // set to…

Robert Jax
<10

Core_Universal_Download Fix

/** * WPCode Snippet: Auto-Create .htaccess in Uploads Folder for Force Download * Description: Creates/updates .htaccess…

ismail daugherty PRO
<10

PHP-snippet: registratie lessen verwerken en AJAX endpoint

// Configuratie function get_parameters_36(): array { return [ "target_page_slug" => "lesrooster-evenemententeam-2025", "tablepress_table_id" => 36 ]; }…

Restrict WordPress Admin Access by Country

Restrict access to wp-admin based on visitor country using Cloudflare's country header. Useful for agencies, membership…

Manage Admin Menus

Sometimes, long list of admin menu items can be overwhelming. Selectively show or hide items based…

Force account creation by cart total

Force account creation at checkout if the cart total is a certain amount and the quantity…

Prevent Discounts on Upgrades

Does not allow a discount code to be applied when an license upgrade is present in…

Hide payment icons for trials

Hides the payment icons on checkout when the item in the card is a free trial

Add Custom Settings Tab to Vendor Dashboard

// Add the tab to the tab nav add_filter( 'wcv_store_tabs', 'add_custom_tab_nav' ); function add_custom_tab_nav( $tabs ){…

Hide “Everywhere Else” on the countries dropdown

if ( ! function_exists( 'wcv_hide_everywhere_else' ) ) { /** * Hide the "Everywhere else" option in…

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

1 78 79 80 81 82 127