Force-index the WP Recipe Maker post type (wprm_recipe)

mgibbs189

{{gist file=”custom-hooks.php” lang=”php”}}
<?php

add_filter( ‘facetwp_indexer_query_args’, function( $args ) {
$args[‘post_type’] = (array) get_post_types();
$args[‘post_type’][] = ‘wprm_recipe’;
return $args;
});

{{/gist}}