<?php
/**
 * This is an auto-generated script from src/action-types/frontend/textFromElement.js.
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

ob_start();
?>
InteractRunner.addActionConfig({textFromElement:{initAction:n=>{n.initActionFunction(()=>{var t=n.getTargets();t.length&&(t=t[0].innerText,n.provideData("id",t||""))})}}});
<?php
return ob_get_clean();
	