nf_get_all_notifications

Acts as a wrapper/alias for nf_get_objects_by_type that is specific to notifications.

Description

(array) nf_get_all_notifications(); 

Returns (array)

$notifications


Usage

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

Defined (1)

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

/deprecated/includes/functions.php  
  1. function nf_get_all_notifications() { 
  2. return nf_get_objects_by_type( 'notification' );