WordPress at Your Fingertips
filter is not described

woocommerce_navigation_is_connected_page filter-hook . WC 1.0

Whether or not the current page is an existing page connected to this controller.

Used to determine if the WooCommerce Admin header should be rendered.


add_filter( 'woocommerce_navigation_is_connected_page', 'filter_function_name_1941', 10, 2 );
function filter_function_name_1941( $is_connected_page, $current_page ){
	// filter...

	return $is_connected_page;
True if the current page is connected.
The connected page data or false if not identified.

Where the hook is called

woocommerce/packages/woocommerce-admin/src/PageController.php 371
return apply_filters( 'woocommerce_navigation_is_connected_page', $is_connected_page, $current_page );

Where in WP core the hook is used WooCommerce

woocommerce/packages/woocommerce-admin/includes/connect-existing-pages.php 123
add_filter( 'woocommerce_navigation_is_connected_page', 'wc_admin_connect_core_pages', 10, 2 );