the_posts_pagination_args

the_posts_pagination_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('the_posts_pagination_args') is found 1 times:

  • /wp-includes/link-template.php line 2978
    2974
    2975
    2976
    2977
    2978
    2979
    2980
    2981
    2982
    2983
    *     @type string $aria_label         ARIA label text for the nav element. Default 'Posts'.
     *     @type string $class              Custom class for the nav element. Default 'pagination'.
     * }
     */
    $args = apply_filters( 'the_posts_pagination_args', $args );
     
    // Make sure we get a string back. Plain is the next best thing.
    if ( isset( $args['type'] ) && 'array' === $args['type'] ) {
        $args['type'] = 'plain';
    }
the_posts_pagination_args - WordPress Hooks

the_posts_pagination_args

the_posts_pagination_args

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.1

apply_filters('the_posts_pagination_args') is found 1 times:

  • /wp-includes/link-template.php line 2887
    2883
    2884
    2885
    2886
    2887
    2888
    2889
    2890
    2891
    2892
    *     @type string $aria_label         ARIA label text for the nav element. Default 'Posts'.
     *     @type string $class              Custom class for the nav element. Default 'pagination'.
     * }
     */
    $args = apply_filters( 'the_posts_pagination_args', $args );
     
    // Make sure we get a string back. Plain is the next best thing.
    if ( isset( $args['type'] ) && 'array' === $args['type'] ) {
        $args['type'] = 'plain';
    }