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.24.8.1

apply_filters('wpseo_author_archive_post_types') is found 1 times:

  • /src/helpers/author-archive-helper.php line 52
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
         * 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.