pods_ui_error

Output an error in the WP Dashboard UI.

Description

pods_ui_error( (string) $message ); 

Parameters (1)

0. $message (string)
The message.

Usage

  1. if ( !function_exists( 'pods_ui_error' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/deprecated/deprecated.php'; 
  3.  
  4. // The message. 
  5. $message = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = pods_ui_error($message); 
  9.  

Defined (1)

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

/deprecated/deprecated.php  
  1. function pods_ui_error ( $message ) { 
  2. pods_deprecated "pods_message", '2.3' ); 
  3.  
  4. pods_message( $message, error );