Try setting terms as array:
'terms' => array($getSearch)
Related Posts:
- How do I improve this admin query snippet to avoid generating duplicate results on non-meta searches?
- On the WordPress Admin section how do I link to submenu pages created for a plugin?
- How to make dynamically-generated content searchable in WordPress?
- Copy Tags from one post type to another post type
- Displaying search results in the widget itself?
- Is there a way to list tags order by post_meta field
- Is there a Filter that I can use to filter the tags before they are inserted in to the database?
- modify wordpress default search
- Is there a plugin that will allow a tag cloud to be created from any mysql field?
- what are the checksums surrounding keywords in the SQL generated by WP_Query and do I need to use them too?
- Search and Filter
- Using ob_get_content to get_search_form puts into infinite loop
- How can I replace the search results displayed by WordPress?
- get_the_tags with separator control?
- add_action pre_term_description vs. pre_category_description
- Add location tag to wordpress posts
- Showing results from json-string in WordPress search results page
- Ajax action has 200 status but response of No response data available for this request
- Determine if term is Category or Tag
- ajax stopped working when not logged in wordpress
- Get search result count in plugin
- Generate Static Page to Show Search Results/Detail for API
- Remove tag from all posts when publishing new post
- Dynamically getting tags in post edit screen
- Modify search form with plugin
- Add a new tag based on the category name in the publish event
- WP Query Relations / Compare
- WordPress Search Form with Keyword Suggestion
- Simple Search Plugin Does Not Perform Search
- How to search on the field that stores escaped strings?
- edit-tags.php in plugin admin menu hides when is the active page
- Access WordPress Tag Function From Modal
- Change the search results header from plugin
- How to create a custom search form and handler?
- Get custom wp_query search results to appear on search.php
- get_the_tags($ID) is empty during publish_post callback
- Why is WordPress wrapping search for users that looks like integers with asterisks and how do I fix it?
- Hook a search form anywhere on the site, using a custom plugin
- How to include PHP files in plugins the correct way
- Prevent network activation of plugin
- Get list of scripts / styles and show file which enqueued them
- WordPress updates defined vs add_filter?
- Empty POST data on server on AJAX request using Angular $http
- Custom attachments uploader code. Almost there!
- $wpdb->insert is changing a value
- What are the default WordPress password requirements?
- Can I get all options using the option group id? [closed]
- Actions or filters fired when data is saved in a custom table
- Implementing namespaces in plugin template
- How to get posts by content?
- Conditional add_filter?
- The plugin generated 80 characters of unexpected output!
- How to update/auto-update my private plugin? [duplicate]
- How to use WP default post list tables in a plugin?
- Search by word, category, tag, author
- Commit changes to WordPress Plugin SVN with TortoiseSVN
- add_shortcode is not working [duplicate]
- Can a plugin be used to contain all custom functions to extend other plugins
- ServerSideRender and Media Object: attributes passing image data object to php renderer even though it’s not set
- Programmatically modify an admin page UI of a WordPress site from my WordPress plugin
- Error on inserting a form value to database
- Append wp_editor to Dynamically created textarea
- WordPress Plugin Activate / Deactive Failing
- How can I add a simple custom field to my plugin?
- Custom Plugin – CSS works, JS doesn’t
- Inserted double quote when prepending to the_content
- unable to wp_enqueue_script(‘suggest’);
- update_post_meta doesnt update template
- Setting global block attribute value
- Plugin custom post template; without overriding all posts
- Run uninstall.php if a checkbox is checked from settings page
- Gravity Forms Anchor only on Front Page?
- How to set a header in wp_safe_remote_get()?
- Multiple page plugin settings
- sanitizing/escaping plugin options
- how to get the top 10 popular blogs
- can’t access some WordPress function from my plugin
- Best approach to make all tags searchable by the wordpress search function
- script seem not load with use wp_enqueue_script
- Do I lose translations when I change my Text domain for my plugin on wp.org?
- Transform internationalized plugin into internationalized mu-plugin?
- Override woocommerce loop-start.php from theme using plugin?
- Pre-populated WooCommerce checkout fields: dropdown fields issue
- jQuery dependent script ignores $in_footer bool and doesn’t work in header
- Relational / Associate tables using native WordPress functionality
- Pull commentdata for pre_comment_on_post from comment_post_ID
- Get the post ID only off single page
- Bootstrap collapse in custom WordPress widget
- Page reload occurs before request finishes
- PHP Fatal error when using plugin_basename
- How to Rewrite WordPress URL for a Plugin
- What does $_REQUEST[‘redirect_to’] do?
- how can a plugin return an error message on activation?
- Declaration of mandoe_menu_walker::start_el(&$output, $item, $depth, $args) must be compatible with Walker::start_el(…)
- Reading the inside of
- WordPress, GIT, Renamed Plugin Dir + files – Working Code now Broken [closed]
- How to get the value entered in the input field in wordpres
- Sanitize and Save metabox values
- How can I add a custom button to the post editor?
- How to use register_setting()