/**
* Plugin Name: Hostnet - Plano Cloud
* Plugin URI: https://www.hostnet.com.br
* Description: Plugin essencial para atualização de plugins premiums oferecidos pela Hostnet.
* Version: 1.0.8
* Requires at least: 5.2
* Requires PHP: 7.4
* Author: Hostnet Internet
* Author URI: https://www.hostnet.com.br
* Text Domain: aaa-hn-plano-cloud
* Domain Path: /languages
*/
if ( !defined('ABSPATH') ) {
exit;
}
if(!class_exists('HN_PLANO_CLOUD_PLUGIN')) {
// Plugin version
if ( ! defined( 'HN_PLANO_CLOUD_VERSION_PLUGIN' ) ) {
define( 'HN_PLANO_CLOUD_VERSION_PLUGIN', '1.0.8' );
}
// CSS version
if ( ! defined( 'HN_PLANO_CLOUD_VERSION_CSS' ) ) {
define( 'HN_PLANO_CLOUD_VERSION_CSS', '1.0.0' );
}
// JS version
if ( ! defined( 'HN_PLANO_CLOUD_VERSION_JS' ) ) {
define( 'HN_PLANO_CLOUD_VERSION_JS', '1.0.0' );
}
// Plugin file
if ( ! defined( 'HN_PLANO_CLOUD_FILE' ) ) {
define( 'HN_PLANO_CLOUD_FILE', __FILE__ );
}
// Plugin folder path
if ( ! defined( 'HN_PLANO_CLOUD_PLUGIN_PATH' ) ) {
define( 'HN_PLANO_CLOUD_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
}
// Plugin folder URL
if ( ! defined( 'HN_PLANO_CLOUD_PLUGIN_URL' ) ) {
define( 'HN_PLANO_CLOUD_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
}
define('HN_PLANO_CLOUD_NAME', 'Hostnet - Plano Cloud');
define('HN_PLANO_CLOUD_SLUG', 'aaa-hn-plano-cloud');
define('HN_PLANO_CLOUD_INFO_JSON', 'https://plugins.hostnet.com.br/plugins/aaa-hn-plano-cloud/info.json');
define('HN_PLANO_CLOUD_CACHE_UPDATE', 172800);
if (!class_exists('HN_WAAR_Update')) {
include_once( HN_PLANO_CLOUD_PLUGIN_PATH . 'includes/class-update.php' );
}
class HN_PLANO_CLOUD_PLUGIN {
public function __construct() {
$this->includes();
}
/*
* Adicona Scripts
*/
public function includes() {
include_once( HN_PLANO_CLOUD_PLUGIN_PATH . 'includes/config.php' );
include_once( HN_PLANO_CLOUD_PLUGIN_PATH . 'includes/functions.php' );
include_once( HN_PLANO_CLOUD_PLUGIN_PATH . 'includes/class-settings.php' );
include_once( HN_PLANO_CLOUD_PLUGIN_PATH . 'includes/class-update.php' );
}
}
// Cria a classe caso o plugin esteja ativo.
add_action( 'plugins_loaded', function() {
new HN_PLANO_CLOUD_PLUGIN;
}, 1 );
}
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the custom-migrator domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u827123776/domains/tvzoom.com.br/public_html/wp-includes/functions.php on line 6131
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/languages/pt_BR.php on line 12
Notice: A função _load_textdomain_just_in_time foi chamada incorretamente. O carregamento da tradução para o domínio posty foi ativado muito cedo. Isso geralmente é um indicador de que algum código no plugin ou tema está sendo executado muito cedo. As traduções devem ser carregadas na ação init ou mais tarde. Leia como Depurar o WordPress para mais informações. (Esta mensagem foi adicionada na versão 6.7.0.) in /home/u827123776/domains/tvzoom.com.br/public_html/wp-includes/functions.php on line 6131
Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 46
Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 47
Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 46
Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 47
Deprecated: Creation of dynamic property CSF_Metabox::$post_formats is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 46
Deprecated: Creation of dynamic property CSF_Metabox::$page_templates is deprecated in /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php on line 47
Warning: Cannot modify header information - headers already sent by (output started at /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php:46) in /home/u827123776/domains/tvzoom.com.br/public_html/wp-includes/pluggable.php on line 1531
Warning: Cannot modify header information - headers already sent by (output started at /home/u827123776/domains/tvzoom.com.br/public_html/wp-content/plugins/posty-extra/lib/codestar-framework/classes/metabox-options.class.php:46) in /home/u827123776/domains/tvzoom.com.br/public_html/wp-includes/pluggable.php on line 1534