cf_custom_fields_register_metabox_processor

Add the processor.

Description

cf_custom_fields_register_metabox_processor( $processors ); 

Parameters (1)

0. $processors
The processors.

Usage

  1. if ( !function_exists( 'cf_custom_fields_register_metabox_processor' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'caldera-custom-fields/includes/metabox.php'; 
  3.  
  4. // The processors. 
  5. $processors = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = cf_custom_fields_register_metabox_processor($processors); 
  9.  

Defined (2)

The function is defined in the following location(s).

/includes/metabox.php  
  1. function cf_custom_fields_register_metabox_processor($processors) { 
  2. $processors['cf_asmetabox'] = array( 
  3. "name" => __( 'Custom Fields Post Metabox', 'caldera-forms-metabox' ),  
  4. "author" => 'David Cramer',  
  5. "description" => __( 'Use a form as a custom metabox in the post editor.', 'caldera-forms-metabox' ),  
  6. "single" => true,  
  7. "processor" => 'cf_custom_fields_save_meta_data',  
  8. "template" => trailingslashit( CCF_PATH ) . "includes/metabox-config.php",  
  9. "icon" => CCF_URL . "/metabox-icon.png",  
  10. "conditionals" => false,  
  11. ); 
  12. return $processors; 
  13.  
  1. function cf_custom_fields_register_metabox_processor($processors) { 
  2. $processors['cf_asmetabox'] = array( 
  3. "name" => __( 'Custom Fields Post Metabox', 'caldera-forms-metabox' ),  
  4. "author" => 'David Cramer',  
  5. "description" => __( 'Use a form as a custom metabox in the post editor.', 'caldera-forms-metabox' ),  
  6. "single" => true,  
  7. "processor" => 'cf_custom_fields_save_meta_data',  
  8. "template" => trailingslashit( CCF_PATH ) . "includes/metabox-config.php",  
  9. "icon" => CCF_URL . "/metabox-icon.png",  
  10. "conditionals" => false,  
  11. ); 
  12. return $processors; 
  13.