.modal('toggle')
Manually toggles a modal. Returns to the caller before the modal has actually been shown or hidden (i.e. before the shown.bs.modal or hidden.bs.modal event occurs).
Copy
$('#myModal').modal('toggle')
.modal('show')
Manually opens a modal. Returns to the caller before the modal has actually been shown (i.e. before the shown.bs.modal event occurs).
Copy
$('#myModal').modal('show')
.modal('hide')
Manually hides a modal. Returns to the caller before the modal has actually been hidden (i.e. before the hidden.bs.modal event occurs).
Copy
$('#myModal').modal('hide')
use Carbon_Fields\Container;
use Carbon_Fields\Field;
Container::make('theme_options', 'Настройки темы')
->set_icon('dashicons-carrot')
->add_tab('Шапка', array(
Field::make('image', 'est_header_logo', 'Логотип')
->set_width(30),
Field::make('text', 'crb_last_name', 'Last Name')
->set_width(70),
))
->add_tab('Подвал', array(
Field::make('text', 'crb_email', 'Notification Email'),
Field::make('text', 'crb_phone', 'Phone Number'),
));
?>