BP_Document::bp_document_load_gopp_image_editor_gs()

Helper to load BP_GOPP_Image_Editor_GS class.

Description

Source

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

	static function bp_document_load_gopp_image_editor_gs() {
		if ( ! class_exists( 'BP_GOPP_Image_Editor_GS' ) ) {
			if ( ! class_exists( 'WP_Image_Editor' ) ) {
				require ABSPATH . WPINC . '/class-wp-image-editor.php';
			}
			require trailingslashit( dirname( __FILE__ ) ) . '/class-bp-gopp-image-editor-gs.php';
		}
	}

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.