render( $block, $content, $postId ); } protected function render( $block, $content, $postId ) { $text = get_field( 'text' ); $text = $this->replaceDynamicTags( $text, $postId ); print '
' . $text . '
'; $boxedWidth = get_field( 'boxed_width' ); if( $boxedWidth ) { $maxWidth = get_field('max_width'); print ''; } } }