Un motore di ricerca WordPress per sviluppatori e autori di temi



load_image_to_edit_attachmenturl ›

Da3.1.0
Deprecaton/a
apply_filters( 'load_image_to_edit_attachmenturl', wp_get_attachment_url( $attachment_id )
Parametri: (3)
  • (string) $image_url Current image URL.
    Richiesto:
  • (string) $attachment_id Attachment ID.
    Richiesto:
  • (string) $size Size of the image.
    Richiesto:
Definito a:
Codex:

Filters the image URL if not in the local filesystem.

The filter is only evaluated if fopen is enabled on the server.





Sorgenti

$filepath = apply_filters( 'load_image_to_edit_attachmenturl', wp_get_attachment_url( $attachment_id ), $attachment_id, $size );