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



attachment_url_to_postid › WordPress Filter Hooks

Da4.2.0
Deprecaton/a
› apply_filters( 'attachment_url_to_postid', $post_id, $url )
Parametri: (2)
  • () post_id The post_id (if any) found by the function.
    Richiesto: Sì
  • () url The URL being looked up.
    Richiesto: Sì
Definito a:
Codex:

Filters an attachment ID found by URL.





Sorgenti

return (int) apply_filters( 'attachment_url_to_postid', $post_id, $url );