메소드 | 설명 | |
---|---|---|
__construct ( string $config_id = 'global', array $args = [] ) | Constructor. | |
add_editor ( ) | Adds the global textarea |
메소드 | 설명 | |
---|---|---|
set_sanitize_callback ( ) | Sets the $sanitize_callback | |
set_type ( ) | Sets the control type. |
public __construct ( string $config_id = 'global', array $args = [] ) | ||
$config_id | string | The ID of the config we want to use. Defaults to "global". Configs are handled by the Kirki_Config class. |
$args | array | The arguments of the field. |