File manager - Edit - /home/matthif/www/wp-content/themes/neve/inc/core/theme_info.php
Back
<?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; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings