AnsPress_BP_Hooks::ap_qa_page_content()
Description #
Callback for QA page content.
Source #
File: addons/free/buddypress.php
public static 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', [ __CLASS__, '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/free/buddypress.php:143
Add your comment