Less "my" and more "ours"

This commit is contained in:
Claudio Sanches 2016-01-20 13:30:48 -02:00
parent 2a80be34a2
commit da9638c137
3 changed files with 8 additions and 8 deletions

View File

@ -58,7 +58,7 @@ class WC_Shortcode_My_Account {
continue; continue;
} }
do_action( 'woocommerce_my_account_' . $key . '_endpoint', $value ); do_action( 'woocommerce_account_' . $key . '_endpoint', $value );
} }
} }
} }

View File

@ -243,9 +243,9 @@ add_filter( 'jetpack_comment_form_enabled_for_product', '__return_false' );
/** /**
* My Account. * My Account.
*/ */
add_action( 'woocommerce_my_account_orders_endpoint', 'woocommerce_account_orders' ); add_action( 'woocommerce_account_orders_endpoint', 'woocommerce_account_orders' );
add_action( 'woocommerce_my_account_view-order_endpoint', 'woocommerce_account_view_order' ); add_action( 'woocommerce_account_view-order_endpoint', 'woocommerce_account_view_order' );
add_action( 'woocommerce_my_account_downloads_endpoint', 'woocommerce_account_downloads' ); add_action( 'woocommerce_account_downloads_endpoint', 'woocommerce_account_downloads' );
add_action( 'woocommerce_my_account_edit-account_endpoint', 'woocommerce_account_edit_account' ); add_action( 'woocommerce_account_edit-account_endpoint', 'woocommerce_account_edit_account' );
add_action( 'woocommerce_my_account_edit-address_endpoint', 'woocommerce_account_edit_address' ); add_action( 'woocommerce_account_edit-address_endpoint', 'woocommerce_account_edit_address' );
add_action( 'woocommerce_my_account_add-payment-method_endpoint', 'woocommerce_account_add_payment_method' ); add_action( 'woocommerce_account_add-payment-method_endpoint', 'woocommerce_account_add_payment_method' );

View File

@ -42,7 +42,7 @@ wc_print_notices(); ?>
* *
* @since 2.6.0 * @since 2.6.0
*/ */
do_action( 'woocommerce_my_account_dashboard' ); do_action( 'woocommerce_account_dashboard' );
?> ?>
<?php <?php