Class Disciple_Tools_Contact_Post_Type Disciple_Tools Plugin Contacts Post Type Class All functionality pertaining to contacts post types in Disciple_Tools.
| package |
Disciple_Tools\Posts\Contacts |
|---|---|
| category |
Plugin |
| author |
Chasm.Solutions & Kingdom.Training |
| since | 0.1.0 |
__construct(string $post_type = 'contacts', string $singular = '', string $plural = '', array $args = array(), array $taxonomies = array())
string
string
string
array
array
activation()
| access |
public |
|---|---|
| since | 0.1.0 |
contact_fields(\int $post_id) : array
\int
array
contacts_permalink( $post_link, $post) : string
string
contacts_rewrites_init()
dt_get_custom_channels_translation( $channel_list)
dt_get_custom_fields_translation( $fields, $post_type)
flush_rewrite_rules()
| access |
public |
|---|---|
| since | 0.1.0 |
get_channels_list() : mixed
| access |
public |
|---|---|
| since | 0.1.0 |
mixed
get_contact_field_defaults( $post_id = null, $include_current_post = null)
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_post_type_settings_hook( $settings, $post_type)
get_type_name_plural()
get_type_name_singular()
instance() : \Disciple_Tools_Contact_Post_Type
register_post_type() : void
| access |
public |
|---|---|
unique_hash() : boolean|string
boolean|string
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