Server IP : 170.150.155.74 / Your IP : 3.146.221.131 Web Server : Apache/2.4.53 (Debian) System : Linux b22bf132354b 5.4.0-162-generic #179-Ubuntu SMP Mon Aug 14 08:51:31 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.4.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/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; } }