The render_callback
function receives the block attributes as the first argument:
function render_latest_post( $attributes ) {
$column_size = $attributes['columnSize'];
// etc.
}
The render_callback
function receives the block attributes as the first argument:
function render_latest_post( $attributes ) {
$column_size = $attributes['columnSize'];
// etc.
}