PluginProbe
Gianism / trunk
Gianism vtrunk
4.3.0 4.3.1 4.3.2 4.3.3 4.3.4 4.4.0 5.0.0 5.0.1 5.0.2 5.1.0 5.2.1 5.2.2 5.3.0 6.0.0 6.0.1 trunk 1.0 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 All 65 releases
gianism / assets / blocks / login / render.php

render.php in Gianism trunk, at assets/blocks/login/render.php

17 lines 446 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Server-side rendering of the `gianism/login` block.
4 *
5 * @package Gianism
6 * @var array $attributes Block attributes.
7 * @var string $content Block default content.
8 * @var WP_Block $block Block instance.
9 */
10
11 $redirect_to = $attributes['redirectTo'] ?? '';
12 $wrapper_attributes = get_block_wrapper_attributes();
13 ?>
14 <div <?php echo $wrapper_attributes; ?>>
15 <?php gianism_login( '', '', $redirect_to ); ?>
16 </div>
17