This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Gravity XL Scheduled Entries Export | |
* @version 1.0 | |
* @name gravityxl -scheduled-entries-export | |
* @author Gravity XL | |
*/ | |
/** | |
* Schedule gform Entry export | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @package Gravity XL Live Html Preview | |
* @version 1.0 | |
* @name gravity -gravity_xl-live-html-preview | |
* @author Gravity XL | |
*/ | |
/** | |
* Make html field show live calculations and totals embedded | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action('wp', 'theme_remove_native_pricing', 999); | |
if(!function_exists('theme_remove_native_pricing')) { | |
function theme_remove_native_pricing() { | |
remove_action('woocommerce_single_product_summary', 'woocommerce_template_single_price', 14.9); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* YOTPO Review System Code | |
*/ | |
$wcst_plugin_instance = WCST_Core::get_instance(); | |
remove_action('woocommerce_single_product_summary', array($wcst_plugin_instance, 'wcst_position_below_review'), 11); | |
add_action('woocommerce_single_product_summary', array($wcst_plugin_instance, 'wcst_position_below_review'), 8); | |
add_filter('wcst_smarter_reviews_single_arr', 'wcst_modify_smarter_reviews_data', 10, 3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add below code in theme functions.php file to change days, hrs, mins seconds like hard text | |
**/ | |
add_filter('wcst_modify_hard_values', 'wcst_modify_hard_values', 10, 1); | |
function wcst_modify_hard_values($array) { | |
$array['others'] = 'andre'; | |
$array['other'] = 'annen'; | |
$array['from'] = 'fra '; | |
$array['in'] = 'i'; | |
$array['&'] = '& '; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add This whole code in working theme functions.php to alter woocommerce native positions | |
* | |
* XL WooCommerce Sales Trigger Class Instance | |
*/ | |
if (class_exists('WCST_Core')) { | |
$wcst_plugin_instance = WCST_Core::get_instance(); | |
// removing all positions based action hooks | |
remove_action('woocommerce_single_product_summary', array($wcst_plugin_instance, 'wcst_position_above_title'), 2.2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Show number of people viewing this product by modifying existing trigger content | |
*/ | |
add_filter('wcst_guarantee_display_content', 'wcst_guarantee_display_content_modify', 10, 5); | |
/** | |
* Modifies and HTML for a existing trigger to show number of people viewing this product | |
* @hooked over `wcst_guarantee_display_content` | |
* @param string $gurantee_html Existing Guarantee HTML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Modify Sales Count display content to show random sales count | |
*/ | |
add_filter('wcst_sales_count_display_content_before_data', 'wcst_sales_count_display_content_before_data_modify', 10,5); | |
/** | |
* @hooked into `wcst_sales_count_display_content_before_data` | |
* Modifies sales count value before rendering of sales count snippet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Modify best seller badge HTML contact to reorder Elements | |
*/ | |
add_filter('wcst_best_seller_badge_display_content', 'wcst_best_seller_badge_display_content_modify', 10, 6); | |
/** | |
* @hooked into `wcst_best_seller_badge_display_content` | |
* Reorder HTML elements for Xl sales triggers's best seller badge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add This whole code in working theme functions.php inside php tag to alter woocommerce native positions | |
* Theme: https://themeforest.net/item/float-minimalist-ecommerce-theme/19868208 | |
* XL WooCommerce Sales Trigger Class Instance | |
*/ | |
add_action('wp', 'float_wcct_modify_positions', 99); | |
function float_wcct_modify_positions() { | |
if (class_exists('WCST_Core')) { |
OlderNewer