Support

Account

Home Forums General Issues ACF & Templatic Tevolution Are Not Playing Nice Reply To: ACF & Templatic Tevolution Are Not Playing Nice

  • I spen a lot of time to find out desicion.
    The reason – Templatic use remove_all_actions(‘posts_where’) frequently.

    There are 2 function conflict with ACF

    wp-content\plugins\Tevolution\tmplconnector\monetize\templatic-custom_fields\admin_custom_fuctions.php
    function get_post_admin_custom_fields_templ_plugin

    and

    wp-content\plugins\Tevolution\tmplconnector\monetize\templatic-generalization\general_functions.php

    function fetch_heading_per_post_type

    After remove_all_actions(‘posts_where’) you need add ACF filter again
    add_filter(‘posts_where’, ‘wp_posts_where’, 20, 2 );