• Resolved rquang

    (@rquang)


    I am trying to override the wcfm-controller-products.php but there is no filter for the data I am trying to manipulate.

    I am specifically trying to edit this:
    $wcfm_products_json_arr[$index][] = date_i18n( wc_date_format(), strtotime($wcfm_products_single->post_date) );

    As well as add extra actions.

    Please advise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WC Lovers

    (@wclovers)

    HI,

    Well, it’s not possible to override WCFM controllers.

    But don’t worry, we will add this filter for product dates – wcfm_products_date_display

    https://ibb.co/y8NqGYY

    Thank You

    Thread Starter rquang

    (@rquang)

    Thanks for the quick reply.

    When will this filter be added?

    And how do I go about adding additional actions?

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    We will release new update middle of this week.

    There has filter for adding new action – apply_filters ( 'wcfm_products_actions', $actions, $the_product );

    Thank You

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

The topic ‘Override Controllers’ is closed to new replies.