sfw_error

Description

Creates general WP_Error

Since: 1.0.0

Code

<?php function sfw_error( $message = '', $data = '' ){ 
	 … 
 } ?>

Parameter

$message
(string) An error message

Default: ''

$data
(mixed) Any data

Default: ''

Return

(WP_Error)

File

core/includes/functions-wp-errors.php