Skip to content

Instantly share code, notes, and snippets.

@ciaranmg
Created June 2, 2014 21:03
Show Gist options
  • Save ciaranmg/50be8c519ebb5a54b8f9 to your computer and use it in GitHub Desktop.
Save ciaranmg/50be8c519ebb5a54b8f9 to your computer and use it in GitHub Desktop.
Bypassing the default content filter on the Authentication Plugin
<?php
// Grab the plugin global
global $agora_mw_auth_plugin;
// Remove the filter
remove_filter( 'the_content', array($agora_mw_auth_plugin, 'content_filter') );
// Display the content, now without the filter running.
the_content();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment