uawdijnntqw1x1x1
IP : 216.73.217.174
Hostname : mailtech.lifestyleretreats.com
Kernel : Linux mailtech.lifestyleretreats.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home
/
lrindo5
/
pelican.lrindo.com
/
wp-content
/
plugins
/
custom-field-suite
/
.
/
cfs.php
/
/
<?php /* Plugin Name: Custom Field Suite Description: Visually add custom fields to your WordPress edit pages. Version: 2.6.4 Author: Matt Gibbs Text Domain: cfs Domain Path: /languages/ */ class Custom_Field_Suite { public $api; public $form; public $fields; public $field_group; private static $instance; function __construct() { // setup variables define( 'CFS_VERSION', '2.6.4' ); define( 'CFS_DIR', dirname( __FILE__ ) ); define( 'CFS_URL', plugins_url( '', __FILE__ ) ); // get the gears turning include( CFS_DIR . '/includes/init.php' ); } /** * Singleton */ public static function instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self; } return self::$instance; } /** * Public API methods */ function get( $field_name = false, $post_id = false, $options = [] ) { return CFS()->api->get( $field_name, $post_id, $options ); } function get_field_info( $field_name = false, $post_id = false ) { return CFS()->api->get_field_info( $field_name, $post_id ); } function get_reverse_related( $post_id, $options = [] ) { return CFS()->api->get_reverse_related( $post_id, $options ); } function save( $field_data = [], $post_data = [], $options = [] ) { return CFS()->api->save_fields( $field_data, $post_data, $options ); } function find_fields( $params = [] ) { return CFS()->api->find_input_fields( $params ); } function form( $params = [] ) { ob_start(); CFS()->form->render( $params ); return ob_get_clean(); } /** * Render a field's admin settings HTML */ function field_html( $field ) { include( CFS_DIR . '/templates/field_html.php' ); } /** * Trigger the field type "html" method */ function create_field( $field ) { $defaults = [ 'type' => 'text', 'input_name' => '', 'input_class' => '', 'options' => [], 'value' => '', ]; $field = (object) array_merge( $defaults, (array) $field ); CFS()->fields[ $field->type ]->html( $field ); } } function CFS() { return Custom_Field_Suite::instance(); } $cfs = CFS();
/home/lrindo5/pelican.lrindo.com/wp-content/plugins/custom-field-suite/./cfs.php