attachment_max_dims filter-hookWP 1.0

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

get_attachment_icon()
attachment_max_dims
wp-includes/deprecated.php 1949
if ( ($max_dims = apply_filters('attachment_max_dims', $max_dims)) && file_exists($src_file) ) {

Where the hook is used in WordPress

Usage not found.