Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Inpsyde
MultilingualPress
Factory
ErrorFactory
PHP Interface Inpsyde\MultilingualPress\Factory\ErrorFactory
Since:
3.0.0
Inheritance:
extends
Inpsyde\MultilingualPress\Common\Factory
Datei anzeigen
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.