previous_posts_link_attributes

previous_posts_link_attributes

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('previous_posts_link_attributes') is found 1 times:

  • /wp-includes/link-template.php line 2466
    		 * @since 2.7.0
    		 *
    		 * @param string $attributes Attributes for the anchor tag.
    		 */
    		$attr = apply_filters( 'previous_posts_link_attributes', '' );
    		return '<a href="' . previous_posts( false ) . "\" $attr>" . preg_replace( '/&([^#])(?![a-z]{1,8};)/i', '&#038;$1', $label ) . '</a>';
    	}
    }
    
    /**
     * Displays the previous posts page link.