Autonami_Helpers::extract_contact_from_args( mixed $args )

extract_contact_from_args


Parameters Parameters

$args

(Required)


Top ↑

Return Return

(mixed)


Source Source

File: src/integrations/autonami/helpers/autonami-helpers.php

	public function extract_contact_from_args( $args ) {

		if ( empty( $args[0][1] ) ) {
			throw new \Exception( __( 'Contact not found', 'uncanny-automator' ) );
		}

		return $args[0][1];
	}