popmake_emodal_get_the_popup_data_attr( $data_attr,  $popup_id )


Description Description


Source Source

File: includes/importer/easy-modal-v2.php

function popmake_emodal_get_the_popup_data_attr( $data_attr, $popup_id ) {
	$easy_modal_id = get_post_meta( $popup_id, 'popup_old_easy_modal_id', true );
	if ( ! $easy_modal_id ) {
		return $data_attr;
	}

	return array_merge( $data_attr, array(
		'old_easy_modal_id' => $easy_modal_id
	) );
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.