array('label' => __('Blockpage: Headers', 'blockpage')), 'blockpage-footer' => array('label' => __('Blockpage: Footers', 'blockpage')), 'blockpage-banner' => array('label' => __('Blockpage: Banners', 'blockpage')), 'blockpage-about' => array('label' => __('Blockpage: Content/About Blocks', 'blockpage')), 'blockpage-service' => array('label' => __('Blockpage: Service Blocks', 'blockpage')), 'blockpage-cta' => array('label' => __('Blockpage:Call To Action', 'blockpage')), 'blockpage-counter' => array('label' => __('Blockpage: Stats Counters', 'blockpage')), 'blockpage-testimonial' => array('label' => __('Blockpage: Testimonials', 'blockpage')), 'blockpage-team' => array('label' => __('Blockpage: Team Blocks', 'blockpage')), 'blockpage-portfolio' => array('label' => __('Blockpage: Portfolio Blocks', 'blockpage')), 'blockpage-pricing' => array('label' => __('Blockpage: Pricing Tables', 'blockpage')), 'blockpage-posts' => array('label' => __('Blockpage: Post Blocks', 'blockpage')), 'blockpage-brandings' => array('label' => __('Blockpage: Brands Logo Showcase', 'blockpage')), 'blockpage-whychoose' => array('label' => __('Blockpage: Why Choose Us Block', 'blockpage')), 'blockpage-woo' => array('label' => __('Blockpage: WooCommerce Block', 'blockpage')), 'blockpage-faq' => array('label' => __('Blockpage: FAQ Blocks', 'blockpage')), 'blockpage-notice' => array('label' => __('Blockpage: Notice/Announcement Bar', 'blockpage')), 'blockpage-conatctblock' => array('label' => __('Blockpage: Conatct Blocks', 'blockpage')), 'blockpage-timelines' => array('label' => __('Blockpage: Content Timeline', 'blockpage')), 'blockpage' => array('label' => __('Blockpage: Extra Blocks', 'blockpage')), ); $block_pattern_categories = apply_filters('blockpage_block_pattern_categories', $block_pattern_categories); foreach ($block_pattern_categories as $name => $properties) { if (!WP_Block_Pattern_Categories_Registry::get_instance()->is_registered($name)) { register_block_pattern_category($name, $properties); // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_pattern_category } } } add_action('init', 'blockpage_register_pattern_category', 9);