ap_esc_subscriber_event( string $event )
Description #
Return escaped subscriber event name. It basically removes id suffixed in event name and only name.
Parameters #
- $eventstring (Required) Event name.
Source #
File: includes/subscribers.php
function ap_esc_subscriber_event( $event ) { return false !== strpos( $event, '_' ) ? substr( $event, 0, strpos( $event, '_' ) ) : $event; }
Expand full source code Collapse full source code View on GitHub: includes/subscribers.php:370
Add your comment