Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Get raw post output on group settings admin screen

@dcavins

Keymaster

I think I’ve solved this by removing the do_shortcode filter on that admin page. (It’s the front-end settings screen created by the group extension.)


add_action('bp_init','dont_process_shortcodes_filter');
function dont_process_shortcodes_filter() {
      if ( bp_is_current_component( 'groups' ) && bp_is_current_action( 'admin' ) && bp_is_action_variable( $extension_slug, 0 ) ) {   	) {
        	remove_filter( 'the_content', 'do_shortcode', 11);
      }
}

I was using the wrong priority on remove_filter, which always gets me. 🙂

Thanks for your help!

Skip to toolbar