original_string: 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 );
  		}
  	}
code: 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 );
  		}
  	}
code_tokens: 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 ) ; } }
docstring: Initialize the custom fields.
  
  @return void
docstring_tokens: Initialize the custom fields .