indikatordesign

KK Form Processed Data

Feb 13th, 2017
107
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $_POST['identifier'];
  4.  
  5. if($parts[1] == "identifier")
  6.     $formIdentifier = sanitize_key( $value );
  7.  
  8. // ...
  9.  
  10. $formIdentifier = isset( $formIdentifier ) ? '_' . $formIdentifier : '';
  11.  
  12. do_action( "kk_form_data_processed{$formIdentifier}", $flamingo_args );
  13.  
  14. if( $record_to_flamingo === 'on' )
  15.     $inboundMsg = Flamingo_Inbound_Message::add( $flamingo_args );
RAW Paste Data