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 term page | |
function custom_url_taxonomy_add_new_meta_field() { | |
// this will add the custom meta field to the add new term page | |
?> | |
<div class="form-field"> | |
<label for="term_meta[custom_term_meta]"><?php _e( 'Custom url category', 'custom_url_category' ); ?></label> | |
<input type="text" name="term_meta[custom_term_meta]" id="term_meta[custom_term_meta]" value=""> | |
<p class="description"><?php _e( 'Inserisci un custom url prodotto per la categoria','custom_url_category' ); ?></p> | |
</div> | |
<?php |
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
form.php | |
'wfacp_skip_form_printing'---------woofunnels-aero-checkout\public\template-common\form.php: 9 | |
'woocommerce_checkout_must_be_logged_in_message' ---------woofunnels-aero-checkout\public\template-common\form.php: 14 | |
'wfacp_before_form' ----for skip form printing-----woofunnels-aero-checkout\public\template-common\form.php: 31 | |
'wfacp_outside_header' -------- woofunnels-aero-checkout\public\template-common\form.php: 52 |
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_filter ( 'woocommerce_order_item_permalink' , '__return_false' ); | |
add_action( 'woocommerce_account_downloads_column_download-product','xlwcty_remove_hyper_link_from_download_product'); | |
function xlwcty_remove_hyper_link_from_download_product($download) | |
{ | |
echo esc_html( $download['product_name'] ); | |
} |
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_filter( 'wfocu_offer_data', 'wfocu_custom_alter_price', 12, 3 ); | |
function wfocu_custom_alter_price( $output, $offer_data, $is_front ) { | |
$percentage_discount_on_order = 50; //put your dynamic percentage discount amount here | |
if ( true === $is_front ) { | |
foreach ( $output->products as &$product ) { | |
if ( is_a( $product->data, 'WC_Product' ) ) { | |
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
class WFACP_Compatibility_With_Payoneer_Checkout_Gateway { | |
public function __construct() { | |
/* checkout page */ | |
add_action( 'wfacp_after_checkout_page_found', [ $this, 'actions' ] ); | |
} | |
public function actions() { |
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_filter('wfacp_no_product_found_message',function(){ | |
return ""; | |
}); |
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_filter('wfacp_order_summary_column_item_heading',function (){ | |
return 'Item'; | |
}); | |
add_filter('wfacp_order_summary_column_total_heading',function (){ | |
return 'Amount'; | |
}); |
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( 'wfacp_internal_css', function () { | |
?> | |
<style> | |
body .wfacp_pro_switch.wfacp_animation_start .wfacp-pro-thumb:after, | |
body .wfacp_pro_switch.wfacp_animation_start .product-name .wfacp_product_switcher_item:after, | |
body .wfacp_pro_switch.wfacp_animation_start .product-name .wfacp_product_name_inner > span:after, | |
body .wfacp_pro_switch.wfacp_animation_start .wfacp_pro_attr_single:after, | |
body .wfacp_pro_switch.wfacp_animation_start .wfacp_product_subs_details span:after, | |
body .wfacp_pro_switch.wfacp_animation_start .product-name .wfacp_product_select_options a:after, | |
body .wfacp_pro_switch.wfacp_animation_start .wfacp_quantity .wfacp_qty_wrap:after, |
OlderNewer