PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 12.4.2
Jetpack – WP Security, Backup, Speed, & Growth v12.4.2
12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 14.4.2 All 500 releases
jetpack / modules / videopress / class.videopress-options.php
class.videopress-options.php
63 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 }
63