| Server IP : 213.132.222.41 / Your IP : 216.73.216.254 Web Server : Apache System : Linux plesk4.nlhosting.net 6.1.0-0.deb11.50-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1~deb11u1 (2026-07-02) x86_64 User : thecovenant ( 10927) PHP Version : 8.3.32 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/thecovenant.nl/httpdocs/new/wp-content/themes/neve/inc/core/ |
Upload File : |
<?php
/**
* Theme Info trait.
*
* @package Neve\Core
*/
namespace Neve\Core;
/**
* Theme_Info trait
*/
trait Theme_Info {
/**
* Check validity of addons plugin.
*
* @return bool
*/
private function has_valid_addons() {
if ( ! defined( 'NEVE_PRO_BASEFILE' ) ) {
return false;
}
$option_name = basename( dirname( NEVE_PRO_BASEFILE ) );
$option_name = str_replace( '-', '_', strtolower( trim( $option_name ) ) );
$status = get_option( $option_name . '_license_data' );
if ( ! $status ) {
return false;
}
if ( ! isset( $status->license ) ) {
return false;
}
if ( $status->license === 'not_active' || $status->license === 'invalid' ) {
return false;
}
return true;
}
}