- 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>
79 lines
1.4 KiB
PHP
Executable File
79 lines
1.4 KiB
PHP
Executable File
<?php
|
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
exit; // Silence is golden
|
|
}
|
|
|
|
class TCB_User_Profile_Item_Element extends TCB_Element_Abstract {
|
|
|
|
public function name() {
|
|
return __( 'Form Item', 'thrive-cb' );
|
|
}
|
|
|
|
public function identifier() {
|
|
return '.tve-up-item';
|
|
}
|
|
|
|
/**
|
|
* Hide Element From Sidebar Menu
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function hide() {
|
|
return true;
|
|
}
|
|
|
|
public function own_components() {
|
|
|
|
return array(
|
|
'up_item' => array(
|
|
'config' => array(
|
|
'FieldsLabel' => array(
|
|
'config' => array(
|
|
'name' => __( 'Field label location', 'thrive-cb' ),
|
|
'buttons' => array(
|
|
array(
|
|
'value' => 'top',
|
|
'text' => __( 'Above', 'thrive-cb' ),
|
|
'default' => true,
|
|
),
|
|
array(
|
|
'value' => 'left',
|
|
'text' => __( 'Left', 'thrive-cb' ),
|
|
),
|
|
array(
|
|
'value' => 'hidden',
|
|
'text' => __( 'Hidden', 'thrive-cb' ),
|
|
),
|
|
),
|
|
),
|
|
'extends' => 'ButtonGroup',
|
|
),
|
|
),
|
|
),
|
|
'typography' => [
|
|
'hidden' => true,
|
|
],
|
|
'layout' => [
|
|
'disabled_controls' => [
|
|
'Width',
|
|
'Height',
|
|
'Alignment',
|
|
'Display',
|
|
'.tve-advanced-controls',
|
|
],
|
|
],
|
|
'animation' => [
|
|
'hidden' => true,
|
|
],
|
|
'responsive' => [
|
|
'hidden' => true,
|
|
],
|
|
'styles-templates' => [
|
|
'hidden' => true,
|
|
],
|
|
);
|
|
}
|
|
}
|
|
|