| 1 | <?php |
||
| 9 | abstract class Scripts_Field extends Textarea_Field { |
||
| 10 | /** |
||
| 11 | * Initialization actions |
||
| 12 | */ |
||
| 13 | public function init() { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Display the field value in the front-end header. |
||
| 23 | */ |
||
| 24 | public function print_scripts() { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Default help text to be displayed for this type of field. |
||
| 34 | */ |
||
| 35 | abstract public function get_default_help_text(); |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Action name to be hooked on. |
||
| 39 | */ |
||
| 40 | abstract public function get_hook_name(); |
||
| 41 | } |
||
| 42 |