su_shortcode_display_posts_pagination

The shortcodes-ultimate su shortcode display posts pagination function.

Published Date - February 15, 2021

Description

su_shortcode_display_posts_pagination();

Usage

The following example is for adding a hook callback.

if ( !function_exists( 'su_shortcode_display_posts_pagination' ) ) {
    require_once ABSPATH . PLUGINDIR . 'shortcodes-ultimateshortcodes-ultimate/includes/shortcodes/display-posts.php';
}



// NOTICE! Understand what this does before running.
$result = su_shortcode_display_posts_pagination();
            

Defined

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

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

function su_shortcode_display_posts_pagination() {

	$atts = su_shortcode_display_posts_store( 'get', 'atts' );

	if ( 'prev-next' === $atts['pagination'] ) {
		return su_shortcode_display_posts_prevnext_pagination();
	}

}