nf_delete_on_uninstall_prompt

The Ninja Forms nf delete on uninstall prompt function.

Description

nf_delete_on_uninstall_prompt(); 

Usage

  1. if ( !function_exists( 'nf_delete_on_uninstall_prompt' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/admin/pages/ninja-forms-settings/tabs/general-settings/general-settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nf_delete_on_uninstall_prompt(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/deprecated/includes/admin/pages/ninja-forms-settings/tabs/general-settings/general-settings.php  
  1. function nf_delete_on_uninstall_prompt() { 
  2. ?> 
  3. <div class="nf-delete-on-uninstall-prompt"> 
  4. <?php _e( 'This setting will COMPLETELY remove anything Ninja Forms related upon plugin deletion. This includes SUBMISSIONS and FORMS. It cannot be undone.', 'ninja-forms' ); ?> 
  5. </div> 
  6. <div class="nf-delete-on-uninstall-prompt-buttons"> 
  7. <div id="nf-admin-modal-cancel"> 
  8. <a class="submitdelete deletion modal-close nf-delete-on-uninstall-cancel" href="#"><?php _e( 'Cancel', 'ninja-forms' ); ?></a> 
  9. </div> 
  10. <div id="nf-admin-modal-update"> 
  11. <a class="button-primary nf-delete-on-uninstall-yes" href="#"><?php _e( 'Continue', 'ninja-forms' ); ?></a> 
  12. </div> 
  13. </div> 
  14.  
  15. <?php