BuddyPress::ap_qa_page_content()
Description #
Callback for QA page content.
Source #
File: addons/buddypress/buddypress.php
public function ap_qa_page_content() {
$template = bp_current_action();
echo '<div id="anspress" class="anspress ' . esc_attr( $template ) . '">';
$page_cb = apply_filters( 'ap_bp_page', array( $this, 'page_' . $template ), $template );
if ( method_exists( $page_cb[0], $page_cb[1] ) ) {
call_user_func( $page_cb );
} else {
esc_attr_e( 'No AnsPress template found for rendering this page.', 'anspress-question-answer' );
}
echo '</div>';
}
Expand full source code Collapse full source code View on GitHub: addons/buddypress/buddypress.php:164
Add your comment