|
@@ -435,7 +435,7 @@ |
|
|
block discarded – undo |
|
435
|
435
|
* @return void |
|
436
|
436
|
*/ |
|
437
|
437
|
public static function api_email_form( $form_key, $title = '', $description = '' ) { |
|
438
|
|
- $user = wp_get_current_user(); |
|
|
438
|
+ $user = wp_get_current_user(); |
|
439
|
439
|
$args = array( |
|
440
|
440
|
'api_url' => 'https://sandbox.formidableforms.com/api/wp-json/frm/v2/forms/' . $form_key . '?return=html&exclude_script=jquery&exclude_style=formidable-css', |
|
441
|
441
|
'title' => $title, |
Please login to merge, or discard this patch.