Browse
For agents
About
MainWP Dashboard: Self-hosted WordPress Management for Agencies
/
4.0.5
MainWP Dashboard: Self-hosted WordPress Management for Agencies
v4.0.5
Switch version
6.2
6.1.8
6.1.7
6.1.6
6.1.5
6.1.4
6.1.3
6.1.2
6.1.1
6.1
6.0.12
6.0.11
4.6.0.1
5.0
5.0.1
5.0.2
5.0.3
5.0.3.1
5.0.3.2
5.1
5.1.1
5.2
5.2.1
5.2.2
5.3
All 153 releases
Overview
Code
mainwp
/
class
/
class-mainwp-exception.php
class-mainwp-exception.php
in MainWP Dashboard: Self-hosted WordPress Management for Agencies 4.0.5, at class/class-mainwp-exception.php
17 lines
305 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
<
?
php
2
3
class
MainWP_Exception
extends
Exception
{
4
5
protected
$
messageExtra
;
6
7
public
function
__construct
(
$
message
,
$
extra
=
null
)
{
8
parent
::
__construct
(
$
message
)
;
9
$
this
->
messageExtra
=
esc_html
(
$
extra
)
;
//
more secure
10
}
11
12
public
function
getMessageExtra
(
)
{
13
return
$
this
->
messageExtra
;
14
}
15
16
}
17