Newsletters: Action – wpml_field_saved
Description
wpml_field_saved is fired after a custom field has been saved.
Arguments
$field_id (ID of the field which was saved), $data (an Array of data for the saved field)
Example
Below is an example of how to use the wpml_field_saved action hook.
function myfunc_field_saved($field_id = null, $data = null) {
echo 'Field ID is: ' . $field_id;
//do something with the $data Array if you want to.
}
add_action('wpml_field_saved', 'myfunc_field_saved', 10, 2);
Website & Email Hosting
Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.
