' . esc_html__('Settings saved successfully!', 'adaire-blocks') . '
Manage which blocks are available in the Gutenberg editor. Toggle blocks on/off to customize your editing experience.
Available Blocks: $block_data) { if (!empty($block_data['is_auxiliary'])) { continue; } $total_blocks++; if ($block_data['is_premium']) { $premium_blocks++; } else { $free_blocks++; } } echo esc_html( $total_blocks ) . ' blocks available'; if ($config && !$config->is_premium()) { echo ' (' . esc_html( $free_blocks ) . ' free, ' . esc_html( $premium_blocks ) . ' premium)'; } ?>
Current Settings: $value) { // Only count settings for free, non-auxiliary blocks. if (isset($available_blocks[$key])) { $block_data = $available_blocks[$key]; if (!empty($block_data['is_auxiliary'])) { continue; } if (!$block_data['is_premium']) { $total_free++; if ($value) { $enabled_count++; } } } } echo esc_html( $enabled_count ) . ' enabled, ' . esc_html( $total_free - $enabled_count ) . ' disabled'; if ($config && !$config->is_premium() && $premium_blocks > 0) { echo ' (' . esc_html( $premium_blocks ) . ' premium blocks require upgrade)'; } ?>