240, 'width' => 240, 'flex-height' => true, ) ); add_theme_support( 'custom-background', array( 'default-color' => 'ffffff' ) ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); } endif; // apartment_blocks_setup add_action( 'after_setup_theme', 'apartment_blocks_setup' ); function apartment_blocks_scripts() { wp_enqueue_style( 'apartment-blocks-basic-style', get_stylesheet_uri() ); } add_action( 'wp_enqueue_scripts', 'apartment_blocks_scripts' ); // Get start function function apartment_blocks_custom_admin_notice() { // Check if the notice is dismissed if (!get_user_meta(get_current_user_id(), 'dismissed_admin_notice', true)) { // Check if not on the theme documentation page $current_screen = get_current_screen(); if ($current_screen && $current_screen->id !== 'appearance_page_apartment-blocks-guide-page') { $theme = wp_get_theme(); ?>

get('Name')); ?>

esc_url(admin_url('admin-ajax.php')) )); } add_action('admin_enqueue_scripts', 'apartment_blocks_enqueue_admin_script'); // Reset the dismissed notice status when the theme is switched function apartment_blocks_after_switch_theme() { delete_user_meta(get_current_user_id(), 'dismissed_admin_notice'); } add_action('after_switch_theme', 'apartment_blocks_after_switch_theme'); //get-start-function-end// // Block Patterns. require get_template_directory() . '/block-patterns.php'; require get_parent_theme_file_path( '/inc/dashboard/dashboard.php' );