wpseek.com
A WordPress-centric search engine for devs and theme authors



jpeg_quality › WordPress Filter Hooks

Sincen/a
Deprecatedn/a
apply_filters( 'jpeg_quality', 90, 'edit_image' )
Defined at:
Codex:

This filter is documented in wp-includes/class-wp-image-editor.php



Related Functions: wp_salt, wp_quicktags


Related Hooks: wp_editor_set_quality

Source

return imagejpeg( $image, $filename, apply_filters( 'jpeg_quality', 90, 'edit_image' ) );