Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action(‘{hookname}’, ‘my_function_name}’, 10, 3 );
- // first param: Form Object
- // second param: Save ID of post/user/custom
- // third param: Field Object
- function my_function_name( $form, $save_id, $field ) {
- // Do whatever you want here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement