Advanced_Search_Core
Class Advanced_Search
Source
File: includes/modules/header_footer_grid/components/advanced_search_core.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Social_Icons constructor.
- add_instance_id — Add input inside the HTML of search form to differentiate the instances.
- add_search_options — Add the restrictions for search form.
- add_settings — Called to register component controls.
- get_available_post_types — Function that returns the available post types for quick search.
- get_class_const — Allow for constant changes in pro.
- get_excluded_posts — Get excluded posts for a given post type.
- get_excluded_tax — Get excluded posts from a taxonomy.
- get_label — Get component label.
- get_post_type_label — Get the post type label.
- get_search_post_types — Get advanced search post types.
- init — Initialize.
- is_active — Method to filter component loading if needed.
- is_icu_regexp — Verifies if the DB uses ICU REGEXP implementation.
- is_post_type_included — Active callback for showing exclude controls dependent of post types control.
- load_template — Load required template.
- posts_distinct_request — Requests distinct results
- posts_join — Filters the JOIN clause of the query.
- posts_search — Filters the search SQL that is used in the WHERE clause of WP_Query.
- render_component — The render method for the component.
- sanitize_post_array — Sanitize post array.
- sanitize_posttype_array — Sanitize post types array.
- sanitize_taxonomy_terms — Sanitize post array.