For anyone who needs a quick hack for the shortcode regarding this, in includes/views/asl.shortcode.php
, locate the following line:
foreach ($style['selected-showcustomtypes'] as $k => $v) {
and insert the following filter before this line:
$style['customtypes'] = apply_filters('asl_filter_post_types', $style['customtypes']);
Then, in whatever page you need the shortcode filter, just call:
function search_filter_cpts($list) {
return ["your-desired-post-type"];
}
add_filter('asl_filter_post_types', 'search_filter_cpts');
echo do_shortcode('[wpdreams_ajaxsearchlite]');
and replace your-desired-post-type
with whatever you want to pre-select here.