Skip to content

Instantly share code, notes, and snippets.

@georgestephanis
Created October 10, 2013 21:51
Embed
What would you like to do?
<?php
add_action( 'omnisearch_add_providers', 'my_cpt_omnisearch_provider' );
function my_cpt_omnisearch_provider() {
new Jetpack_Omnisearch_Posts( 'cpt' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment