Conditions | 3 |
Paths | 3 |
Total Lines | 16 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function initialize() |
||
25 | { |
||
26 | $permissions = []; |
||
27 | $site_permissions = apply_filters( |
||
28 | 'FHEE__EventEspresso_core_domain_entities_routing_data_nodes_core_SitePermissions__initialize__site_permissions', |
||
29 | [ |
||
30 | 'use_bulk_edit' => true, |
||
31 | ] |
||
32 | ); |
||
33 | foreach ($site_permissions as $permission => $you_can_do_it) { |
||
34 | if ($you_can_do_it) { |
||
35 | $permissions[] = $permission; |
||
36 | } |
||
37 | } |
||
38 | $this->setDataArray($permissions); |
||
39 | } |
||
40 | } |
||
41 |