AR Model Viewer for WooCommerce

Ar_Model_Viewer_For_Woocommerce_Widget extends Widget_Base

The admin-specific functionality of the plugin.

Defines the plugin name, version, and two hooks to enqueue the admin-facing stylesheet and JavaScript. As you add hooks and methods, update this description.

Tags
subpackage

Ar_Model_Viewer_For_Woocommerce/admin

author

Manuel Ramirez Coronel ra_cm@outlook.com

Table of Contents

Methods

get_categories()  : array<string|int, mixed>
Get widget categories.
get_icon()  : string
Get widget icon.
get_name()  : string
Get widget name.
get_title()  : string
Get widget title.
content_template()  : void
Render the widget template in the Elementor editor.
get_all_posts()  : array<string|int, mixed>
Retrieves all posts of the 'ar_model' custom post type.
register_controls()  : void
Register controls for the widget.
render()  : void
Render the widget output in the front-end.

Methods

content_template()

Render the widget template in the Elementor editor.

protected content_template() : void

Provides a live preview of the widget in the Elementor editor.

get_all_posts()

Retrieves all posts of the 'ar_model' custom post type.

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

An array of post titles indexed by post ID.


        
On this page

Search results