Function: tcp exists custom field def

Description

Returns true if a custom field is defined for a post type.

Usage

<?php tcp_exists_custom_field_def( $post_type, $id ); ?>

Parameters

$post_type 
(string) Post type to search if the custom field exists
$id 
(string) the custom field identifier.

Examples

Since/

1.1.0

Source File

tcp_exists_custom_field_def() is located in templates/tcp_template_custom_fields.php

Related

tcp_get_custom_fields_def | tcp_get_custom_fields | tcp_add_custom_field_def | tcp_delete_custom_field_def | tcp_display_custom_fields