1

WordPress will serialize arrays when saving to post meta. The data stored under the key _employer_socials in your example looks like this: Array ( [0] => Array ( [network] => facebook [url] => # ) [1] => Array ( [network] => twitter [url] => # ...


1

Is there a smart way to meta_query so it matches just "IS, but not "TS-IS"? The WordPress meta query class (WP_Meta_Query), which among others, is used with the posts (WP_Query) and users (WP_User_Query) query classes, supports REGEXP (since WordPress 3.7) as the compare value, so you could use that with a RegEx (regular expresion) pattern ...


Only top voted, non community-wiki answers of a minimum length are eligible