wpseo_indexable_forced_included_post_types

wpseo_indexable_forced_included_post_types

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('wpseo_indexable_forced_included_post_types') is found 1 times:

  • /src/helpers/post-type-helper.php line 181
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    * type to be saved to the indexable table.
     *
     * @param array $included_post_types The currently included post types that indexables will be created for.
     */
    $filtered_included_post_types = \apply_filters( 'wpseo_indexable_forced_included_post_types', $included_post_types );
     
    if ( ! \is_array( $filtered_included_post_types ) ) {
        // If the filter got misused, let's return the unfiltered array.
        return \array_values( $included_post_types );
    }