• Resolved exentric

    (@exentric)


    Hi
    I am trying to add a record directly into mailpoet, I am using this bit of code in the add edit php pages of the plugin

    $data_subscriber = array(
    	'user' => array(
    		'email' => $column->email,
    		'firstname' => $column->first_name,
    		'lastname' => '',
    	),
    	'user_list' => array(
    		'list_ids' => $list_ids
    	),
    );
    

    Does anyone know how I can get the email and the name from the record being edited or added ?

    thanks in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘get fields’ is closed to new replies.