su/shortcode/display_posts/prevnext_pagination_link_template

The shortcodes-ultimate su/shortcode/display posts/prevnext pagination link template hook.

Published Date - February 15, 2021

Description

$template  = apply_filters(
		'su/shortcode/display_posts/prevnext_pagination_link_template',
		'%3$s',
		$atts,
		$direction
	);

Parameters

  1. $%3$s

  2. $atts

  3. $direction


Usage

The following example is for adding a hook callback.

// define the su/shortcode/display_posts/prevnext_pagination_link_template callback 
function custom_su_shortcode_display_posts_prevnext_pagination_link_template( $%3$s, $atts, $direction ){ 
   //custom code here
    return $%3$s
} 

//add the action 
add_filter('su/shortcode/display_posts/prevnext_pagination_link_template', 'custom_su/shortcode/display_posts/prevnext_pagination_link_template', 10, 3)

Defined

The filter is defined in the following location(s).

shortcodes-ultimate/includes/shortcodes/display-posts.php

$template  = apply_filters(
		'su/shortcode/display_posts/prevnext_pagination_link_template',
		'<a href="%1$s" class="%2$s">%3$s</a>',
		$atts,
		$direction
	);