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.7.1

apply_filters('wp_image_editors') is found 1 times:

  • /wp-includes/media.php line 4241
    	 *
    	 * @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' ) );
    
    	$editors = wp_cache_get( 'wp_image_editor_choose', 'image_editor' );
    
    	if ( ! is_array( $editors ) ) {
    		$editors = array();
    	}
    

See this hook used in plugins: