base-ui.php 516 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Elementor;
  3. if ( ! defined( 'ABSPATH' ) ) {
  4. exit; // Exit if accessed directly.
  5. }
  6. /**
  7. * Elementor base UI control.
  8. *
  9. * An abstract class for creating new UI controls in the panel.
  10. *
  11. * @abstract
  12. */
  13. abstract class Base_UI_Control extends Base_Control {
  14. /**
  15. * Get features.
  16. *
  17. * Retrieve the list of all the available features.
  18. *
  19. * @since 1.5.0
  20. * @access public
  21. * @static
  22. *
  23. * @return array Features array.
  24. */
  25. public static function get_features() {
  26. return [ 'ui' ];
  27. }
  28. }