get( 'Version' ) ); } add_action( 'wp_enqueue_scripts', 'fkinfood_styles' ); /* ----------------------------------------------------------------------------------------------- BLOCK PATTERNS Register theme specific block pattern categories. The patterns themselves are stored in /patterns/. --------------------------------------------------------------------------------------------------- */ function fkinfood_register_block_patterns() { // The block pattern categories included in F*KIN FOOD. $fkinfood_block_pattern_categories = apply_filters( 'fkinfood_block_pattern_categories', array( 'fkinfood' => array( 'label' => esc_html__( 'F*KIN FOOD - All', 'fkinfood' ), ), 'fkinfood-blog' => array( 'label' => esc_html__( 'F*KIN FOOD - Blog', 'fkinfood' ), ), 'fkinfood-cta' => array( 'label' => esc_html__( 'F*KIN FOOD - Call to Action', 'fkinfood' ), ), 'fkinfood-general' => array( 'label' => esc_html__( 'F*KIN FOOD - General', 'fkinfood' ), ), 'fkinfood-hero' => array( 'label' => esc_html__( 'F*KIN FOOD - Hero', 'fkinfood' ), ), 'fkinfood-media' => array( 'label' => esc_html__( 'F*KIN FOOD - Media', 'fkinfood' ), ), 'fkinfood-page' => array( 'label' => esc_html__( 'F*KIN FOOD - Page Layouts', 'fkinfood' ), ), ) ); // Sort the block pattern categories alphabetically based on the label value, to ensure alphabetized order when the strings are localized. uasort( $fkinfood_block_pattern_categories, function( $a, $b ) { return strcmp( $a["label"], $b["label"] ); } ); // Register block pattern categories. foreach ( $fkinfood_block_pattern_categories as $slug => $settings ) { register_block_pattern_category( $slug, $settings ); } } add_action( 'init', 'fkinfood_register_block_patterns' ); /* ----------------------------------------------------------------------------------------------- FILTER COMMENT FORM DEFAULTS Modify the heading and title of the comments form. --------------------------------------------------------------------------------------------------- */ function fkinfood_comment_form_defaults( $defaults ) { return array_merge( $defaults, array( 'title_reply_before' => '