query->get_current_endpoint(); if ( $endpoint_title = WC()->query->get_endpoint_title( $endpoint ) ) { $title = $endpoint_title; } } return $title; } function ascend_add_woo_endpoint_title() { echo '

'; echo ascend_page_endpoint_title(get_the_title()); echo '

'; } add_action('woocommerce_before_account_orders', 'ascend_add_woo_endpoint_title'); add_action('woocommerce_before_account_payment_methods', 'ascend_add_woo_endpoint_title'); add_action('woocommerce_before_edit_account_form', 'ascend_add_woo_endpoint_title'); add_action('woocommerce_before_edit_account_address_form', 'ascend_add_woo_endpoint_title'); add_action('woocommerce_before_account_payment_methods', 'ascend_add_woo_endpoint_title'); add_action('woocommerce_before_account_downloads', 'ascend_add_woo_endpoint_title'); add_action('kadence_woo_thank_you_start', 'ascend_add_woo_endpoint_title'); function ascend_woo_account_before_div() { echo '
'; } add_action('woocommerce_before_account_navigation', 'ascend_woo_account_before_div', 5); function ascend_woo_account_after_div() { echo '
'; } add_action('woocommerce_after_account_navigation', 'ascend_woo_account_after_div', 5); function ascend_woo_account_avatar(){ $current_user = wp_get_current_user(); if ( 0 == $current_user->ID ) { } else { ?>
ID, 120 ); ?>
display_name); ?>