| @@ -437,8 +437,9 @@ | ||
| 437 | 437 | 'rest_nonce' => wp_create_nonce( 'wp_rest' ), |
| 438 | 438 | 'nonce' => wp_create_nonce( rtsb()->nonceText ), |
| 439 | 439 | 'pages' => Fns::get_pages(), |
| 440 | 440 | 'hasPro' => rtsb()->has_pro() ? 'yes' : 'no', |
| 441 | + 'validLicence' => Fns::has_valid_license() ? 'yes' : 'no', | |
| 441 | 442 | 'proVersion' => defined( 'RTSBPRO_VERSION' ) ? RTSBPRO_VERSION : '0', |
| 442 | 443 | 'updateRates' => esc_html__( 'Update All Rates', 'shopbuilder' ), |
| 443 | 444 | 'sections' => Settings::instance()->get_sections(), |
| 444 | 445 | 'userRoles' => Fns::get_all_user_roles(), |