wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_sitemaps_posts_entry › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'wp_sitemaps_posts_entry', $sitemap_entry, $post, $post_type )
Parametry: (3)
  • (array) $sitemap_entry Sitemap entry for the post.
    Wymagane: Tak
  • (WP_Post) $post Post object.
    Wymagane: Tak
  • (string) $post_type Name of the post_type.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the sitemap entry for an individual post.





Źródło

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