wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_sitemaps_posts_entry › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
apply_filters( 'wp_sitemaps_posts_entry', $sitemap_entry, $post, $post_type )
Parametri: (3)
  • (array) $sitemap_entry Sitemap entry for the post.
    Richiesto:
  • (WP_Post) $post Post object.
    Richiesto:
  • (string) $post_type Name of the post_type.
    Richiesto:
Definito a:
Codex:

Filters the sitemap entry for an individual post.





Sorgenti

$sitemap_entry = apply_filters( 'wp_sitemaps_posts_entry', $sitemap_entry, $post, $post_type );