the_posts_pagination_args

the_posts_pagination_args

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('the_posts_pagination_args') is found 1 times:

  • /wp-includes/link-template.php line 2978
    		 *     @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
    		 *     @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';
    		}