BP_Document::bp_document_wp_image_editors( $image_editors )

Called on ‘wp_image_editors’ action.

Description

Adds Ghostscript BP_GOPP_Image_Editor_GS class to head of image editors list.

Source

File: bp-document/classes/class-bp-document.php

	static function bp_document_wp_image_editors( $image_editors ) {
		if ( ! in_array( 'BP_GOPP_Image_Editor_GS', $image_editors, true ) ) {
			self::bp_document_load_gopp_image_editor_gs();
			array_unshift( $image_editors, 'BP_GOPP_Image_Editor_GS' );
		}
		return $image_editors;
	}

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.