diff --git a/includes/api/ram-rest-posts-controller.php b/includes/api/ram-rest-posts-controller.php index 2bc6a1005cce1c6d3c6a680e5f6fda7051a0cea9..467f3944b183646d8e7c764cef542a094c7438c6 100644 --- a/includes/api/ram-rest-posts-controller.php +++ b/includes/api/ram-rest-posts-controller.php @@ -219,6 +219,9 @@ class RAM_REST_Posts_Controller extends WP_REST_Controller{ if(count($posts)>0) { $post=$posts[0]; + $enterpriseMinapp=get_option('wf_enterprise_minapp'); + $enterpriseMinapp=empty($enterpriseMinapp)?'0':$enterpriseMinapp; + $post["enterpriseMinapp"]=$enterpriseMinapp; $response = rest_ensure_response($post); return $response;