D, 'label' => $admin_label, ] ); $element->end_controls_section(); } /** * Add common sections * * @since 1.8.0 * * @access protected */ protected function add_common_sections_actions() {} /** * Add Actions * * @since 0.1.0 * * @access private */ protected function add_actions() {} /** * Removes controls in bulk * * @since 0.1.0 * * @access private */ protected function remove_controls( $element, $controls = null ) { if ( empty( $controls ) ) { return; } if ( is_array( $controls ) ) { $control_id = $controls; foreach ( $controls as $control_id ) { $element->remove_control( $control_id ); } } else { $element->remove_control( $controls ); } } /** * Method for setting extension dependancy on Elementor Pro plugin * * When returning false it doesn't allow the extension to be registered * * @access public * @since 1.8.0 * @return bool */ public static function requires_elementor_pro() { return false; } /** * Is enabled by default * * Return wether or not the extension should be disabled by default, * prior to user actually saving a value in the admin page * * @access public * @since 2.0.0 * @return bool */ public static function is_default_disabled() { return false; } } D, 'label' => $admin_label, ] ); $element->end_controls_section(); } /** * Add common sections * * @since 1.8.0 * * @access protected */ protected function add_common_sections_actions() {} /** * Add Actions * * @since 0.1.0 * * @access private */ protected function add_actions() {} /** * Removes controls in bulk * * @since 0.1.0 * * @access private */ protected function remove_controls( $element, $controls = null ) { if ( empty( $controls ) ) { return; } if ( is_array( $controls ) ) { $control_id = $controls; foreach ( $controls as $control_id ) { $element->remove_control( $control_id ); } } else { $element->remove_control( $controls ); } } /** * Method for setting extension dependancy on Elementor Pro plugin * * When returning false it doesn't allow the extension to be registered * * @access public * @since 1.8.0 * @return bool */ public static function requires_elementor_pro() { return false; } /** * Is enabled by default * * Return wether or not the extension should be disabled by default, * prior to user actually saving a value in the admin page * * @access public * @since 2.0.0 * @return bool */ public static function is_default_disabled() { return false; } }
Fatal error: Uncaught Error: Class "PowerpackElements\Base\Extension_Base" not found in /htdocs/wp-content/plugins/powerpack-elements/extensions/display-conditions.php:23 Stack trace: #0 /htdocs/wp-content/plugins/powerpack-elements/includes/extensions-manager.php(48): require() #1 /htdocs/wp-content/plugins/powerpack-elements/includes/extensions-manager.php(199): PowerpackElements\Extensions_Manager->register_extensions() #2 /htdocs/wp-content/plugins/powerpack-elements/plugin.php(1010): PowerpackElements\Extensions_Manager->__construct() #3 /htdocs/wp-includes/class-wp-hook.php(310): PowerpackElements\Powerpackplugin->elementor_init('') #4 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #5 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #6 /htdocs/wp-content/plugins/elementor/includes/plugin.php(658): do_action('elementor/init') #7 /htdocs/wp-includes/class-wp-hook.php(310): Elementor\Plugin->init('') #8 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #9 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /htdocs/wp-settings.php(632): do_action('init') #11 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #12 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #13 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #14 /htdocs/index.php(17): require('/htdocs/wp-blog...') #15 {main} thrown in /htdocs/wp-content/plugins/powerpack-elements/extensions/display-conditions.php on line 23