9.24 | WP Date / Time Format ? Add new listing / date time picker conflict?

WordPress Business Themes Forums Responsive Themes Coupon Theme 9.24 | WP Date / Time Format ? Add new listing / date time picker conflict? Reply To: 9.24 | WP Date / Time Format ? Add new listing / date time picker conflict?

WordPress Business Themes Forums Responsive Themes Coupon Theme 9.24 | WP Date / Time Format ? Add new listing / date time picker conflict? Reply To: 9.24 | WP Date / Time Format ? Add new listing / date time picker conflict?

  • JamesD
    JamesD
    Super Guru 1,289 points

    @Chris

    I should also add that either of those methods (changing ACF core files) are more of “hacks” and not really the best.

    Note: The following method is recommended.
    Ideally, you would want something like this within your ‘_functions.php’ file:

    function pp_acf_init() {
        acf_update_setting('enqueue_datetimepicker', false);
    }
    add_action('acf/init', 'pp_acf_init');

    If you already have a custom function for the ‘acf/init’ then just add acf_update_setting('enqueue_datetimepicker', false); within that function.

    January 13, 2019 at 10:29 pm
  • Didn't find what you were after?

    Chat with us now

    or contact our support team