| | |
| | | exit; |
| | | } |
| | | |
| | | use JVBase\utility\Features; |
| | | |
| | | function jvbGlobalDirectories():array |
| | | { |
| | | $directories = get_option(BASE.'_global_directories'); |
| | |
| | | $manageableContent = false; |
| | | } |
| | | if ($manageableContent === false) { |
| | | |
| | | $manageableContent = []; |
| | | $bios = []; |
| | | foreach (JVB_USER as $role => $config) { |
| | | $manageableContent = array_merge($manageableContent, jvbRolePages($role)); |
| | | } |
| | | |
| | | |
| | | if (Features::forSite()->has('referrals')) { |
| | | $manageableContent[] = 'referrals'; |
| | | } |
| | | foreach (JVB_TAXONOMY as $tax => $config) { |
| | | if (jvbCheck('is_content', $config)) { |
| | | $manageableContent[] = strtolower($config['plural']); |