Car Demon Code Docs

  1. Home
  2. Car Demon Code Docs
  3. Form Filters
  4. cd_finance_filter


This filter can be used to modify the finance form.

apply_filters(‘cd_finance_filter’, $form);

add_filter( 'cd_finance_filter', 'my_finance', 10, 1);
function my_finance( $form ) {

    $form = '<div class="my_class">' . $form . '</div>';

    return $form;

The example above wraps the finance form in a <div> tag with a CSS class of “my_class”.

Was this article helpful to you? Yes No

How can we help?