WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Echo/Return Feature Request (1 post)

  1. jtredway
    Member
    Posted 2 years ago #

    Would you guys consider adding an echo flag to wp_pagenavi() so that we could opt to return the output in a shortcode handler.

    Something like:

    $args = wp_parse_args( $args, array( ... 'echo' => true));

    ... and:

    if ($echo) {
    	echo apply_filters( 'wp_pagenavi', $out );
    }
    else
    {
    	return apply_filters( 'wp_pagenavi', $out );
    }

    http://wordpress.org/extend/plugins/wp-pagenavi/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by jtredway
  • This topic is not a support question
  • WordPress version: 3.3