| @@ 32-46 (lines=15) @@ | ||
| 29 | * @return n/a |
|
| 30 | */ |
|
| 31 | ||
| 32 | function __construct() { |
|
| 33 | ||
| 34 | // vars |
|
| 35 | $this->name = 'color_picker'; |
|
| 36 | $this->label = __("Color Picker",'acf'); |
|
| 37 | $this->category = 'jquery'; |
|
| 38 | $this->defaults = array( |
|
| 39 | 'default_value' => '', |
|
| 40 | ); |
|
| 41 | ||
| 42 | ||
| 43 | // do not delete! |
|
| 44 | parent::__construct(); |
|
| 45 | ||
| 46 | } |
|
| 47 | ||
| 48 | ||
| 49 | /* |
|
| @@ 32-47 (lines=16) @@ | ||
| 29 | * @return n/a |
|
| 30 | */ |
|
| 31 | ||
| 32 | function __construct() { |
|
| 33 | ||
| 34 | // vars |
|
| 35 | $this->name = 'true_false'; |
|
| 36 | $this->label = __("True / False",'acf'); |
|
| 37 | $this->category = 'choice'; |
|
| 38 | $this->defaults = array( |
|
| 39 | 'default_value' => 0, |
|
| 40 | 'message' => '', |
|
| 41 | ); |
|
| 42 | ||
| 43 | ||
| 44 | // do not delete! |
|
| 45 | parent::__construct(); |
|
| 46 | ||
| 47 | } |
|
| 48 | ||
| 49 | ||
| 50 | /* |
|
| @@ 32-45 (lines=14) @@ | ||
| 29 | * @return n/a |
|
| 30 | */ |
|
| 31 | ||
| 32 | function __construct() { |
|
| 33 | ||
| 34 | // vars |
|
| 35 | $this->name = 'url'; |
|
| 36 | $this->label = __("Url",'acf'); |
|
| 37 | $this->defaults = array( |
|
| 38 | 'default_value' => '', |
|
| 39 | 'placeholder' => '', |
|
| 40 | ); |
|
| 41 | ||
| 42 | ||
| 43 | // do not delete! |
|
| 44 | parent::__construct(); |
|
| 45 | } |
|
| 46 | ||
| 47 | ||
| 48 | /* |
|