WordPress at Your Fingertips
filter is not described

get_ancestors filter-hook . WP 1.0

This filter is documented in wp-includes/taxonomy.php

Usage

add_filter( 'get_ancestors', 'filter_function_name_446', 10, 4 );
function filter_function_name_446( $ancestors, $object_id, $object_type, $resource_type ){
	// filter...

	return $ancestors;
}
$ancestors
-
$object_id
-
$object_type
-
$resource_type
-

Where the hook is called

get_ancestors()
get_ancestors
wp-includes/taxonomy.php 4789
return apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type );
wp-includes/taxonomy.php 4821
return apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type );

Where in WP core the hook is used WordPress

Usage not found.