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
Papi_Admin_Page_Type_Switcher
PHP Class Papi_Admin_Page_Type_Switcher, papi
Mostrar archivo
Open project: wp-papi/papi
Public Methods
Method
Description
__construct
( )
The construct.
admin_init
( )
Admin init hook callback.
metabox
( )
Render metabox.
save_post
(
integer
$post_id
,
WP_post
$post
) :
boolean
Switch page type if all checks pass.
Method Details
__construct()
public
method
The construct.
public
__construct
( )
admin_init()
public
method
Admin init hook callback.
public
admin_init
( )
metabox()
public
method
Render metabox.
public
metabox
( )
save_post()
public
method
Switch page type if all checks pass.
public
save_post
(
integer
$post_id
,
WP_post
$post
) :
boolean
$post_id
integer
$post
WP_post
return
boolean