X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-content/plugins/revslider/admin/includes
home
/
notabjze
/
pyirates.net
/
wp-content
/
plugins
/
revslider
/
admin
/
includes
/
ðŸ“
..
📄
addons.class.php
(7.42 KB)
📄
debug.php
(2.81 KB)
📄
export-html.class.php
(30.5 KB)
📄
export.class.php
(28.36 KB)
📄
folder.class.php
(4.17 KB)
📄
functions-admin.class.php
(61.09 KB)
📄
help.class.php
(585.66 KB)
📄
import.class.php
(74.31 KB)
📄
index.php
(27 B)
📄
license.class.php
(2.2 KB)
📄
loadbalancer.class.php
(3.51 KB)
📄
newsletter.class.php
(1.69 KB)
📄
plugin-update.class.php
(371.25 KB)
ðŸ“
shortcode_generator
📄
template.class.php
(23.97 KB)
📄
tooltips.class.php
(31.76 KB)
📄
tracking.class.php
(10.8 KB)
📄
widget.class.php
(4.74 KB)
Editing: newsletter.class.php
<?php /** * @author ThemePunch <info@themepunch.com> * @link https://www.themepunch.com/ * @copyright 2024 ThemePunch * @version 1.0.0 */ if(!defined('ABSPATH')) exit(); if(!class_exists('ThemePunch_Newsletter')) { class ThemePunch_Newsletter { protected static $remote_url = 'http://newsletter.themepunch.com/'; protected static $subscribe = 'subscribe.php'; protected static $unsubscribe = 'unsubscribe.php'; public function __construct(){ } /** * Subscribe to the ThemePunch Newsletter * @since: 1.0.0 **/ public static function subscribe($email){ global $wp_version; $request = wp_remote_post(self::$remote_url.self::$subscribe, array( 'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'), 'timeout' => 15, 'body' => array( 'email' => urlencode($email) ) )); if(!is_wp_error($request)) { if($response = json_decode($request['body'], true)) { if(is_array($response)) { $data = $response; return $data; }else{ return false; } } } } /** * Unsubscribe to the ThemePunch Newsletter * @since: 1.0.0 **/ public static function unsubscribe($email){ global $wp_version; $request = wp_remote_post(self::$remote_url.self::$unsubscribe, array( 'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'), 'timeout' => 15, 'body' => array( 'email' => urlencode($email) ) )); if(!is_wp_error($request)) { if($response = json_decode($request['body'], true)) { if(is_array($response)) { $data = $response; return $data; }else{ return false; } } } } } }
Upload File
Create Folder