Groups Post Type Class All functionality pertaining to post types in Disciple_Tools.
| package |
Disciple_Tools\Posts\Groups |
|---|---|
| category |
Plugin |
| author |
Chasm.Solutions & Kingdom.Training |
| since | 0.1.0 |
__construct(string $post_type = 'groups', string $singular = '', string $plural = '', array $args = array(), array $taxonomies = array('Cities'))
string
string
string
array
array
activation()
| access |
public |
|---|---|
| since | 0.1.0 |
flush_rewrite_rules()
| access |
public |
|---|---|
| since | 0.1.0 |
get_channels_list()
get_custom_fields_settings(boolean $include_current_post = true, integer|null $post_id = null, boolean $with_deleted_options = false, boolean $load_from_cache = true) : mixed
boolean
integer|null
boolean
boolean
mixed
get_group_field_defaults( $post_id = null, $include_current_post = null)
get_post_type_settings_hook( $settings, $post_type)
groups_permalink( $post_link, $post) : string
string
groups_rewrites_init()
instance() : \Disciple_Tools_Groups_Post_Type
register_post_type() : void
| access |
public |
|---|---|
post_type : string
| access |
public |
|---|---|
| since | |
| var |
string
singular : string
| access |
public |
|---|---|
| since | |
| var |
string
plural : string
| access |
public |
|---|---|
| since | |
| var |
string
search_items :
args : array
| access |
public |
|---|---|
| since | |
| var |
array
taxonomies : array
| access |
public |
|---|---|
| since | |
| var |
array
_instance : object
| var | |
|---|---|
| access |
private |
| since |
object