wp_imagecreatetruecolor( int $width, int $height ): resource|GdImage|false

In this article

Creates a new GD image resource with transparency support.

Parameters

$widthintrequired
Image width in pixels.
$heightintrequired
Image height in pixels.

Return

resource|GdImage|false The GD image resource or GdImage instance on success.
False on failure.

Source


	if ( 'names' === $output ) {
		$taxonomies = array_unique( $taxonomies );
	}

	return $taxonomies;
}

/**
 * Retrieves all of the taxonomies that are registered for attachments.
 *
 * Handles mime-type-specific taxonomies such as attachment:image and attachment:video.

Changelog

VersionDescription
2.9.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.