Title: diceit's Replies | WordPress.org

---

# diceit

  [  ](https://wordpress.org/support/users/diceit/)

 *   [Profile](https://wordpress.org/support/users/diceit/)
 *   [Topics Started](https://wordpress.org/support/users/diceit/topics/)
 *   [Replies Created](https://wordpress.org/support/users/diceit/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/diceit/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/diceit/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/diceit/engagements/)
 *   [Favorites](https://wordpress.org/support/users/diceit/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Toolset Types - Custom Post Types, Custom Fields and Taxonomies] Datepicker not shown](https://wordpress.org/support/topic/datepicker-not-shown/)
 *  Thread Starter [diceit](https://wordpress.org/support/users/diceit/)
 * (@diceit)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/datepicker-not-shown/#post-9791650)
 * Thanks for the advice. Did take some time but finally was succesful.
 * The plugin causing the fault was [https://wordpress.org/plugins/nggimagerotation/](https://wordpress.org/plugins/nggimagerotation/).
 * I don’t know exactly if its used anymore, so I think we can go further without
   it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[cformsII] Filter hook for checkbox values](https://wordpress.org/support/topic/filter-hook-for-checkbox-values/)
 *  Thread Starter [diceit](https://wordpress.org/support/users/diceit/)
 * (@diceit)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/filter-hook-for-checkbox-values/#post-8643476)
 * In the meantime I got some progress.
 * In a former project I needed to add some extra fields from custom post types 
   to the admin mail. So I added in lib-aux.php ahter the “Excerpt”_replacement:
 *     ```
       $m 	= str_replace( '{Excerpt}',		$post_excerpt, $m );
   
       	// DC: Hook zum Einfuegen eigener Variablen
       	$i = $page;
       	$m = apply_filters( 'cforms_apinst_email_filter', $m, $pid, $i );
       ```
   
 * and hooked the filter in my functions.php
    `add_filter('cforms_apinst_email_filter','
   apinst_email_filter',10,3);`
 * to do somthing like
 *     ```
       function apinst_email_filter( $mailtext, $pid, $i ) {
   
       	// get custom fields
   
       	$custom = get_post_custom($pid);
       	$myvalue=$custom["_myfield"];
       	$mailtext 	= str_replace( '{myplaceholder}',$myvalue, $mailtext );
   
           return $mailtext;
   
       }
       ```
   
 * In the actual project I have to do something similar when the form is rendered.
   I need to read the available values for a checkbox from a list of custom post
   types. After some research my approach is to put the hook in cform.php after 
   line 355, so i can read and modify each field value.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Really Simple CSV Importer] Any Support for Types and Views Custom Fields?](https://wordpress.org/support/topic/any-support-for-types-and-views-custom-fields/)
 *  [diceit](https://wordpress.org/support/users/diceit/)
 * (@diceit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/any-support-for-types-and-views-custom-fields/#post-5493175)
 * Any progress on this topic? It would also be a great help for me.
 * Regards

Viewing 3 replies - 1 through 3 (of 3 total)