Title: Example custom function call code
Last modified: April 26, 2017

---

# Example custom function call code

 *  Resolved [katiefanning](https://wordpress.org/support/users/katiefanning/)
 * (@katiefanning)
 * [9 years ago](https://wordpress.org/support/topic/example-custom-function-call-code/)
 * Would you be able to provide an example for the cbfc_flexible_countdown custom
   function call that could be used as a starting point to insert into a page template?
   I am not very strong with the coding part of this. I have looked at the documentation-
   ref40.pdf with the How to call/use function and I must be missing some part of
   the code.
 * Thank you in advance!

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

 *  Plugin Author [Sabuj Kundu](https://wordpress.org/support/users/manchumahara/)
 * (@manchumahara)
 * [9 years ago](https://wordpress.org/support/topic/example-custom-function-call-code/#post-9130710)
 * Hi,
 * I think the code base changed a lot than the documentation file ! If you check
   our widget code or shortcode methods it will be easy
 * Here is sample code from widget but not copy paste to work, [you will get clue
   how it works or which function to check]
 *  $args[‘type’] = $instance[‘cbfc_countdown_style’];
    $args[‘date’] = $instance[‘
   cbfc_date’]; $args[‘hour’] = $instance[‘cbfc_hour’]; $args[‘minute’] = $instance[‘
   cbfc_min’];
 *  $args = apply_filters(‘cbxflexiblecountdownwidgetwidget’, $args, $instance);
 *  echo Codeboxr_Flexible_CountDown::cbfc_get_flexible_countdown($args);
 *  Plugin Author [Sabuj Kundu](https://wordpress.org/support/users/manchumahara/)
 * (@manchumahara)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/example-custom-function-call-code/#post-9182122)
 * Closing this ticket

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

The topic ‘Example custom function call code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/codeboxrflexiblecountdown_ffffff.
   svg)
 * [CBX Flexible Countdown](https://wordpress.org/plugins/codeboxrflexiblecountdown/)
 * [Support Threads](https://wordpress.org/support/plugin/codeboxrflexiblecountdown/)
 * [Active Topics](https://wordpress.org/support/plugin/codeboxrflexiblecountdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/codeboxrflexiblecountdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/codeboxrflexiblecountdown/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sabuj Kundu](https://wordpress.org/support/users/manchumahara/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/example-custom-function-call-code/#post-9182122)
 * Status: resolved