apply_filters ( 'jetpack_sitemap_image_skip_post', bool $skip, WP_POST $post )

Filter condition to allow skipping specific image posts in the sitemap.

Source file: modules/sitemaps/sitemap-builder.php

View in GitHub

Parameters

$skip

(bool) Current boolean. False by default, so no post is skipped.

$post

(WP_POST) Current post object.


Changelog

Since: Jetpack 4.8.0


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s