PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-a.7
Jetpack – WP Security, Backup, Speed, & Growth v16.3-a.7
16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 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 All 506 releases
jetpack / modules / videopress / class.videopress-options.php

class.videopress-options.php in Jetpack – WP Security, Backup, Speed, & Growth 16.3-a.7, at modules/videopress/class.videopress-options.php

66 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 if ( ! defined( 'ABSPATH' ) ) {
11 exit( 0 );
12 }
13
14 /**
15 * VideoPress Options class.
16 *
17 * @deprecated 11.2
18 */
19 class VideoPress_Options {
20
21 /**
22 * Option name.
23 *
24 * @var string $option_name The 'videopress' option name
25 * @deprecated 11.2
26 */
27 public static $option_name = 'videopress';
28
29 /**
30 * VideoPress Options.
31 *
32 * @var array $options An array of associated VideoPress options (default empty)
33 * @deprecated 11.2
34 */
35 protected static $options = array();
36
37 /**
38 * Get VideoPress options
39 *
40 * @return array An array of VideoPress options.
41 * @deprecated 11.2
42 */
43 public static function get_options() {
44 _deprecated_function( __METHOD__, 'jetpack-11.2' );
45 return Package_Options::get_options();
46 }
47
48 /**
49 * Update VideoPress options
50 *
51 * @param mixed $options VideoPress options.
52 */
53 public static function update_options( $options ) {
54 _deprecated_function( __METHOD__, 'jetpack-11.2' );
55 return Package_Options::update_options( $options );
56 }
57
58 /**
59 * Runs when the VideoPress module is deactivated.
60 */
61 public static function delete_options() {
62 _deprecated_function( __METHOD__, 'jetpack-11.2' );
63 return Package_Options::delete_options();
64 }
65 }
66