wp_image_editors

wp_image_editors

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_image_editors') is found 1 times:

  • /wp-includes/media.php line 4119
    	 *
    	 * @param string[] $image_editors Array of available image editor class names. Defaults are
    	 *                                'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD'.
    	 */
    	$implementations = apply_filters( 'wp_image_editors', array( 'WP_Image_Editor_Imagick', 'WP_Image_Editor_GD' ) );
    	$supports_input  = false;
    
    	foreach ( $implementations as $implementation ) {
    		if ( ! call_user_func( array( $implementation, 'test' ), $args ) ) {
    			continue;
    		}
    

See this hook used in plugins: