wpseo_primary_term_taxonomies, $all_taxonomies, $post_type, $all_taxonomies
wpseo_primary_term_taxonomies, $all_taxonomies, $post_type, $all_taxonomies
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_primary_term_taxonomies, $all_taxonomies, $post_type, $all_taxonomies') is found 2 times:
- /admin/class-primary-term-admin.php line 205
* @param string $post_type The post type for which to filter the taxonomies. * @param array $all_taxonomies All taxonomies for this post types, even ones that don't have primary term * enabled. */ $taxonomies = (array) apply_filters( 'wpseo_primary_term_taxonomies', $all_taxonomies, $post_type, $all_taxonomies ); return $taxonomies; } /** * Creates a map of taxonomies for localization.
- /src/helpers/primary-term-helper.php line 32
* @param string $post_type The post type for which to filter the taxonomies. * @param array $all_taxonomies All taxonomies for this post types, even ones that don't have primary term * enabled. */ $taxonomies = (array) \apply_filters( 'wpseo_primary_term_taxonomies', $all_taxonomies, $post_type, $all_taxonomies ); return $taxonomies; } /** * Returns whether or not a taxonomy is hierarchical.