PluginProbe
InfiniteWP Client / trunk
InfiniteWP Client vtrunk
1.13.10 1.13.7 trunk 0.1.4 0.1.5 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.10 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.11.0 1.11.1 1.12.1 1.12.3 All 92 releases
iwp-client / backup / backup.options.php

backup.options.php in InfiniteWP Client trunk, at backup/backup.options.php

26 lines 769 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Options handling
4 if ( ! defined('ABSPATH') )
5 die();
6
7 class IWP_MMB_Backup_Options {
8
9 public static function get_iwp_backup_option($option, $default = null) {
10 $ret = get_option($option, $default);
11 return apply_filters('IWP_get_option', $ret, $option, $default);
12 }
13
14 // The apparently unused parameter is used in the alternative class in the Multisite add-on
15 public static function update_iwp_backup_option($option, $value, $use_cache = false) {
16 return update_option($option, apply_filters('IWP_update_option', $value, $option, $use_cache));
17 }
18
19 public static function delete_iwp_backup_option($option) {
20 delete_option($option);
21 }
22
23 public static function admin_page_url() {
24 return admin_url('options-general.php');
25 }
26 }