This file contains hidden or 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
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
php wp-cli.phar --info | |
alias wp="php wp-cli.phar" |
This file contains hidden or 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 | |
add_action('updated_post_meta','shop_order_meta_updated', 10, 4); | |
function shop_order_meta_updated($meta_id, $post_id, $meta_key, $meta_value) { | |
$type = get_post_type( $post_id ); | |
if ($type == 'shop_order') { | |
error_log("shop_order_meta_updated"); | |
error_log("shop_order ID:" . $post_id); | |
error_log("meta_key:" . print_r($meta_key, true) ); | |
error_log("meta_value:" . print_r($meta_value, true) ); | |
error_log(wp_debug_backtrace_summary()); |
This file contains hidden or 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
<div class="single-product-banner__content"> | |
<div class="sigle-product__review"> | |
<div class="yotpo bottomLine" | |
data-product-id="{{ product.id }}"> | |
</div> | |
<a class="reviews-wrap__link" href="#single-product__reviews-wrap"></a> | |
{% comment %} |
This file contains hidden or 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
top | |
T x 2 | |
(Shift + E) x 2 |
OlderNewer