Filter Hooks and Action Hooks
Filter Hooks applied before submitting: apply_filters( ‘pafe/form_builder/fields’, $fields ); apply_filters( ‘piotnetforms/form_builder/form_settings’, $settings); The Filter Hook for Stripe metadata: apply_filters( ‘pafe_customs_metadata_stripe’, $fields_metadata ); Action Hooks applied after submitting: do_action(‘pafe/form_builder/new_record’,$record) . $record ($fields) is an array of fields, e.g:array( array(‘label’=>’Email’, ‘name’=>’email’, ‘value’=>’support@piotnet.com’) , array(‘label’=>’Message’, ‘name’=>’message’, ‘value’=>’Hello’)) Push and Pull data from Another API How to
... [Đọc tiếp]