eturn bool */ protected function should_show_search_engines_discouraged_notification() { return $this->search_engines_are_discouraged() && $this->options_helper->get( 'ignore_search_engines_discouraged_notice', false ) === false; } /** * Remove the search engines discouraged notification if it exists. * * @return void */ protected function remove_search_engines_discouraged_notification_if_exists() { $this->notification_center->remove_notification_by_id( self::NOTIFICATION_ID ); } /** * Add the search engines discouraged notification if it does not exist yet. * * @return void */ protected function maybe_add_search_engines_discouraged_notification() { if ( ! $this->notification_center->get_notification_by_id( self::NOTIFICATION_ID ) ) { $notification = $this->notification(); $this->notification_helper->restore_notification( $notification ); $this->notification_center->add_notification( $notification ); } } /** * Checks whether search engines are discouraged from indexing the site. * * @return bool Whether search engines are discouraged from indexing the site. */ protected function search_engines_are_discouraged() { return (string) \get_option( 'blog_public' ) === '0'; } /** * Whether the search engines notice should be shown. * * @return bool */ protected function should_show_search_engines_discouraged_notice() { $pages_to_show_notice = [ 'index.php', 'plugins.php', 'update-core.php', ]; return ( $this->search_engines_are_discouraged() && $this->capability_helper->current_user_can( 'manage_options' ) && $this->options_helper->get( 'ignore_search_engines_discouraged_notice', false ) === false && ( $this->current_page_helper->is_yoast_seo_page() || \in_array( $this->current_page_helper->get_current_admin_page(), $pages_to_show_notice, true ) ) && $this->current_page_helper->get_current_yoast_seo_page() !== 'wpseo_dashboard' ); } /** * Show the search engines discouraged notice. * * @return void */ protected function show_search_engines_discouraged_notice() { \printf( '
%1$s
', // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output from present() is considered safe. $this->presenter->present() ); } /** * Returns an instance of the notification. * * @return Yoast_Notification The notification to show. */ protected function notification() { return new Yoast_Notification( $this->presenter->present(), [ 'type' => Yoast_Notification::ERROR, 'id' => self::NOTIFICATION_ID, 'capabilities' => 'wpseo_manage_options', 'priority' => 1, ] ); } /** * Should restore the ignore option for the search engines discouraged notice. * * @return void */ public function restore_ignore_option() { if ( ! $this->search_engines_are_discouraged() ) { $this->options_helper->set( 'ignore_search_engines_discouraged_notice', false ); } } } Plumbing Contractor in Hendersonville, NC | Pinnacle Plumbing
Skip to content

Pinnacle Plumbing Solutions

Plumbing contractor in Hendersonville, NC

Contact Us

    A Few Plumbing

    Services We offer

    We provide top of the line plumbing services in your area. Select one of our services below to learn more about the work and guarantees we offer.

    plumbing tools

    Plumbing
    Repairs

    Learn More
    pipes

    Drain
    Cleaning

    Learn More
    waterdrops

    Water
    Heaters

    Learn More
    pipe drains

    Gas Piping
    Services

    Learn More

    ABOUT US

    Pinnacle Plumbing is a local, family-owned and operated company dedicated to providing top-notch solutions to all your plumbing needs. Whether the problem is big or small, Pinnacle has the answer backed by over thirty years of experience.


    Residential or commercial; new construction or remodels, our knowledgeable crews offer both traditional and ground-breaking solutions to jobs of all sizes.


    Along with the classic list of services Pinnacle Plumbing has always offered, we are now proud to include Jetting and the revolutionary Picote Brush Coating system, as part of our ongoing commitment to being the most advanced and effective plumbing company in Western North Carolina.

    plumber working on the sewer

    CALL TO SCHEDULE YOUR ESTIMATE!

    Call Us Today: 828-329-9444
    or
    Click the button below to send a message!

    Contact Us

    Schedule a Service Today