var form = " . json_encode( $form ) . ';'; } else { echo ""; } ?>
|
'; /** * A filter to allow you to modify the Form Save button * * @param string $save_button The Form Save button HTML */ $save_button = apply_filters( 'gform_save_form_button', $save_button ); echo $save_button; $cancel_button = '' . esc_html__( 'Cancel', 'gravityforms' ) . ''; /** * A filter to allow you to modify the Form Cancel button * * @param string $cancel_button The Form Cancel button HTML */ $cancel_button = apply_filters( 'gform_cancel_form_button', $cancel_button ); echo $cancel_button; if ( GFCommon::current_user_can_any( 'gravityforms_delete_forms' ) ) { $trash_link = '' . __( 'Move to Trash', 'gravityforms' ) . ''; /** * @deprecated */ $trash_link = apply_filters( 'gform_form_delete_link', $trash_link ); /** * Allows for modification of the Form Trash Link. * * @since 2.1.2.3 Added the $form_id param. * @since 1.8 * * @param string $trash_link The Trash link HTML. * @param int $form_id The ID of the form being edited. */ echo apply_filters( 'gform_form_trash_link', $trash_link, $form_id ); } ?> |