wpseo_author_archive_post_types, [ post ]
wpseo_author_archive_post_types, [ post ]
Appears in: wordpress-seo.28.1
Hook Type: filter
Displaying hooks found in version: wordpress-seo.28.1apply_filters('wpseo_author_archive_post_types, [ post ]') is found 1 times:
- /src/helpers/author-archive-helper.php line 49
* Filters the array of post types that are shown on an author's archive. * * @param array $args The post types that are shown on an author archive. */ return \apply_filters( 'wpseo_author_archive_post_types', [ 'post' ] ); } /** * Returns whether the author has at least one public post. * * @param int $author_id The author ID.