AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME
Define the Plugin basename
public
mixed
AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME
= \plugin_basename(__FILE__)
Define the Plugin basename
public
mixed
AR_MODEL_VIEWER_FOR_WOOCOMMERCE_BASE_NAME
= \plugin_basename(__FILE__)
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.
ar_model_viewer_for_woocommerce_fs() : mixed
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.
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_uninstall() : mixed
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.