Automattic\WooCommerce\Internal\Admin\ProductReviews
ReviewsCommentsOverrides::display_notices()
Renders admin notices.
Method of the class: ReviewsCommentsOverrides{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->display_notices() : void;
ReviewsCommentsOverrides::display_notices() ReviewsCommentsOverrides::display notices code WC 8.6.1
protected function display_notices() : void { $screen = get_current_screen(); if ( empty( $screen ) || $screen->base !== 'edit-comments' ) { return; } $this->maybe_display_reviews_moved_notice(); }