cf_custom_fields_init
The Caldera Custom Fields cf custom fields init function.
Description
cf_custom_fields_init();
Usage
if ( !function_exists( 'cf_custom_fields_init' ) ) { require_once ABSPATH . PLUGINDIR . 'caldera-custom-fields/core.php'; } // NOTICE! Understand what this does before running. $result = cf_custom_fields_init();
Defined (1)
The function is defined in the following location(s).
- /core.php
- function cf_custom_fields_init() {
- if( class_exists( 'Caldera_Forms_Fields' ) ) {
- include_once( CCF_PATH . '/includes/metabox.php' );
- include_once( CCF_PATH . '/includes/to-post-type.php' );
- }else{
- add_action( 'admin_notices', 'cf_custom_fields_need_cf_update_notice' );
- }
- }