web/wp-content/plugins/caldera-forms/classes/render/util.php
/**
	 * Add data to be printed in footer
	 *
	 * Container/factory for Caldera_Forms_Render_Footer objects
	 *
	 * @uses 1.5.0
	 *
	 * @param string $data Data to add
	 * @param array $form Form config
	 *
	 * @return bool True if added, false if invalid or could not be added (not string or added too late)
	 */
Add data to be printed in footer
Container/factory for Caldera_Forms_Render_Footer objects



@param string $data Data to add
@param array $form Form config

@return bool True if added, false if invalid or could not be added (not string or added too late)
Add data to be printed in footer Container / factory for Caldera_Forms_Render_Footer objects @param string $data Data to add @param array $form Form config @return bool True if added false if invalid or could not be added ( not string or added too late )
public static function add_inline_data( $data, array $form ){
		if( ! empty(  $form[ 'ID' ] ) ){
			$form_id =  $form[ 'ID' ];
		}else{
			return false;
		}
		if( empty( self::$footer_objects[ $form[ 'ID' ] ] ) ){
			if ( is_array( $form ) ) {
				self::$footer_objects[ $form_id ] = new Caldera_Forms_Render_Footer( $form );
			}
		}
		return self::$footer_objects[ $form_id ]->add_data( $data );
	}
public static function add_inline_data ( $ data , array $ form ) { if ( ! empty ( $ form [ 'ID' ] ) ) { $ form_id = $ form [ 'ID' ] ; } else { return false ; } if ( empty ( self :: $ footer_objects [ $ form [ 'ID' ] ] ) ) { if ( is_array ( $ form ) ) { self :: $ footer_objects [ $ form_id ] = new Caldera_Forms_Render_Footer ( $ form ) ; } } return self :: $ footer_objects [ $ form_id ] -> add_data ( $ data ) ; }
Add data to be printed in footer
 Container/factory for Caldera_Forms_Render_Footer objects
Add data to be printed in footer Container / factory for Caldera_Forms_Render_Footer objects
/** @var Caldera_Forms_Render_Footer */