Authenticate by role on frontend

This commit is contained in:
Almira Krdzic
2018-10-19 17:57:27 +02:00
parent 038b622eca
commit a5a795af93
3 changed files with 96 additions and 115 deletions

View File

@@ -15,8 +15,7 @@ class Wiaas_User_Organization extends WP_User_Taxonomy {
'plural' => __('Organizations', 'wiaas'),
'exclusive' => true,
'public' => true,
'show_in_rest' => true,
'rest_base' => 'organization'
'show_in_rest' => false,
);
$labels = array();
$caps = array();