wp_create_thumbnail

wp_create_thumbnail

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.6.2

apply_filters('wp_create_thumbnail') is found 1 times:

  • /wp-admin/includes/deprecated.php line 1137
     * @return string Thumbnail path on success, Error string on failure.
     */
    function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
    	_deprecated_function( __FUNCTION__, '3.5.0', 'image_resize()' );
    	return apply_filters( 'wp_create_thumbnail', image_resize( $file, $max_side, $max_side ) );
    }
    
    /**
     * This was once used to display a meta box for the nav menu theme locations.
     *
     * Deprecated in favor of a 'Manage Locations' tab added to nav menus management screen.