Fluent_Crm_Helpers::get_attached_list_ids( $attachedListIds )


Parameters Parameters

$attachedListIds

(Required)


Top ↑

Return Return

(array)


Source Source

File: src/integrations/fluent-crm/helpers/fluent-crm-helpers.php

			if ( false !== $user ) {
				// A user was found with the subscriber email
				$user_id = $user->ID;
			}
		}

		if ( ! current_user_can( 'manage_options' ) ) {
			if ( $user_id !== get_current_user_id() ) {
				// The user is not an admin and subscriber added to a list is not the current user
				return 0;
			}
		}

		return $user_id;

	}

	/**
	 * @param $attachedListIds
	 *