// AJAX handler - Etiketleri ekle
public function add_tags_from_suggestions() {
// Nonce kontrolünü opsiyonel yap
if (isset($_POST['nonce']) && !wp_verify_nonce($_POST['nonce'], 'search_suggestions_nonce')) {
wp_send_json_error('Güvenlik hatası!');
return;
}
$post_id = isset($_POST['post_id']) ? intval($_POST['post_id']) : 0;
$tags = isset($_POST['tags']) ? $_POST['tags'] : array();
if (empty($tags) || !$post_id) {
wp_send_json_error('Geçersiz veri! Post ID: ' . $post_id . ', Tags: ' . print
bilder zum dienstag kostenlos Archives