PluginProbe
Absolute Reviews / trunk
Absolute Reviews vtrunk
trunk 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7
absolute-reviews / absolute-reviews.php

absolute-reviews.php in Absolute Reviews trunk, at absolute-reviews.php

65 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Absolute Reviews
4 * Description: Add beautiful responsive and modern review boxes with valid JSON-LD schema to your posts with the "Advanced Reviews" plugin.
5 * Version: 1.1.7
6 * Author: Code Supply Co.
7 * Author URI: https://codesupply.co
8 * License: GPL-2.0+
9 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
10 * Text Domain: absolute-reviews
11 * Domain Path: /languages
12 *
13 * @link https://codesupply.co
14 * @package ABR
15 */
16
17 // If this file is called directly, abort.
18 if ( ! defined( 'WPINC' ) ) {
19 die;
20 }
21
22 /**
23 * Variables
24 */
25 define( 'ABR_URL', plugin_dir_url( __FILE__ ) );
26 define( 'ABR_PATH', plugin_dir_path( __FILE__ ) );
27
28 /**
29 * Plugin Activation.
30 */
31 function abr_activation() {
32 do_action( 'abr_activation' );
33 }
34 register_activation_hook( __FILE__, 'abr_activation' );
35
36 /**
37 * Plugin Deactivation.
38 */
39 function abr_deactivation() {
40 do_action( 'abr_deactivation' );
41 }
42 register_deactivation_hook( __FILE__, 'abr_deactivation' );
43
44 /**
45 * The core plugin class that is used to define internationalization,
46 * admin-specific hooks, and public-facing site hooks.
47 */
48 require plugin_dir_path( __FILE__ ) . 'includes/class-absolute-reviews.php';
49
50 /**
51 * Begins execution of the plugin.
52 *
53 * Since everything within the plugin is registered via hooks,
54 * then kicking off the plugin from this point in the file does
55 * not affect the page life cycle.
56 *
57 * @since 1.0.0
58 */
59 function abr_init() {
60
61 $plugin = new ABR();
62 $plugin->run();
63 }
64 abr_init();
65