woocommerce_account_

woocommerce_account_

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.4.0.1

do_action('woocommerce_account_') is found 2 times:

  • /includes/shortcodes/class-wc-shortcode-my-account.php line 91
    						if ( has_action( 'woocommerce_account_' . $key . '_endpoint' ) ) {
    							ob_clean(); // Clear previous buffer.
    							wc_set_notices( $notices );
    							wc_print_notices();
    							do_action( 'woocommerce_account_' . $key . '_endpoint', $value );
    							break;
    						}
    					}
    
    					wc_deprecated_function( 'Your theme version of my-account.php template', '2.6', 'the latest version, which supports multiple account pages and navigation, from WC 2.6.0' );
    				}
    
  • /includes/wc-template-functions.php line 3022
    					continue;
    				}
    
    				if ( has_action( 'woocommerce_account_' . $key . '_endpoint' ) ) {
    					do_action( 'woocommerce_account_' . $key . '_endpoint', $value );
    					return;
    				}
    			}
    		}
    
    		// No endpoint found? Default to dashboard.