| Server IP : 104.21.25.182 / Your IP : 216.73.216.38 Web Server : Apache System : Linux server.rehabsharif.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64 User : nobi37te ( 1003) PHP Version : 8.2.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/nobi37te/www/wp-content/plugins/analogwp-templates/inc/settings/ |
Upload File : |
<?php
/**
* Analog Go Pro Promotional Tab.
*
* @package Analog/Admin
* @since 1.3.8
*/
namespace Analog\Settings;
defined( 'ABSPATH' ) || exit;
if ( class_exists( '\AnalogPro\Plugin' ) ) {
return;
}
/**
* GoPro.
*/
class GoPro extends Settings_Page {
/**
* Constructor.
*/
public function __construct() {
$this->id = 'gopro';
$this->label = __( 'Style Kits Pro', 'ang' );
parent::__construct();
add_action( 'ang_settings_' . $this->id, array( $this, 'get_pro' ) );
}
/**
* Get settings array.
*
* @return array
*/
public function get_settings() {
$settings = apply_filters(
'ang_gopro_settings',
array()
);
return apply_filters( 'ang_get_settings_' . $this->id, $settings );
}
/**
* Get Pro Tab Data.
*/
public function get_pro() {
include dirname( __FILE__ ) . '/views/html-admin-settings-gopro.php';
}
/**
* Output the settings.
*/
public function output() {
$settings = $this->get_settings();
Admin_Settings::output_fields( $settings );
}
/**
* Save settings.
*/
public function save() {
$settings = $this->get_settings();
Admin_Settings::save_fields( $settings );
}
}
return new GoPro();