| Server IP : 68.178.247.200 / Your IP : 216.73.216.14 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/x9dppmxs4rgd/www/wp-content/plugins/youtube-showcase/includes/ |
Upload File : |
<?php
/**
* Plugin Functions
* @package EMD
* @since 5.3
*/
if (!defined('ABSPATH')) exit;
add_filter('emd_lite_upgrade_url', 'emd_yt_lite_upgrade_url', 10, 2);
function emd_yt_lite_upgrade_url($url, $hook) {
if (!preg_match('/_shortcodes$/', $hook)) {
$url = esc_url("https://emdplugins.com/support/?pk_campaign=upgradelink");
}
return $url;
}
add_filter('emd_lite_upgrade_message', 'emd_yt_lite_upgrade_message', 10, 2);
function emd_yt_lite_upgrade_message($msg, $hook) {
if (!preg_match('/_shortcodes$/', $hook)) {
$msg = esc_html__('Unfortunately, this feature is not available. Please contact our development team for customization services by opening a support ticket.', 'emd-plugins');
}
return $msg;
}
add_filter('emd_lite_upgrade_modal', 'emd_yt_lite_upgrade_modal', 10, 2);
function emd_yt_lite_upgrade_modal($msg, $hook) {
if (!preg_match('/_shortcodes$/', $hook)) {
$msg = '<p>' . wp_kses(__("Don't worry, all your records will be preserved after purchasing customization services.", "emd-plugins") , array(
'strong' => array() ,
)) . '</p>';
}
return $msg;
} ?>