wpseo_author_archive_post_types

wpseo_author_archive_post_types

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

See hook in core

Displaying hooks found in version: wordpress-seo.23.8

apply_filters('wpseo_author_archive_post_types') is found 1 times:

  • /src/helpers/author-archive-helper.php line 52
    		 * 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.