W3speedster Seprate Critical Css For Post Type

Function: w3SpeedsterCreateSeprateCssOfPostType Description: By default our plugin creates a single critical css for post but If you wish to generate separate critical CSS for post. W3Speedster allows you to create critical CSS separately post-wise. Parameter: $separate_post_css- Array of post types. Return: $separate_post_css – create separate critical css for each post and page. function w3SpeedsterCreateSeprateCssOfPostType($separate_post_css){ $separate_post_css […]

Read More…

W3speedster Customize Main Settings

Function: w3SpeedsterCustomizeMainSettings Description: Customize plugin main settings. Parameter: $settings- Plugin main settings array (like: exclude css, cache path etc ) Return: $settings function w3SpeedsterCustomizeMainSettings($settings){ $settings[‘setting_name’] = value; return $settings; } function w3SpeedsterCustomizeMainSettings($settings){ $settings[‘setting_name’] = value; return $settings; } […]

Read More…

W3speedster Customize Add Settings

Function: w3SpeedsterCustomizeAddSettings Description: If you wish to change in variables and paths (URL), W3Speedster allows you to make changes in variables and paths with the help of this plugin function. Parameter: $add_settings- settings of the plugin. Return: :$add_settings – reflect the changes made in variable and path. function w3SpeedsterCustomizeAddSettings($add_settings){ $add_settings = str_replace(array(“mob.css”),array(“mobile.css”), $add_settings); return $add_settings; […]

Read More…

W3speedster Disable Htaccess Webp

Function: w3SpeedsterDisableHtaccessWebp Description: Our plugin converts .jpg/.png format to WebP format without changing the URL. it disable webp to render from HTACCESS. Parameter: $disable_htaccess_webp- 0(default) || 1 Return: It will add w3.webp at the end of the url for instance (xyz.jpgw3.webp). function w3SpeedsterDisableHtaccessWebp($disable_htaccess_webp){ $disable_htaccess_webp = 1 return $disable_htaccess_webp; } function w3SpeedsterDisableHtaccessWebp($disable_htaccess_webp){ $disable_htaccess_webp = 1 return […]

Read More…

W3speedster Customize Critical Css

Function: w3SpeedsterCustomizeCriticalCss Description: If you wish to make any changes in Critical CSS, W3Speedster allows you to make changes in generated Critical CSS. For instance if you want to replace/ remove any string/URL from critical CSS (like @font-face { font-family:”Courgette”; to @font-face { ) Parameter: $critical_css- Critical Css of the page. Return: $critical_css – Reflect […]

Read More…

W3speedster No Critical Css

Function: w3SpeedsterNoCriticalCss Description: W3Speedster allows you to exclude the pages from the Critical CSS (like search pages). Parameter: $url- Stores the url of the page.$ignore_critical_css- 0 (default) || 1 Return: 1 – it will exclude the page you do not wish to create critical CSS. function w3SpeedsterNoCriticalCss($url, $ignore_critical_css){ if(strpos($url,’/path/’) !==false) { $ignore_critical_css = 1; } […]

Read More…

W3speedster Internal Css Minify

Function: W3speedup_internal_css_minify Description: If you don’t want to minify, W3Speedster allows you to exclude stylesheet files from minify. Parameter: $path- path of css file.$css- Css content of the file.$css_minify- 0 || 1 (default) Return: 1 – it will exclude the entered css file from minification.0 – it will not exclude the entered css file from […]

Read More…

W3speedster Internal Css Customize

Function: w3SpeedsterInternalCssCustomize Description: If you want to make changes in your CSS file, W3Speedster allows you to make changes in stylesheet files. Parameter: $css- Css content of the file. $path- path of css file. Return: $css – make the required changes in CSS files. function w3SpeedsterInternalCssCustomize($css,$path){ if(strpos($path,’ //cssPath // ‘) !== false){ $css = str_replace(‘ […]

Read More…

W3speedster Internal JS Customize

Function: w3SpeedsterInternalJsCustomize Description: If you wish to make changes in JavaScript files, W3Speedster allows you to make changes in JavaScript Files. Parameter: $path- Path of the JS file. $string – javascript you want to make changes in. Return: $string– make changes in the internal JS file. function w3SpeedsterInternalJsCustomize($string,$path){ if(strpos($path,’//js path//’) !== false){ $string = str_replace(“jQuery(windw)”, […]

Read More…

W3speedster Inner JS Exclude

Function: w3SpeedsterInnerJsExclude Description: Exclude the script tag from lazy loading, which is present in the pages view source. Parameter: $inner_js = The script tag s content is visible in the page s view source $exclude_js_bool = 0(default) || 1 Return: 1 function w3SpeedsterInnerJsExclude($exclude_js_bool,$inner_js){ if(strpos($inner_js,’Script text’) !== false){ $exclude_js_bool= 1; } return $exclude_js_bool; } function w3SpeedsterInnerJsExclude($exclude_js_bool,$inner_js){ […]

Read More…

W3Speedster
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.