Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created December 1, 2014 05:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jchristopher/a9feeada97be38a7635e to your computer and use it in GitHub Desktop.
<?php
/*--------------------------------------------------------------------*/
/* Amend parent bean theme functions
/*--------------------------------------------------------------------*/
// Unhook bean functions
function unhook_bean_functions() {
remove_filter( 'pre_get_posts', 'BeanSearchFilter' );
}
add_action( 'init', 'unhook_bean_functions' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment