Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created December 1, 2014 05:02
Show Gist options
  • Save jchristopher/a9feeada97be38a7635e to your computer and use it in GitHub Desktop.
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