| | |
| | | ] |
| | | ]); |
| | | } |
| | | $contentTax = Registrar::getFeatured('is_content', 'term'); |
| | | $verifyEntry = Registrar::getFeatured('verify_entry', 'term'); |
| | | $contentTax = Registrar::withFeature('is_content', 'term'); |
| | | $verifyEntry = Registrar::withFeature('verify_entry', 'term'); |
| | | if (!empty(array_intersect($contentTax, $verifyEntry))) { |
| | | $types = array_merge($types, [ |
| | | 'entry_requested' => [ |
| | |
| | | ] |
| | | ]); |
| | | } |
| | | $invitable = Registrar::getFeatured('invitable'); |
| | | $invitable = Registrar::withFeature('invitable'); |
| | | if (!empty($invitable)) { |
| | | $types = array_merge($types, [ |
| | | 'invitation_requested' => [ |
| | |
| | | ]); |
| | | } |
| | | |
| | | $approvals = Registrar::getFeatured('approve_new'); |
| | | $approvals = Registrar::withFeature('approve_new'); |
| | | if (!empty($approvals)) { |
| | | $tmp = ['user', 'term', 'post']; |
| | | $app = []; |
| | | foreach ($tmp as $t) { |
| | | $approvals = Registrar::getFeatured('approve_new', $t); |
| | | $approvals = Registrar::withFeature('approve_new', $t); |
| | | if (!empty($approvals)) { |
| | | $app = array_merge($app, [ |
| | | $t.'_new' => [ |