@@ 526-536 (lines=11) @@ | ||
523 | * @param EE_Message $message |
|
524 | * @return string. |
|
525 | */ |
|
526 | public static function generate_browser_trigger( EE_Message $message ) { |
|
527 | $query_args = array( |
|
528 | 'ee' => 'msg_browser_trigger', |
|
529 | 'token' => $message->MSG_token() |
|
530 | ); |
|
531 | return apply_filters( |
|
532 | 'FHEE__EEH_MSG_Template__generate_browser_trigger', |
|
533 | add_query_arg( $query_args, site_url() ), |
|
534 | $message |
|
535 | ); |
|
536 | } |
|
537 | ||
538 | ||
539 | ||
@@ 548-560 (lines=13) @@ | ||
545 | * @param EE_Message $message |
|
546 | * @return string |
|
547 | */ |
|
548 | public static function generate_error_display_trigger( EE_Message $message ) { |
|
549 | return apply_filters( |
|
550 | 'FHEE__EEH_MSG_Template__generate_error_display_trigger', |
|
551 | add_query_arg( |
|
552 | array( |
|
553 | 'ee' => 'msg_browser_error_trigger', |
|
554 | 'token' => $message->MSG_token() |
|
555 | ), |
|
556 | site_url() |
|
557 | ), |
|
558 | $message |
|
559 | ); |
|
560 | } |
|
561 | ||
562 | ||
563 |