Filters the arguments for displaying archive links.
\array<string,wp-includes/general-template.php:2030wp_get_archives() * @since 7.0.0 * * @see wp_get_archives() * * @param array<string, string|int|bool> $args Arguments. */ $args = apply_filters( 'wp_get_archives_args', $args ); $parsed_args = wp_parse_args( $args, $defaults ); $post_type_object = get_post_type_object( $parsed_args['post_type'] ); if ( ! is_post_type_viewable( $post_type_object ) ) { return;Introduced in 7.0.0. Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.