Deprecated my-account actions and added new dashboard action

This commit is contained in:
Claudio Sanches 2016-01-15 18:42:49 -02:00
parent 8a13e057f6
commit 2f7e0229ba
1 changed files with 23 additions and 2 deletions

View File

@ -36,7 +36,28 @@ wc_print_notices(); ?>
?>
</p>
<?php do_action( 'woocommerce_before_my_account' ); ?>
<?php
/**
* My Account dashboard.
*
* @since 2.6.0
*/
do_action( 'woocommerce_my_account_dashboard' );
?>
<?php do_action( 'woocommerce_after_my_account' ); ?>
<?php
/**
* Deprecated woocommerce_before_my_account action.
*
* @depracated 2.6.0
*/
do_action( 'woocommerce_before_my_account' );
/**
* Deprecated woocommerce_after_my_account action.
*
* @depracated 2.6.0
*/
do_action( 'woocommerce_after_my_account' );
?>
</div>