Automattic\WooCommerce\Blocks\BlockTypes
MiniCart::render_mini_cart_overlay
Echoes the Interactivity API Mini Cart overlay markup.
Method of the class: MiniCart{}
No Hooks.
Returns
void. Nothing (null).
Usage
$MiniCart = new MiniCart(); $MiniCart->render_mini_cart_overlay();
Changelog
| Since 11.3.0 | Introduced. |
MiniCart::render_mini_cart_overlay() MiniCart::render mini cart overlay code WC 11.3.0
public function render_mini_cart_overlay() {
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
echo $this->overlay_markup;
}