admin_pages/transactions/Transactions_Admin_Page.core.php 1 location
|
@@ 454-462 (lines=9) @@
|
451 |
|
EE_Registry::instance()->load_helper('MSG_Template'); |
452 |
|
$items = array(); |
453 |
|
|
454 |
|
if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
455 |
|
$related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
456 |
|
if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
457 |
|
$items['view_related_messages'] = array( |
458 |
|
'class' => $related_for_icon['css_class'], |
459 |
|
'desc' => $related_for_icon['label'], |
460 |
|
); |
461 |
|
} |
462 |
|
} |
463 |
|
|
464 |
|
$items = apply_filters( |
465 |
|
'FHEE__Transactions_Admin_Page___transaction_legend_items__items', |
caffeinated/admin/extend/events/Extend_Events_Admin_Page.core.php 1 location
|
@@ 472-480 (lines=9) @@
|
469 |
|
'desc' => esc_html__('Event Reports', 'event_espresso'), |
470 |
|
); |
471 |
|
} |
472 |
|
if (EE_Registry::instance()->CAP->current_user_can('ee_read_global_messages', 'view_filtered_messages')) { |
473 |
|
$related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
474 |
|
if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
475 |
|
$items['view_related_messages'] = array( |
476 |
|
'class' => $related_for_icon['css_class'], |
477 |
|
'desc' => $related_for_icon['label'], |
478 |
|
); |
479 |
|
} |
480 |
|
} |
481 |
|
return $items; |
482 |
|
} |
483 |
|
|
admin_pages/registrations/Registrations_Admin_Page.core.php 1 location
|
@@ 939-947 (lines=9) @@
|
936 |
|
} else { |
937 |
|
$fc_items['blank'] = array('class' => 'blank', 'desc' => ''); |
938 |
|
} |
939 |
|
if (EE_Registry::instance()->CAP->current_user_can( |
940 |
|
'ee_read_global_messages', |
941 |
|
'view_filtered_messages' |
942 |
|
)) { |
943 |
|
$related_for_icon = EEH_MSG_Template::get_message_action_icon('see_notifications_for'); |
944 |
|
if (isset($related_for_icon['css_class']) && isset($related_for_icon['label'])) { |
945 |
|
$fc_items['view_related_messages'] = array( |
946 |
|
'class' => $related_for_icon['css_class'], |
947 |
|
'desc' => $related_for_icon['label'], |
948 |
|
); |
949 |
|
} |
950 |
|
} |