Search
 
SCRIPT & CODE EXAMPLE
 

PHP

woocommerce change sale text

<?php
add_filter('woocommerce_sale_flash', 'woocommerce_custom_sale_text', 10, 3);
function woocommerce_custom_sale_text($text, $post, $_product)
{
    return '<span class="onsale">PUT YOUR TEXT</span>';
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel remove public from url on shared host 
Php :: php mongodb get all documents 
Php :: what is forelse in laravel 
Php :: wp wc get cart item attribute 
Php :: laravel public access inserver using htaccess 
Php :: woocommerce action order complete 
Php :: pdo php check if row exist 
Php :: Problem 1 - phpspec/prophecy is locked to version 1.13.0 and an update of this package was not requested. - phpspec/prophecy 1.13.0 requires php ^7.2 || ~8.0, <8.1 - your php version (8.1.2) does not satisfy that requirement. 
Php :: laravel php 8 ububtu 
Php :: wordpress get user by id 
Php :: convert json object to array in php 
Php :: migrate to an existing table in laravel commad 
Php :: install php linux nginx command line 
Php :: php date to seconds 
Php :: how to print count query in php 
Php :: wp revisions config 
Php :: php convert hex to rgba 
Php :: laravel blade get authenticated user email 
Php :: Pacific Daylight Time Zone php 
Php :: laravel timestamps on pivot table 
Php :: count() parameter must be an array or an object that implements countable laravel 
Php :: laravel validation max string length 
Php :: Artisan::call for all catch clear in laravel 
Php :: php time difference in hours 
Php :: php check for empty string 
Php :: laravel blade skip entry 
Php :: Invalid request (Unsupported SSL request) 
Php :: laravel migrate if not exists 
Php :: read-json-data-response-using-php 
Php :: redirect wordpress core login 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =