Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WPJM: Show hidden WooCommerce products when selecting a job package
add_filter( 'wcpl_get_job_packages_args', 'bk_show_hidden_job_packages');
function bk_show_hidden_job_packages( $args ) {
unset( $args['tax_query'][1] );
return $args;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.