Exemplo n.º 1
0
function sk2_form_insert($id = 0)
{
    global $sk2_settings;
    if (!$id) {
        global $post;
        $id = $post->ID;
    }
    require_once dirname(__FILE__) . "/sk2_core_class.php";
    $sk2_core = new sk2_core(0, false);
    $sk2_core->form_insert($id);
    $sk2_settings->save_settings();
}