Automattic\WooCommerce\Internal\Admin\ProductReviews
Reviews::load_javascript()
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() 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(); } }