View function.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
add_filter('woocommerce_paypal_payments_single_product_renderer_hook', function() { | |
return 'woocommerce_after_add_to_cart_form'; | |
}); |
View function.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
add_filter('woocommerce_paypal_payments_single_product_renderer_hook', function() { | |
return 'woocommerce_after_add_to_cart_button'; | |
}); |
View function.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
function glink_bcn() { | |
echo '<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">'; | |
echo bcn_display() . '</div>'; | |
} | |
add_shortcode('glink_bcn', 'glink_bcn'); |
View class-wpbdp.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
$this->compat = new WPBDP_Compat(); | |
$this->rewrite = new WPBDP__Rewrite(); | |
do_action( 'wpbdp_loaded' ); |
View functions.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
<?php | |
/** | |
* On enlève les scripts du thème parent | |
*/ | |
function sparkling_child_dequeue_script() { | |
wp_dequeue_script( 'sparkling_scripts' ); | |
} | |
add_action( 'wp_print_scripts', 'sparkling_child_dequeue_script()', 100 ); | |
/** |
NewerOlder