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



enclosure_links › WordPress Filter Hooks

Da4.4.0
Deprecaton/a
› apply_filters( 'enclosure_links', $post_links, $post->ID )
Parametri: (2)
  • () post_links An array of enclosure links.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
Definito a:
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.




Sorgenti

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