bb_forum_pad
The BuddyPress bb forum pad function.
Description
Parameters (2)
- 0. $pad
- The pad.
- 1. $offset — Optional. (int)
- The offset.
Usage
if ( !function_exists( 'bb_forum_pad' ) ) { require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php'; } // The pad. $pad = null; // The offset. $offset = -1; // NOTICE! Understand what this does before running. $result = bb_forum_pad($pad, $offset);
Defined (1)
The function is defined in the following location(s).
- /bp-forums/bbpress/bb-includes/functions.bb-template.php
- function bb_forum_pad( $pad, $offset = 0 ) {
- global $bb_forums_loop;
- if ( !is_object($bb_forums_loop) || !is_a($bb_forums_loop, 'BB_Loop') )
- return false;
- echo $bb_forums_loop->pad( $pad, $offset );
- }