Created
October 28, 2018 23:17
-
-
Save palmiak/a5c20722747e8a88632c762df4f9e3be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_acf_block_render_callback( $block ) { | |
$vars['block'] = $block; | |
$vars['fields'] = get_fields(); | |
Timber::render( '/template-parts/block/content-testimonial.twig', $vars ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment