Skip to content

Commit

Permalink
code doc block explaning how to use ACF with this files
Browse files Browse the repository at this point in the history
  • Loading branch information
guzmandrade-wds committed Sep 3, 2023
1 parent 3cab25b commit e01036d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inc/wpcli/block-starter/block.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @package wd_f
*/

// ACF (Pro or Free) can be used here since we are loading this block using <ServerSideRender> (for the Free version), and adding this file as ACF render template.
// However, if using the free version of ACF, you would need to refresh the edit page to see your changes on the edit page.
?>
<p <?php echo esc_attr( get_block_wrapper_attributes() ); ?>>
<?php esc_html_e( 'Example Dynamic - hello from a dynamic block!', 'wd_f' ); ?>
Expand Down

0 comments on commit e01036d

Please sign in to comment.