WP_Block_Pattern_Categories_Registry The main instance. */ public static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } } /** * Registers a new pattern category. * * @since 5.5.0 * * @param string $category_name Pattern category name including namespace. * @param array $category_properties List of properties for the block pattern. * See WP_Block_Pattern_Categories_Registry::register() for * accepted arguments. * @return bool True if the pattern category was registered with success and false otherwise. */ function register_block_pattern_category( $category_name, $category_properties ) { return WP_Block_Pattern_Categories_Registry::get_instance()->register( $category_name, $category_properties ); } /** * Unregisters a pattern category. * * @since 5.5.0 * * @param string $category_name Pattern category name including namespace. * @return bool True if the pattern category was unregistered with success and false otherwise. */ function unregister_block_pattern_category( $category_name ) { return WP_Block_Pattern_Categories_Registry::get_instance()->unregister( $category_name ); }
Warning: session_start(): Session cannot be started after headers have already been sent in /htdocs/wp-content/plugins/shipping-rate-by-cities/shipping_rate_by_cities.php on line 106

Fatal error: Uncaught Error: Class "PowerpackElements\Modules\ImageAccordion\Module" not found in /htdocs/wp-content/plugins/powerpack-elements/includes/modules-manager.php:102 Stack trace: #0 /htdocs/wp-content/plugins/powerpack-elements/includes/modules-manager.php(131): PowerpackElements\Modules_Manager->register_modules() #1 /htdocs/wp-content/plugins/powerpack-elements/plugin.php(1009): PowerpackElements\Modules_Manager->__construct() #2 /htdocs/wp-includes/class-wp-hook.php(310): PowerpackElements\Powerpackplugin->elementor_init('') #3 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #4 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /htdocs/wp-content/plugins/elementor/includes/plugin.php(658): do_action('elementor/init') #6 /htdocs/wp-includes/class-wp-hook.php(310): Elementor\Plugin->init('') #7 /htdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #8 /htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /htdocs/wp-settings.php(632): do_action('init') #10 /htdocs/wp-config.php(96): require_once('/htdocs/wp-sett...') #11 /htdocs/wp-load.php(50): require_once('/htdocs/wp-conf...') #12 /htdocs/wp-blog-header.php(13): require_once('/htdocs/wp-load...') #13 /htdocs/index.php(17): require('/htdocs/wp-blog...') #14 {main} thrown in /htdocs/wp-content/plugins/powerpack-elements/includes/modules-manager.php on line 102