/**
 * Pagination for the user loop.
 *
 * @since  1.0.0
 * @access public
 * @param  array  $args
 * @return string|void
 */
function mb_loop_user_pagination($args = array())
{
    $total_users = message_board()->user_query->total_users;
    $max_pages = ceil($total_users / mb_get_users_per_page());
    $query = array('max_num_pages' => $max_pages);
    return mb_pagination($args, (object) $query);
}
/**
 * Outputs pagination links for single topic pages (the replies are paginated).
 *
 * @since  1.0.0
 * @access public
 * @param  array  $args
 * @return string
 */
function mb_loop_reply_pagination($args = array())
{
    return mb_pagination($args, message_board()->reply_query);
}
/**
 * Outputs pagination links for single topic pages (the replies are paginated).
 *
 * @since  1.0.0
 * @access public
 * @param  array  $args
 * @return string
 */
function mb_single_topic_pagination($args = array())
{
    return mb_pagination($args, message_board()->reply_query);
}
/**
 * Outputs pagination links for single topic pages (the replies are paginated).
 *
 * @since  1.0.0
 * @access public
 * @param  array  $args
 * @return string
 */
function mb_loop_forum_pagination($args = array())
{
    return mb_pagination($args, message_board()->forum_query);
}
/**
 * Outputs pagination links for search results.
 *
 * @since  1.0.0
 * @access public
 * @param  array  $args
 * @return string
 */
function mb_loop_search_pagination($args = array())
{
    return mb_pagination($args, message_board()->search_query);
}