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



enclosure_links › Filtr WordPress Hooks

Od4.4.0
Przestarzałyn/a
› apply_filters( 'enclosure_links', $post_links, $post->ID )
Parametry: (2)
  • () post_links An array of enclosure links.
    Wymagane: Tak
  • () post_id Post ID.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the list of enclosure links before querying the database.

Allows for the addition and/or removal of potential enclosures to save to postmeta before checking the database for existing enclosures.




Źródło

$post_links = apply_filters( 'enclosure_links', $post_links, $post->ID );