Astra_Header_Search_Component_Configs::get_live_search_posttypes()
Post types for live search.
Description
Source
File: inc/customizer/configurations/builder/header/class-astra-header-search-component-configs.php
public function get_live_search_posttypes() { $supported_post_types = array(); if ( is_customize_preview() ) { $supported_post_types = astra_get_queried_post_types(); } return apply_filters( 'astra_live_search_posttypes', $supported_post_types ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
4.4.0 | Introduced. |