This function give the answer to the question (returns true or false): is MDTF searching going now?
1 2 3 | if(class_exists('MetaDataFilter') AND MetaDataFilter::is_page_mdf_data()){ //do smth here } |
Examples of using:
- https://wp-filter.com/howto/get-search-arguments-action-page-hack-portfolio-shortcode/
- https://wp-filter.com/howto/how-to-make-searchable-enfold-magazine-entries/
- https://wp-filter.com/document/developers/