WordPress at a glance
filter is not described

woocommerce_account_endpoint_page_not_found filter-hook . WC 1.0

Trigger 404 if trying to access an endpoint on wrong page.

Usage

add_filter( 'woocommerce_account_endpoint_page_not_found', 'filter_function_name_4358' );
function filter_function_name_4358( $true ){
	// filter...

	return $true;
}
$true
-

Where the hook is called

wc_template_redirect()
woocommerce_account_endpoint_page_not_found
woocommerce/includes/wc-template-functions.php 50
if ( is_wc_endpoint_url() && ! is_account_page() && ! is_checkout() && apply_filters( 'woocommerce_account_endpoint_page_not_found', true ) ) {

Where in WP core the hook is used WooCommerce

Usage not found.