feat: adds param `tainacan_enable_relationship_metaquery` in js.

This commit is contained in:
vnmedeiros 2021-10-29 11:09:25 -03:00
parent 0acbdcd780
commit 776fa3b32d
1 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,8 @@ class Admin {
'repository_name' => get_bloginfo('name'),
'api_max_items_per_page' => $TAINACAN_API_MAX_ITEMS_PER_PAGE,
'wp_elasticpress' => \Tainacan\Elastic_Press::get_instance()->is_active(),
'item_submission_captcha_site_key' => get_option("tnc_option_recaptch_site_key")
'item_submission_captcha_site_key' => get_option("tnc_option_recaptch_site_key"),
'tainacan_enable_relationship_metaquery' => ( defined('TAINACAN_ENABLE_RELATIONSHIP_METAQUERY') || true === TAINACAN_ENABLE_RELATIONSHIP_METAQUERY )
];
$maps = [