DescriptionDescription
This action is fired before the HTML card wrapper start. It allows to add custom HTML before the card wrapper.
ArgumentsArguments
Argument | Type | Description |
$card | array | Holds card layout (layers/blocks) definition |
ExampleExample
PHP
functions.php
function prefix_card_wrapper_start( $card ) {
// Output your HTML here.
}
add_action( 'wp_grid_builder/card/wrapper_start', 'prefix_card_wrapper_start', 10, 1 );