aioseo_limit_modified_date_post_types, $postTypes
aioseo_limit_modified_date_post_types, $postTypes
Appears in: all-in-one-seo-pack.5.0.0.1
Hook Type: filter
Displaying hooks found in version: all-in-one-seo-pack.5.0.0.1apply_filters('aioseo_limit_modified_date_post_types, $postTypes') is found 1 times:
- /app/Common/Standalone/LimitModifiedDate.php line 253
*/ 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 ) {