Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Inpsyde
MultilingualPress
Factory
ErrorFactory
PHP Interface Inpsyde\MultilingualPress\Factory\ErrorFactory
Since:
3.0.0
Inheritance:
extends
Inpsyde\MultilingualPress\Common\Factory
Mostrar archivo
Open project: inpsyde/multilingual-press
Public Methods
Method
Description
create
(
array
$args
= [],
string
$class
= '' ) :
WP_Error
Returns a new WordPress error object, instantiated with the given arguments.
Method Details
create()
public
method
Returns a new WordPress error object, instantiated with the given arguments.
Since:
3.0.0
public
create
(
array
$args
= [],
string
$class
= '' ) :
WP_Error
$args
array
Optional. Constructor arguments. Defaults to empty array.
$class
string
Optional. Fully qualified class name. Defaults to empty string.
return
WP_Error
WordPress error object.