# notifier/2.4.1/notifier.php

WANotifier for Forms and Actions, version 2.4.1. 44 lines.

- Page: https://pluginprobe.com/plugins/notifier/2.4.1/code/notifier.php
- Raw: https://pluginprobe.com/plugins/notifier/2.4.1/raw/notifier.php
- Modified: 2023-06-01T15:22:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/notifier/2.4.1/code/notifier.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: WANotifier - Send Message Notifications Using Cloud API
 * Plugin URI: https://wordpress.org/plugins/notifier/
 * Description: Send WhatsApp message notifications using the official WhatsApp Cloud APIs for Woocommerce orders and form sumissions for Gravity Forms, Contact Form 7 & more.
 * Version: 2.4.1
 * Author: WANotifier.com
 * Author URI: https://wanotifier.com
 * Text Domain: notifier
 * Requires at least: 5.7
 * Requires PHP: 7.4
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Define constants
 */
if ( ! defined( 'NOTIFIER_FILE' ) ) {
	define( 'NOTIFIER_FILE', __FILE__ );
}

if ( ! defined( 'NOTIFIER_PATH' ) ) {
    define('NOTIFIER_PATH', plugin_dir_path( __FILE__ ));
}

/**
 * Load the core plugin file.
 */
require NOTIFIER_PATH . 'includes/class-notifier.php';

/**
 * Begin execution of the plugin.
 *
 * @since   0.1
 */
function run_notifier() {
	$plugin = Notifier::get_instance();
}
run_notifier();

```
