Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Remove Version from CSS and JS

<?php
// remove wp version number from scripts and styles
function remove_css_js_version( $src ) {
    if( strpos( $src, '?ver=' ) )
        $src = remove_query_arg( 'ver', $src );
    return $src;
}
add_filter( 'style_loader_src', 'remove_css_js_version', 9999 );
add_filter( 'script_loader_src', 'remove_css_js_version', 9999 );
Comment

PREVIOUS NEXT
Code Example
Php :: PHP Dependency Resolver 
Php :: storefront product search 
Php :: php run cron evey hour 
Php :: laravel This package is not auto-updated. Please set up the GitHub Hook for Packagist so that it gets updated whenever you push! 
Php :: PHP Parse error: Unexpected character "" (ASCII 22) on line 1 
Php :: aravel cache store does not support tagging 
Php :: old codestar text field 
Php :: how get end of array in foreach php 
Php :: through error on warning php 
Php :: php file request 
Php :: php array associatif move element 
Php :: php replace all text from string with associate array values 
Php :: php Write a program to reverse an array or string 
Php :: php preg_match html cross origin 
Php :: form validation in php 
Php :: Comment faire en sorte que le numéro de téléphone ne soit pas un champ obligatoire dans WooCommerce 
Php :: repalce 0 in phone with 234 
Php :: codeigniter 4 multiple validate error 
Php :: laravel collection makeVisible 
Php :: paygate logout session on callback laravel 
Php :: laravel query buider 
Php :: requires ext-pcntl 
Php :: share with all blade in laravel 
Php :: MForm Bild Attribute 
Php :: Convert Array Value Session Value To String PHP 
Php :: php echo variable name 
Php :: how to payment credit card in codeigniter authorized.net 
Php :: option to have array in function parameter 
Php :: sage theme get template 
Php :: php decrement variable by 1 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =