Support

Account

Home Forums General Issues Creating ACF blocks with a plugin does not find the render_template Reply To: Creating ACF blocks with a plugin does not find the render_template

  • Thanks @philby for the solution :). I can confirmed that code is working.

    Register code below:

    // register pricing table
    acf_register_block_type(array(
                   ...
                   ...
                   'render_template' => plugin_dir_path(__FILE__) . '/template-parts/blocks/pricing-table/pricing-table.php',
                   ...
                   ...
    ));