Hi,
I’m trying to do a query searching values inside a repeater field. In single site it works, but in multisite no results we’re founded.
In single site before the query I’m doing this custom filter:
function my_posts_where( $where ) {
$where = str_replace(“meta_key = ‘proyectos%”, “meta_key LIKE ‘proyectos%”, $where);
return $where;
}
add_filter(‘posts_where’, ‘my_posts_where’);
I supose that I’ve to change this code and for that reason it’s not working. That’s right? How can I fixed? My site table prefix is wp_6
Thanks