Get values of custom fields
-
Hi,
I added a custom field in Mailpoet.
Now I want to include this custom field in a newsletter.
How can I read the value of the custom field via php?I searched for hours but without any success.
I only found this function, which gives me the custom fields, but not the values:WJ_Field::get_all(array('order_by' => 'name ASC'));
Result:
Array ( [0] => WJ_Field Object ( [table:WJ_Field:private] => wp_wysija_custom_field [user_table:WJ_Field:private] => wp_wysija_user [id] => 1 [name] => PLZ [type] => input [required] => [settings] => Array ( [required] => 0 [validate] => ) ) )
Does anybody has an idea? Any suggestion would be great!
Thanks in advance,
Oliver
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Get values of custom fields’ is closed to new replies.