Skip to content

Instantly share code, notes, and snippets.

@amdrew amdrew/gist:6645804
Last active Dec 23, 2015

What would you like to do?
Exclude downloads from search in Easy Digital Downloads
* Exclude downloads from search
function my_child_theme_download_post_type_args( $download_args ) {
$download_args['exclude_from_search'] = true;
return $download_args;
add_action( 'edd_download_post_type_args', 'my_child_theme_download_post_type_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.