Support » Plugin: Caldera Forms Run Action » Post Process

  • vettura

    (@vettura)


    What am I doing wrong?

    <?php
    add_action(‘post_process_run_action’, ‘hello’, 2);
    function hello($data){
    global $wpdb;
    $a = $wpdb->prefix.’lkw_products’;
    $wpdb->insert($a, array(
    ‘name’ => 123,
    ‘ProductID’ => 456));
    }

    • This topic was modified 5 months ago by  vettura.
Viewing 2 replies - 1 through 2 (of 2 total)
  • vettura

    (@vettura)

    Позиция Post-Process
    Type actions
    Action / Filter post_process_run_action

    vettura

    (@vettura)

    I am writing this code in my plug-in file, not in the function.php file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.