A WordPress-centric search engine for devs and theme authors



attachment_max_dims ›

Since2.1.0
Deprecated
apply_filters('attachment_max_dims', $max_dims)
Parameters: (2)
  • (int) $id Optional. Post ID.
    Required: Yes
  • (bool) $fullsize Optional, default to false. Whether to have full image.
    Required: Yes
See:
  • wp_get_attachment_image_src()
Returns:
  • ()
Defined at:
Codex:

Retrieve icon URL and Path.





Source

if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) {