Login

Lost your password?

WordPress e-Commerce Cart

  • Features
    • features
    • Widgets
    • TheCartPress in Your Language
    • Suggest new ideas!
  • Documentation
  • Demo
  • Blog
  • Extend
  • Download
  • Login

Function: tcp get custom fields def

Description

Returns the custom fields definition for a post type.

Usage

<?php tcp_get_custom_fields_def( $post_type ); ?>

Parameters

$post_type 
(string) Post type to search if the custom field exists
return 
(array) array( array( id, label, type, values, desc), … ).

Examples

Change Log

Since 1.1.0

Related

tcp_get_custom_fields | tcp_add_custom_field_def | tcp_delete_custom_field_def | tcp_exists_custom_field_def | tcp_display_custom_fields

Running WordPress & Boot Store theme