web/wp-content/plugins/caldera-forms/classes/admin/assets.php
/**
	 * Registers all scripts needed if not registered yet
	 *
	 * @since 1.5.0
	 */
Registers all scripts needed if not registered yet
@since 1.5.0
Registers all scripts needed if not registered yet @since 1 . 5 . 0
protected static function maybe_register_all_admin(){
		$front = false;
		if( ! did_action( 'caldera_forms_admin_assets_styles_registered' ) ){
			Caldera_Forms_Render_Assets::register();
			Caldera_Forms_Render_Assets::enqueue_all_fields();
			$front = true;
			self::register_styles();
		}
		if( ! did_action( 'caldera_forms_admin_assets_scripts_registered' ) ){
			if( false === $front ){
				Caldera_Forms_Render_Assets::register();
				Caldera_Forms_Render_Assets::enqueue_all_fields();
			}
			self::register_scripts();
		}
	}
protected static function maybe_register_all_admin ( ) { $ front = false ; if ( ! did_action ( 'caldera_forms_admin_assets_styles_registered' ) ) { Caldera_Forms_Render_Assets :: register ( ) ; Caldera_Forms_Render_Assets :: enqueue_all_fields ( ) ; $ front = true ; self :: register_styles ( ) ; } if ( ! did_action ( 'caldera_forms_admin_assets_scripts_registered' ) ) { if ( false === $ front ) { Caldera_Forms_Render_Assets :: register ( ) ; Caldera_Forms_Render_Assets :: enqueue_all_fields ( ) ; } self :: register_scripts ( ) ; } }
Registers all scripts needed if not registered yet
 @since 1.5.0
Registers all scripts needed if not registered yet @since 1 . 5 . 0