Description
Display pagination links for this shortcodeIf pagination was required then we'll have set 3 special fields in the shortcode $atts Pass these values to the pagination function.
Usage
oik_navi_lazy_paginate_links( $atts );Parameters
- $atts
- ( array ) required –
Returns
voidSource
File name: oik/shortcodes/oik-navi.phpLines:
1 to 10 of 10
function oik_navi_lazy_paginate_links( $atts ) { $bwscid = bw_array_get( $atts, "bwscid", null ); $bwscpage = bw_array_get( $atts, "paged", null ); $bw_query = bw_array_get( $atts, "bw_query", null ); if ( $bwscid && $bwscpage && $bw_query ) { bw_navi_paginate_links( $bwscid, $bwscpage, $bw_query->max_num_pages); } else { bw_trace2( "No pagination" ); } }View on GitHub View on Trac
Called by
1 to 2 of 2
Invoked by
Calls
1 to 3 of 3
