How to Make Automatic.css Grid Classes...
Learn how to make Automatic.css grid classes compatible with Bricks Builder. If you...

WPCodeBox
977
Gain greater control over MyListing website reviews with this snippet. Automatically hold all incoming listing reviews for moderation, receive admin email notifications, and approve them manually. Ensure quality content and manage user feedback effectively on your MyListing site.
<?php
/**
* Author: MyListing Club
* Author URI: https://mylisting.club
*/
add_filter( 'pre_comment_approved', function( $commentstatus, $commentdata ) {
$commentstatus = 0;
return $commentstatus;
}, 10, 2 );
add_filter( 'wp_update_comment_data', function( $data, $comment, $commentarr ) {
if ( isset( $data['comment_approved'] ) ) {
$data['comment_approved'] = 0;
}
return $data;
}, 99, 3 );





Move WPCodeBox menu to the top bar for easy access in WordPress.
