first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
foreach ( $settings_stack as $key => $args ) {
$args['value'] = isset( $saved_settings[ $location ][ $key ] ) ? $saved_settings[ $location ][ $key ] : $args['value'];
$args['class'] = isset( $args['class'] ) ? $args['class'] . ' jet-menu-control' : 'jet-menu-control';
$args['id'] = sprintf( '%1$s-%2$s', $location, $args['id'] );
$args['name'] = sprintf( '%1$s[%2$s]', $location, $args['name'] );
$instance = jet_menu()->ui()->get_ui_element_instance( $args['type'], $args );
printf( '<div>%s</div>', $instance->render() );
}