Automattic\WooCommerce\Internal\Admin\ProductReviews

Reviews::load_javascript()privateWC 1.0

Loads the JavaScript required for inline replies and quick edit.

Method of the class: Reviews{}

No Hooks.

Return

null. Nothing (null).

Usage

// private - for code of main (parent) class only
$result = $this->load_javascript() : void;

Reviews::load_javascript() code WC 8.7.0

private function load_javascript() : void {
	if ( $this->is_reviews_page() ) {
		wp_enqueue_script( 'admin-comments' );
		enqueue_comment_hotkeys_js();
	}
}