css
3 years ago
js
3 years ago
class-videopress-attachment-metadata.php
4 years ago
class.jetpack-videopress.php
4 years ago
class.videopress-cli.php
3 years ago
class.videopress-edit-attachment.php
3 years ago
class.videopress-gutenberg.php
3 years ago
class.videopress-options.php
2 years ago
class.videopress-player.php
3 years ago
class.videopress-scheduler.php
4 years ago
class.videopress-video.php
4 years ago
class.videopress-xmlrpc.php
2 years ago
editor-media-view.php
3 years ago
shortcode.php
2 years ago
videopress-admin-rtl.css
4 years ago
videopress-admin-rtl.min.css
4 years ago
videopress-admin.css
4 years ago
videopress-admin.min.css
4 years ago
class.videopress-options.php
62 lines
| 1 | <?php // phpcs:ignore WordPress.Files.FileName |
| 2 | /** |
| 3 | * VideoPress Options |
| 4 | * |
| 5 | * @package automattic/jetpack |
| 6 | */ |
| 7 | |
| 8 | use Automattic\Jetpack\VideoPress\Options as Package_Options; |
| 9 | |
| 10 | /** |
| 11 | * VideoPress Options class. |
| 12 | * |
| 13 | * @deprecated 11.2 |
| 14 | */ |
| 15 | class VideoPress_Options { |
| 16 | |
| 17 | /** |
| 18 | * Option name. |
| 19 | * |
| 20 | * @var string $option_name The 'videopress' option name |
| 21 | * @deprecated 11.2 |
| 22 | */ |
| 23 | public static $option_name = 'videopress'; |
| 24 | |
| 25 | /** |
| 26 | * VideoPress Options. |
| 27 | * |
| 28 | * @var array $options An array of associated VideoPress options (default empty) |
| 29 | * @deprecated 11.2 |
| 30 | */ |
| 31 | protected static $options = array(); |
| 32 | |
| 33 | /** |
| 34 | * Get VideoPress options |
| 35 | * |
| 36 | * @return array An array of VideoPress options. |
| 37 | * @deprecated 11.2 |
| 38 | */ |
| 39 | public static function get_options() { |
| 40 | _deprecated_function( __METHOD__, 'jetpack-11.2' ); |
| 41 | return Package_Options::get_options(); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Update VideoPress options |
| 46 | * |
| 47 | * @param mixed $options VideoPress options. |
| 48 | */ |
| 49 | public static function update_options( $options ) { |
| 50 | _deprecated_function( __METHOD__, 'jetpack-11.2' ); |
| 51 | return Package_Options::update_options( $options ); |
| 52 | } |
| 53 | |
| 54 | /** |
| 55 | * Runs when the VideoPress module is deactivated. |
| 56 | */ |
| 57 | public static function delete_options() { |
| 58 | _deprecated_function( __METHOD__, 'jetpack-11.2' ); |
| 59 | return Package_Options::delete_options(); |
| 60 | } |
| 61 | } |
| 62 |