mirror of
https://github.com/proelements/proelements.git
synced 2026-05-21 08:15:01 +00:00
v3.33.1
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace ElementorPro\Base;
|
||||
|
||||
use ElementorPro\License\API as License_API;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
trait Base_Widget_Trait {
|
||||
public function is_editable() {
|
||||
return License_API::is_license_active();
|
||||
}
|
||||
|
||||
public function get_categories() {
|
||||
return [ 'pro-elements' ];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user