mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-30 11:42:22 +08:00
6 lines
253 B
Text
6 lines
253 B
Text
<?php
|
|
function disable_woocommerce_reviews_remove_dashboard_widgets() {
|
|
remove_meta_box( 'woocommerce_dashboard_recent_reviews', 'dashboard', 'normal');
|
|
}
|
|
add_action('wp_dashboard_setup', 'disable_woocommerce_reviews_remove_dashboard_widgets', 40);
|
|
?>
|