do_action( "woocommerce_account_{$key}_endpoint" )
Deprecated my-account.php template handling. This code should be removed in a future release.
Description Description
If woocommerce_account_content did not run, this is an old template so we need to render the endpoint content again.
Source Source
File: includes/shortcodes/class-wc-shortcode-my-account.php