get_project($project_id); $wppm_current_user_capability = get_user_meta( $current_user->ID, 'wppm_capability', true ); if (!(($current_user->ID && $current_user->has_cap('manage_options')) || $wppmfunction->has_project_permission('change_project_raised_by',$project_id) || ($project_data['created_by']==$current_user->ID && $wppm_current_user_capability=='wppm_manager') || $wppm_current_user_capability=='wppm_admin')) {exit;} $project_creator = get_userdata($project_data['created_by']); $settings = get_option("wppm-ap-modal"); ob_start(); ?>
$body, 'footer' => $footer ); echo wp_json_encode($output);