- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
58 lines
1.1 KiB
PHP
Executable File
58 lines
1.1 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Thrive Themes - https://thrivethemes.com
|
|
*
|
|
* @package thrive-visual-editor
|
|
*/
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden!
|
|
}
|
|
|
|
class TCB_Pagination_Navigation_Container_Element extends TCB_Element_Abstract {
|
|
/**
|
|
* Name of the element
|
|
*
|
|
* @return string
|
|
*/
|
|
public function name() {
|
|
return __( 'Button Container', 'thrive-cb' );
|
|
}
|
|
|
|
/**
|
|
* Element identifier
|
|
*
|
|
* @return string
|
|
*/
|
|
public function identifier() {
|
|
return '.tcb-pagination-navigation-container';
|
|
}
|
|
|
|
/**
|
|
* Component and control config
|
|
*
|
|
* @return array
|
|
*/
|
|
public function own_components() {
|
|
$components = parent::general_components();
|
|
|
|
$components['layout']['disabled_controls'] = [ 'Display', 'Alignment' ];
|
|
|
|
$components['typography'] = [ 'hidden' => true ];
|
|
$components['animation'] = [ 'hidden' => true ];
|
|
$components['responsive'] = [ 'hidden' => true ];
|
|
$components['styles-templates'] = [ 'hidden' => true ];
|
|
|
|
return $components;
|
|
}
|
|
|
|
/**
|
|
* Hide this element in the sidebar.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function hide() {
|
|
return true;
|
|
}
|
|
}
|