Skip to content

Commit

Permalink
Merge pull request #1 from omnisend/use-core-plugin
Browse files Browse the repository at this point in the history
Use core plugin
  • Loading branch information
arnas authored Feb 5, 2024
2 parents 23ae56d + 90d24dc commit a312b81
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 155 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: PHP Standards
run-name: PHP Standards 🔀 ${{ github.ref_name }}

on: push

jobs:
Lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Install dependencies
run: |
composer install --prefer-dist --no-progress
- name: Lint PHP files
run: ./lint.sh check
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions omnisend-for-gravity-forms/class-omnisend-addon-bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Omnisend for Gravity Forms Add-On
* Description: A gravity forms add-on to sync contacts with Omnisend. In collaboration with Omnisnnd for WooCommerce plugin it enables better customer tracking
* Version: 1.0.4
* Version: 1.1.0
* Author: Omnisend
* Author URI: https://www.omnisend.com
* Developer: Omnisend
Expand All @@ -20,7 +20,8 @@
exit;
}

define( 'OMNISEND_GRAVITY_ADDON_VERSION', '1.0.4' );
const OMNISEND_GRAVITY_ADDON_NAME = 'Omnisend for Gravity Forms Add-On';
const OMNISEND_GRAVITY_ADDON_VERSION = '1.0.4';

add_action( 'gform_loaded', array( 'Omnisend_AddOn_Bootstrap', 'load' ), 5 );

Expand Down
Loading

0 comments on commit a312b81

Please sign in to comment.