| 1 |
<?php |
| 2 |
namespace Elementor\Core\Kits\Documents\Tabs; |
| 3 |
|
| 4 |
use Elementor\Plugin; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly |
| 8 |
} |
| 9 |
|
| 10 |
class Settings_Page_Transitions extends Tab_Base { |
| 11 |
|
| 12 |
const TAB_ID = 'settings-page-transitions'; |
| 13 |
|
| 14 |
public function get_id() { |
| 15 |
return self::TAB_ID; |
| 16 |
} |
| 17 |
|
| 18 |
public function get_title() { |
| 19 |
return __( 'Page Transitions', 'elementor' ); |
| 20 |
} |
| 21 |
|
| 22 |
public function get_group() { |
| 23 |
return 'settings'; |
| 24 |
} |
| 25 |
|
| 26 |
public function get_icon() { |
| 27 |
return 'eicon-layout-settings'; |
| 28 |
} |
| 29 |
|
| 30 |
public function get_help_url() { |
| 31 |
return 'https://go.elementor.com/page-transitions'; |
| 32 |
} |
| 33 |
|
| 34 |
protected function register_tab_controls() { |
| 35 |
Plugin::$instance->controls_manager->add_page_transitions_controls( $this->parent, $this->get_id() ); |
| 36 |
} |
| 37 |
} |
| 38 |
|