<?php
/**
 * Register Block Pattern Categories
 *
 * @package Sophia
 * @since 1.0.0
 */
// Prevent direct access
if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
/**
 * Register custom pattern category for Sophia theme
 */
function sophia_register_pattern_categories() {
    if ( function_exists( 'register_block_pattern_category' ) ) {
        
        // Main theme category
        register_block_pattern_category(
            'sophia',
            array( 
                'label' => __( 'All Sophia Patterns', 'sophia-lite' ),
                'description' => __( 'Sophia theme patterns', 'sophia-lite' )
            )
        );
    }
}
add_action( 'init', 'sophia_register_pattern_categories' );