feat: adds param `tainacan_enable_relationship_metaquery` in js.
This commit is contained in:
parent
0acbdcd780
commit
776fa3b32d
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue