Skip to content

Instantly share code, notes, and snippets.

@KnowTheCodePro
Created March 24, 2016 20:23
Show Gist options
  • Save KnowTheCodePro/5796c63afc4fc66c06c4 to your computer and use it in GitHub Desktop.
Save KnowTheCodePro/5796c63afc4fc66c06c4 to your computer and use it in GitHub Desktop.
Event Filter is in the registry
if ( !isset($wp_filter[$tag]) ) {
if ( isset($wp_filter['all']) )
array_pop($wp_current_filter);
return $value;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment