Preset category checkbox from URL parameter when creating new post

you can do that on php side with this hook :

// the 2nd "post" of the hook is the post type
add_action("save_post_post", function ($post_id, $post, $update) {
    
    if ($update) { // a post is updated
        return;
    }
    
    if (!isset($_GET["preset_category"])) {
        return;
    }
    
    
    $term = get_term($_GET["preset_category"]);
    
    if (isset($term)) {
        wp_add_object_terms(
              $post_id
            , $term->term_id
            , $term->taxonomy
        );
    }
    
    
}, 10, 3);

casinojojobetpulibet girişOnwin Güncel Giriştürkçe altyazılı pornocanlı bahis casinocanlı bahis casino siteleriOnwin Güncel Girişholiganbetholiganbet girişholiganbet güncel giriş