updated plugin Subscribe2 version 10.36

This commit is contained in:
2021-09-30 14:54:06 +00:00
committed by Gitium
parent 375bf37aad
commit 3025a64583
13 changed files with 298 additions and 249 deletions

View File

@ -1,5 +1,8 @@
<?php
require_once S2PATH . 'traits/ShortcodeTrait.php';
class S2_Core {
use Shortcode;
// variables and constructor are declared at the end
/**
* Load translations
@ -2041,7 +2044,6 @@ class S2_Core {
}
// add the frontend filters
add_shortcode( 'subscribe2', array( &$this, 'shortcode' ) );
add_filter( 'the_content', array( &$this, 'filter' ), 10 );
// add actions for other plugins
@ -2055,6 +2057,7 @@ class S2_Core {
add_action( 'wp_footer', array( &$this, 'js_ip_library_script' ), 20 );
}
}
add_shortcode( 'subscribe2', array( &$this, 'widget_shortcode' ) );
}
/* ===== define some variables ===== */