Files
roi-theme/wp-content/plugins/thrive-visual-editor/inc/classes/elements/class-tcb-button-group-element.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- 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>
2025-11-03 21:04:30 -06:00

66 lines
1.0 KiB
PHP
Executable File

<?php
/**
* Created by PhpStorm.
* User: Ovidiu
* Date: 6/29/2018
* Time: 10:01 AM
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Silence is golden!
}
class TCB_Button_Group_Element extends TCB_Element_Abstract {
/**
* Name of the element
*
* @return string
*/
public function name() {
return __( 'Button Group', 'thrive-cb' );
}
/**
* Hide Element From Sidebar Menu
*
* @return bool
*/
public function hide() {
return true;
}
/**
* When element is selected in editor this identifier
* establishes element _type
*
* @return string
* @see TVE.main.element_selected() TVE._type()
*
*/
public function identifier() {
return '.thrv-button-group';
}
/**
* Components that apply only to this
*
* @return array
*/
public function own_components() {
return [
'button_group' => [
'config' => [],
],
'typography' => [ 'hidden' => true ],
'animation' => [ 'hidden' => true ],
'shadow' => [
'config' => [
'disabled_controls' => [ 'text' ],
],
],
];
}
}