ap_esc_subscriber_event_id( string $event )

Description #

Parse subscriber event name to get event id.

Parameters #

  • $event
    string (Required) Event name. i.e. answer_2334.

Changelog #

VersionDescription
4.1.5Introduced.

Source #

File: includes/subscribers.php

function ap_esc_subscriber_event_id( $event ) {
	return (int) substr( $event, strpos( $event, '_' ) + 1 );
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment