← Back
Editing: definition.php
<?php /** * Element Definition: Alert */ class CSE_Alert extends BaseClassicElement { public function ui() { return array( 'title' => __( 'Alert', 'cornerstone' ), 'autofocus' => array( 'heading' => '.x-alert .h-alert', 'content' => '.x-alert' ) ); } public function register_shortcode() { return false; } public function flags() { return array( 'protected_keys' => array( 'heading', 'content' ) ); } }
Save File
Cancel