); if ($exists !== \false) { return $categories; } return array_merge($categories, array(array('slug' => SB_Block_Utils::CATEGORY_SLUG, 'title' => __(SB_Block_Utils::CATEGORY_TITLE, $this->get_text_domain())))); } public function has_feed_block() { return has_block($this->get_block_name()); } public function set_script_translations() { wp_set_script_translations($this->get_script_handle(), $this->get_text_domain(), $this->get_plugin_dir() . 'languages'); } }