WooCommerce Code Reference

Dropdown

Dropdown class. This is a component for reuse with interactivity API.

Table of Contents

render()  : string|false
Render the dropdown.

Methods

render()

Render the dropdown.

public static render(mixed $props) : string|false
Parameters
$props : mixed

The properties to render the dropdown with.

Return values
string|false