1 | <?php |
||
8 | class Oembed_Field extends Field { |
||
9 | |||
10 | /** |
||
11 | * Enqueue scripts and styles in admin |
||
12 | * Called once per field type |
||
13 | */ |
||
14 | public static function admin_enqueue_scripts() { |
||
17 | |||
18 | /** |
||
19 | * Returns an array that holds the field data, suitable for JSON representation. |
||
20 | * |
||
21 | * @param bool $load Should the value be loaded from the database or use the value from the current instance. |
||
22 | * @return array |
||
23 | */ |
||
24 | public function to_json( $load ) { |
||
33 | } |
||
34 |