[ 'config' => [ 'ExternalFields' => [ 'config' => [ 'key' => 'audio', 'shortcode_element' => 'audio.tcb-audio', ], 'extends' => 'CustomFields', ], ], ], 'typography' => [ 'hidden' => true ], 'background' => [ 'hidden' => true ], 'shadow' => [ 'config' => [ 'disabled_controls' => [ 'inner', 'text' ], ], ], 'animation' => [ 'hidden' => true ], 'layout' => [ 'config' => [ 'Width' => [ 'important' => true, ], 'Height' => [ 'css_suffix' => [ ' iframe', ' > :first-child' ], ], ], 'disabled_controls' => [ 'Overflow', 'ScrollStyle' ], ], ]; } /** * Element category that will be displayed in the sidebar * * @return string */ public function category() { return static::get_thrive_advanced_label(); } /** * Element info * * @return string|string[][] */ public function info() { return [ 'instructions' => [ 'type' => 'help', 'url' => 'audio_element', 'link' => 'https://help.thrivethemes.com/en/articles/4425842-how-to-use-the-audio-element', ], ]; } }