I found the answer here. The query is simply :
$meta_query[] = [
'key' => 'adresse',
'value' => $_GET['field'],
'compare' => 'LIKE'
];
As it will search into the serialized (2D) array of the key adress
in the table post_meta from the DB any occurence of my $_GET['field']
value. That means it will also search into every key name and its value, but that’s enough for me.
Related Posts:
- Filter by custom field in custom post type on admin page
- Media library – Limit images to custom post type
- Query by 2 values of a repeater ACF field
- Adding posts of custom type into the main feed
- Archive filter disappears on no results?
- Modifying date filter on admin page for custom post type to link to custom field
- Custom query to filter posts that have current post as a taxonomy [closed]
- How to add a post slug to a url?
- creat filter with wp_query
- How do I show a link or ‘Read More’ button on a custom field excerpt when it is less than the word limit
- Filter posts by their related field’s custom field
- How to hide sub fields in a field group and also the entire field group if the answer selected is “no”
- Linking posts together with Advanced Custom Fields “both ways”
- How do I display specific custom posts, and how do I edit a post’s singular page?
- Grouping and paging CPT events by month with custom field date
- Filter Content on all Post Types
- $post breaking container loop
- using ACF datepicker to filter posts on a page
- Filter page ID outside the loop and order
- How can I filter records in a custom post type list in the admin based on the ACF field in the post that contains the current user?
- How do I add a filter to my custom post type archive page?
- Meta query for custom post type ignored in main query
- Add custom ID to CPT posts only create not update
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- Querying Two Custom Post Types with OR Not Working
- How do I move/order posts with a tag to the end?
- Bulk Update Custom Fields for Custom Post Types
- ACF Field on CPT Slug
- WordPress sort search results by custom order
- How to filter wp_list_categories output with some custom post type meta query?
- How to Filter custom post type by taxonomy?
- WP_Query order by custom field, then randomly order some of results
- Cluster CPT posts to users based on ACF value from their profile on dashboard
- ACF Values Don’t Show After Import Unless I Edit/Update Post
- Filter term taxonomy metabox in custom post type
- Troubles with acf/save_post and WP_Query
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- Query custom post type with ACF Date
- custom post type WYSIWG removes paragraphs when displayed
- Stuck in Order by more then one
- Custom Post Type + ACF and performance [closed]
- Meta Query Not Returning Output Despite Having Matching Values
- How can I made custom taxonomies relationship?
- ACF From & To Date Validations
- WooCommerce sort products by the actual product width(not the shipping width)
- Specific query for custom post type
- Using advanced custom fields from one custom post type in another custom post type / using nested shortcodes
- How to change the post type a theme shows by default?
- How to render a custom post type template with custom fields using shortcode
- Exclude objects from WordPress API based from ACF field using rest_prepare_{$post_type}
- filter custom post in rest api with custom function
- CPT archive admin menu label
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Order Custom Post Type by Custom Field Value
- Sort and filter custom post type posts by custom taxonomy
- Versioned Custom Post Type (Not the same as revisions)
- Retrieve custom field from Contact Form 7 [closed]
- Query Custom Post Type Taxonomy term with multiple parameters
- Display post content with respect to its title?
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- How to query WordPress posts bycustom field with a max characters’ length
- Loop filtering Custom Post Types and/or Categories
- search suggest – filter post type
- the_content filter on some post types only not working
- First custom field value (out of several) displayed twice after query
- The loop seems stuck to a single (now deleted) post
- Prioritize posts in query by meta keys?
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- What’s the equivalent of Hide From Menus on MODX on WordPress?
- Filtering posts list table
- How to update post meta on uploaded image from a custom form?
- Custom filter function not working with Custom post type
- How to group posts and get a mixed posts and groups view?
- Filter Posts from the Main Query
- WP_Query orderby and tax_query
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Displaying Posts from Custom Post Types
- Categories filtering in new post
- Different Ways to Query Custom Post Types?
- Custom Post Types vs. Advanced Custom Fields (with Repeater Field add-on)
- Multiple Frontend Filters Using Advanced Custom Fields
- How to use manage_$post_type_posts_columns with underscore in post type?
- Integrate Custom Post Type Events into Calendar
- How does the filter post_updated_messages work?
- Specific routing for CPT
- Search filter triggered & sort by custom post type
- How to order posts of a custom post type by date DESC in dashboard Admin?
- Order post by date with ACF
- Displaying custom field according to date
- How to organise this data within WordPress
- How to set the seo title tag on a page by page basis?
- WebP Fallback for Inline Background Image in Style Attribute
- Adavnced custom fields relationship query plus query inside
- Query based on custom fields start and end date
- Custom post type posts don’t show in archive widget
- Redirect to another page using contact form 7? [closed]
- How To Import CPT With Only Few TEXT ACF Fields From Front End?
- Showing specific post in order of array wp_query