Ajax_Product_Taxonomy extends Base_Data_Control

Ajax_Product_Categories control class for Elementor integration.

Allows searching and selecting terms from any specified taxonomy.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

content_template()  : void
Get the control's template.
enqueue()  : void
Enqueue control scripts and styles.
get_type()  : string
Get the control type.
get_default_settings()  : array<string|int, mixed>
Get default control settings.

Methods

content_template()

Get the control's template.

public content_template() : void

Generates the template for the control's content which includes the select2 field for category selection.

Return values
void

enqueue()

Enqueue control scripts and styles.

public enqueue() : void
Return values
void

get_type()

Get the control type.

public get_type() : string
Return values
string

Control type.

get_default_settings()

Get default control settings.

protected get_default_settings() : array<string|int, mixed>
Return values
array<string|int, mixed>

Default settings array.

Search results