HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/cga.org.uk/public_html/wp-content/themes/wens-thought/functions.php
<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;


function wens_thought_scripts(){
   // enqueue parent style
	wp_enqueue_style('wens-thought-parent-style', get_template_directory_uri() . '/style.css');
}
add_action('wp_enqueue_scripts', 'wens_thought_scripts');


function wens_thought_register_block_pattern_categories(){
    register_block_pattern_category(
        'wens-thought',
        array( 'label' => __( 'WENS Thought', 'wens-thought' ) )
    );

}
add_action('init', 'wens_thought_register_block_pattern_categories');