Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
VersionPress
Initialization
WpdbReplacer
PHP Class VersionPress\Initialization\WpdbReplacer
Exibir arquivo
Open project: versionpress/versionpress
Class Usage Examples
Public Methods
Method
Description
isReplaced
( )
replaceMethods
( )
restoreOriginal
( )
Private Methods
Method
Description
getCodeToInject
( )
injectCode
(
$originalSource
,
$position
,
$code
)
injectVersionPressMethods
(
$wpdbSource
)
replaceMethod
(
$source
,
$method
)
Method Details
isReplaced()
public
static
method
public
static
isReplaced
( )
replaceMethods()
public
static
method
public
static
replaceMethods
( )
restoreOriginal()
public
static
method
public
static
restoreOriginal
( )