\jb\adminMetabox

Class Metabox

Summary

Methods
Properties
Constants
__construct()
job_type_create()
job_type_edit()
save_job_type_meta()
add_metabox()
load_metabox_job()
add_metabox_job()
save_metabox_job()
$nonce
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$nonce

$nonce : array

Type

normal

Methods

__construct()

__construct() : mixed

Metabox constructor.

Returns

mixed

job_type_create()

job_type_create() : mixed

Add custom fields on Job Type Create form

Returns

mixed

job_type_edit()

job_type_edit(\WP_Term  $term) : mixed

Add custom fields on Job Type Edit form

Parameters

\WP_Term $term

Returns

mixed

save_job_type_meta()

save_job_type_meta(int  $term_id) : mixed

Save custom data for Job Type

Parameters

int $term_id

Returns

mixed

add_metabox()

add_metabox() : mixed

Checking CPT screen

Returns

mixed

load_metabox_job()

load_metabox_job(object  $job, array  $box) : mixed

Load a form metabox

Parameters

object $job

Not used.

array $box

Returns

mixed

add_metabox_job()

add_metabox_job() : mixed

Add form metabox

Returns

mixed

save_metabox_job()

save_metabox_job(int  $post_id, \WP_Post  $post) : mixed

Save job metabox

Parameters

int $post_id
\WP_Post $post

Returns

mixed