Plugin Directory

source: blocks-for-civicrm/trunk/blocks-for-civicrm-plugin.php @ 3057007

Last change on this file since 3057007 was 3057007, checked in by bastho, 4 months ago

Bump to v1.4

File size: 1.1 KB
Line 
1<?php
2/*
3 * Plugin Name: Blocks for CiviCRM
4 * Plugin URI: https://apps.avecnous.eu/en/product/blocks-for-civicrm/?mtm_campaign=wp-plugin&mtm_kwd=blocks-for-civicrm&mtm_medium=dashboard&mtm_source=plugin
5 * Description: Gutenberg block in place of CiviCRM shortcode
6 * Version: 1.4.0
7 * Author: NOUS Open Useful and Simple
8 * Contributor: Bastien Ho, Sabrina Leroy, Florian Lecocq, Aurelie Foucher
9 * Author URI: https://apps.avecnous.eu/?mtm_campaign=wp-plugin&mtm_kwd=blocks-for-civicrm&mtm_medium=dashboard&mtm_source=author
10 * Text Domain: blocks-for-civicrm
11 * Domain Path: languages/
12 */
13
14add_action ('plugins_loaded', function(){
15     require plugin_dir_path(__FILE__).'vendor/autoload.php';
16     \WPReporting()->register('blocks-for-civicrm', [
17         'label' => __('Blocks for CiviCRM', 'blocks-for-civicrm'),
18         'description' => __('Help us to improve this plugin. Send logs when a bug occurs.', 'blocks-for-civicrm'),
19         'category' => 'plugin',
20         'to' => 'am91cm5hbGlzZXIrMjM5QGF2ZWNub3VzLmV1',
21         'only_in_dir' => __DIR__,
22     ]);
23     include_once plugin_dir_path(__FILE__) . 'inc/block_civicrm.php';
24});
Note: See TracBrowser for help on using the repository browser.