Seo::print_meta_description()

Summary

No summary available.

Return

(void)


Source

File: src/BigCommerce/Post_Types/Product/Seo.php

	public function print_meta_description() {
		if ( ! is_singular( Product::NAME ) ) {
			return;
		}

		$description = $this->get_meta_description( get_queried_object_id() );

		if ( empty( $description ) ) {
			return;
		}

		printf( '<meta name="description" content="%s" />' . "\n", esc_attr( $description ) );
	}

User Contributed Notes

You must log in before being able to contribute a note or feedback.