AR Model Viewer for WooCommerce

ar-model-viewer-for-woocommerce.php

The plugin bootstrap file

This file is read by WordPress or ClassicPress to generate the plugin information in the plugin admin area. This file also includes all of the dependencies used by the plugin, registers the activation and deactivation functions, and defines a function that starts the plugin.

Tags
link
https://racmanuel.dev
since
1.0.0
wordpress-plugin

Plugin Name: AR Model Viewer for WooCommerce Plugin URI: https://racmanuel.dev/plugins-wordpress/ar-model-viewer-for-woocommerce/ Description: Display 3D models of your products in augmented reality (AR) directly in the browser on iOS and Android devices. Supports .glb files and AI-powered features to generate 3D models from text or images with meshy.ai. Version: 2.0.0 Author: Manuel Ramirez Coronel Requires at least: 5.9 Requires PHP: 7.4 Tested up to: 6.6 Requires Plugins: woocommerce WC requires at least: 3.9 WC tested up to: 9.3 Author URI: https://racmanuel.dev/ License: GPL-2.0+ License URI: https://www.gnu.org/licenses/gpl-2.0.txt Text Domain: ar-model-viewer-for-woocommerce Domain Path: /languages

fs_premium_only

/admin/class-ar-model-viewer-for-woocommerce-admin-pro.php

Table of Contents

Constants

AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME  = \plugin_basename(__FILE__)
Define the Plugin basename
AR_MODEL_VIEWER_FOR_WOOCOMMERCE_VERSION  = '2.0.0'
Current plugin version.

Functions

ar_model_viewer_for_woocommerce_fs()  : mixed
ar_model_viewer_for_woocommerce_activate()  : mixed
The code that runs during plugin activation.
ar_model_viewer_for_woocommerce_deactivate()  : mixed
The code that runs during plugin deactivation.
ar_model_viewer_for_woocommerce_uninstall()  : mixed
ar_model_viewer_for_woocommerce_run()  : mixed
Begins execution of the plugin.

Constants

AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME

Define the Plugin basename

public mixed AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME = \plugin_basename(__FILE__)

AR_MODEL_VIEWER_FOR_WOOCOMMERCE_VERSION

Current plugin version.

public mixed AR_MODEL_VIEWER_FOR_WOOCOMMERCE_VERSION = '2.0.0'

Start at version 1.0.0 and use SemVer - https://semver.org Rename this for your plugin and update it as you release new versions.

Functions

ar_model_viewer_for_woocommerce_activate()

The code that runs during plugin activation.

ar_model_viewer_for_woocommerce_activate() : mixed

This action is documented in includes/class-ar-model-viewer-for-woocommerce-activator.php Full security checks are performed inside the class.

ar_model_viewer_for_woocommerce_deactivate()

The code that runs during plugin deactivation.

ar_model_viewer_for_woocommerce_deactivate() : mixed

This action is documented in includes/class-ar-model-viewer-for-woocommerce-deactivator.php Full security checks are performed inside the class.

ar_model_viewer_for_woocommerce_run()

Begins execution of the plugin.

ar_model_viewer_for_woocommerce_run() : mixed

Since everything within the plugin is registered via hooks, kicking off the plugin from this point in the file does not affect the page life cycle.

Generally you will want to hook this function, instead of callign it globally. However since the purpose of your plugin is not known until you write it, we include the function globally.

Tags
since
1.0.0

        
On this page

Search results