wpseo_schema_aggregator_post_types

wpseo_schema_aggregator_post_types

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.27.1.1

apply_filters('wpseo_schema_aggregator_post_types') is found 1 times:

  • /src/schema-aggregator/infrastructure/aggregator-config.php line 69
     
    		// Reindex the array to avoid gaps.
    		$default_post_types = \array_values( $default_post_types );
    
    		$post_types = \apply_filters( 'wpseo_schema_aggregator_post_types', $default_post_types );
    
    		if ( ! \is_array( $post_types ) ) {
    			return $default_post_types;
    		}
    
    		return $post_types;