global $event_manager_alerts; add_action( 'your_custom_hook', array( $event_manager_alerts, 'single_alert_link' ) );