public static function initialize() {
		foreach ( static::$core_types as $name => $class ) {
			static::register( $name, new $class );
		}

		foreach ( static::$bindings as $name => $binding ) {
			if ( ! static::resolved( $name ) ) {
				static::fire( $name, $binding['callback'], $binding['sanitizer'] );

				static::$resolved[ $name ] = true;
			}
		}

		// Print the field type JS templates.
		if ( count( static::$instances ) > 0 ) {
			add_action( 'admin_footer', [ __CLASS__, 'print_js_templates' ], 20 );
		}
	}
public static function initialize() {
		foreach ( static::$core_types as $name => $class ) {
			static::register( $name, new $class );
		}

		foreach ( static::$bindings as $name => $binding ) {
			if ( ! static::resolved( $name ) ) {
				static::fire( $name, $binding['callback'], $binding['sanitizer'] );

				static::$resolved[ $name ] = true;
			}
		}

		// Print the field type JS templates.
		if ( count( static::$instances ) > 0 ) {
			add_action( 'admin_footer', [ __CLASS__, 'print_js_templates' ], 20 );
		}
	}
public static function initialize ( ) { foreach ( static :: $ core_types as $ name => $ class ) { static :: register ( $ name , new $ class ) ; } foreach ( static :: $ bindings as $ name => $ binding ) { if ( ! static :: resolved ( $ name ) ) { static :: fire ( $ name , $ binding [ 'callback' ] , $ binding [ 'sanitizer' ] ) ; static :: $ resolved [ $ name ] = true ; } } // Print the field type JS templates. if ( count ( static :: $ instances ) > 0 ) { add_action ( 'admin_footer' , [ __CLASS__ , 'print_js_templates' ] , 20 ) ; } }
Initialize the custom fields.

@return void
Initialize the custom fields .