aioseo_limit_modified_date_post_types

aioseo_limit_modified_date_post_types

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.4.2

apply_filters('aioseo_limit_modified_date_post_types') is found 1 times:

  • /app/Common/Standalone/LimitModifiedDate.php line 223
    	 */
    	private function isAllowedPostType( $postType ) {
    		$dynamicOptions = aioseo()->dynamicOptions->noConflict();
    		$postTypes      = aioseo()->helpers->getPublicPostTypes( true );
    		$postTypes      = apply_filters( 'aioseo_limit_modified_date_post_types', $postTypes );
    
    		if ( ! in_array( $postType, $postTypes, true ) ) {
    			return false;
    		}
    
    		if ( ! $dynamicOptions->searchAppearance->postTypes->has( $postType ) || ! $dynamicOptions->searchAppearance->postTypes->$postType->advanced->showMetaBox ) {