Skip to content
linchpin edited this page Feb 22, 2023 · 10 revisions

WP_SEO

Class WP_SEO

  • Full name: \CourierNotices\Controller\Integrations\WP_SEO

Methods

register_actions

Register our hooks Exclude notice related post types and taxonomies from the sitemap regardless of options.

public register_actions(): mixed

exclude_courier_notice_taxonomies

Exclude Taxonomy From Yoast SEO Sitemap

public exclude_courier_notice_taxonomies( $value,  $taxonomy): bool

Parameters:

Parameter Type Description
$value ****
$taxonomy ****

exclude_courier_notice_from_search

Exclude Courier Notices from WordPress SEO Sitemaps

public exclude_courier_notice_from_search(bool $value, string $post_type): bool

Parameters:

Parameter Type Description
$value bool Default false.
$post_type string Post type name.


Automatically generated from source code comments on 2023-02-22 using phpDocumentor and saggre/phpdocumentor-markdown