wpseo_indexable_included_post_types
wpseo_indexable_included_post_types
Appears in: wordpress-seo.19.10, wordpress-seo.19.11, wordpress-seo.19.13, wordpress-seo.19.7.1, wordpress-seo.19.7.2, wordpress-seo.19.8, wordpress-seo.19.9, wordpress-seo.20.1, wordpress-seo.20.2.1, wordpress-seo.20.3
Hook Type: filter
Displaying hooks found in version: wordpress-seo.20.3apply_filters('wpseo_indexable_included_post_types') is found 1 times:
- /src/actions/indexables-page-action.php line 78
* be shown in the indexables overview cards. * * @param array $included_post_types The currently included post types. */ $included_post_types = \apply_filters( 'wpseo_indexable_included_post_types', [ 'post', 'page' ] ); $object_sub_types = \array_diff( $object_sub_types, $excluded_post_types ); $only_post_pages = \array_intersect( $object_sub_types, $included_post_types ); $wanted_sub_types = []; foreach ( $only_post_pages as $sub_type ) { if ( $this->post_type_helper->has_metabox( $sub_type ) ) {