Modify post "next link".
beans_next_post_link( $output, $format, $link, $post )
Return: (string) The modified "next link".
Source
function beans_next_post_link( $output, $format, $link, $post ) {
// Using $link won't apply wp filters, so rather strip tags the $output.
$text = strip_tags( $output );
$output = beans_open_markup( 'beans_next_link[_post_navigation]', 'a', array(
'href' => get_permalink( $post ), // Automatically escaped.
'rel' => 'next',
'title' => $post->post_title, // Automatically escaped.
) );
$output .= beans_output( 'beans_next_text[_post_navigation]', $text );
$output .= beans_open_markup( 'beans_next_icon[_post_navigation]', 'i', array(
'class' => 'uk-icon-angle-double-right uk-margin-small-left',
) );
$output .= beans_close_markup( 'beans_previous_icon[_post_navigation]', 'i' );
$output .= beans_close_markup( 'beans_next_link[_post_navigation]', 'a' );
return $output;
}