attachment_max_dims
Usage
add_filter( 'attachment_max_dims', 'wp_kama_attachment_max_dims_filter' ); /** * Function for `attachment_max_dims` filter-hook. * * @param $max_dims * * @return */ function wp_kama_attachment_max_dims_filter( $max_dims ){ // filter... return $max_dims; }
- $max_dims
- -
Where the hook is called
attachment_max_dims
wp-includes/deprecated.php 1951
if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) {