\jb\commonCPT

Class CPT

Summary

Methods
Properties
Constants
__construct()
change_feed_request()
get()
get_taxonomies()
get_post_statuses()
create_post_types()
register_post_statuses()
toolbar_links()
new_cpt_links()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() : mixed

CPT constructor.

Returns

mixed

change_feed_request()

change_feed_request(array  $qv) : array

Feed request changing based on post type

Parameters

array $qv

Returns

array

get()

get() : array

Get all JB CPT

Returns

array

get_taxonomies()

get_taxonomies() : array

Get all CPT taxonomies

Returns

array

get_post_statuses()

get_post_statuses() : array

Get all custom post statuses

Returns

array

create_post_types()

create_post_types() : mixed

Create CPT & Taxonomies

Returns

mixed

register_post_statuses()

register_post_statuses() : mixed

Register Job Board statuses

Returns

mixed

toolbar_links()

toolbar_links(\WP_Admin_Bar  $wp_admin_bar) : mixed

Expand wp-admin bar links

Parameters

\WP_Admin_Bar $wp_admin_bar

Returns

mixed

new_cpt_links()

new_cpt_links(\WP_Admin_Bar  $wp_admin_bar) : mixed

Expand wp-admin bar links

Parameters

\WP_Admin_Bar $wp_admin_bar

Returns

mixed