render_current();
}
$wrapper = get_block_wrapper_attributes( [ 'class' => 'rooster-route__content', 'data-rooster-ui' => 'rooster-one/route-content' ] );
if ( '' !== $html ) {
AIEO_Engine_Blocks::out( '
' );
echo $html;
AIEO_Engine_Blocks::out( '
' );
return;
}
if ( is_admin() || wp_is_serving_rest_request() ) {
AIEO_Engine_Blocks::out( sprintf( '', $wrapper, esc_html__( "The route's content prints here.", 'ai-eshop-optimizer' ) ) );
}