PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.0.41
Post Grid Gutenberg Blocks – PostX v5.0.41
5.0.41 5.0.39 5.0.38 5.0.37 5.0.36 5.0.35 5.0.34 5.0.33 5.0.32 5.0.31 5.0.30 5.0.29 5.0.28 5.0.27 5.0.26 5.0.25 5.0.23 5.0.24 5.0.22 5.0.21 5.0.20 5.0.19 5.0.18 5.0.17 2.1.1 All 238 releases
← All changes | ultimate-post.php +27 -24 2.1.15.0.41 View file →
@@ -1,43 +1,46 @@
1 1 <?php
2 +
2 3 /**
3 - * Plugin Name: Gutenberg Post Blocks
4 - * Description: Gutenberg Post blocks is a Gutenberg block Plugin for creating dynamic blog listing, grid and slider.
5 - * Version: 2.1.1
6 - * Author: wpxpo
7 - * Author URI: https://wpxpo.com/
4 + * Plugin Name: PostX
5 + * Description: <a href="https://www.wpxpo.com/postx/?utm_source=db-postx-plugin&utm_medium=details&utm_campaign=postx-dashboard">PostX</a> is the #1 Gutenberg Blocks plugin with 38+ free blocks that includes post gird, post list, post slider, carousel, news ticker, etc. Advanced capabilities like dynamic site building and design variations make it the best choice for creating News Magazine sites, and any kind of blog such as Personal Blogs, Travel Blogs, Fashion Blogs, Food Reviews, Recipe Blogs, etc.
6 + * Version: 5.0.41
7 + * Author: Post Grid Team by WPXPO
8 + * Author URI: https://www.wpxpo.com/postx/?utm_source=db-postx-plugin&utm_medium=details&utm_campaign=postx-dashboard
8 9 * Text Domain: ultimate-post
9 10 * License: GPLv3
10 11 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11 -*/
12 + */
12 13
13 14 defined( 'ABSPATH' ) || exit;
14 15
15 16 // Define
16 -define('ULTP_VER', '2.1.1');
17 -define('ULTP_URL', plugin_dir_url(__FILE__));
18 -define('ULTP_BASE', plugin_basename(__FILE__));
19 -define('ULTP_PATH', plugin_dir_path(__FILE__));
17 +define( 'ULTP_VER', '5.0.41' );
18 +define( 'ULTP_URL', plugin_dir_url( __FILE__ ) );
19 +define( 'ULTP_BASE', plugin_basename( __FILE__ ) );
20 +define( 'ULTP_PATH', plugin_dir_path( __FILE__ ) );
21 +define( 'ULTP_HELLOBAR', '4122' );
20 22
23 +
21 24 // Language Load
22 -add_action('init', 'ultp_language_load');
25 +add_action( 'init', 'ultp_language_load' );
23 26 function ultp_language_load() {
24 - load_plugin_textdomain( 'ultimate-post', false, basename(dirname(__FILE__))."/languages/" );
27 + // template section wrapped inside a hook for netwrok site compatibility
28 + // Template
29 + require_once ULTP_PATH . 'classes/Templates.php';
30 + new \ULTP\Templates();
31 + load_plugin_textdomain( 'ultimate-post', false, basename( __DIR__ ) . '/languages/' );
25 32 }
26 33
27 34 // Common Function
28 -if(!function_exists('ultimate_post')) {
29 - function ultimate_post() {
30 - require_once ULTP_PATH . 'classes/Functions.php';
31 - return new \ULTP\Functions();
32 - }
35 +if ( ! function_exists( 'ultimate_post' ) ) {
36 + function ultimate_post() {
37 + require_once ULTP_PATH . 'classes/Functions.php';
38 + return \ULTP\Functions::get_instance();
39 + }
33 40 }
34 41
35 42 // Plugin Initialization
36 -if (!class_exists( 'ultp_Initialization' )) {
37 - require_once ULTP_PATH . 'classes/Initialization.php';
38 - new \ULTP\Initialization();
43 +if ( ! class_exists( 'ULTP_Initialization' ) ) {
44 + require_once ULTP_PATH . 'classes/Initialization.php';
45 + new \ULTP\ULTP_Initialization();
39 46 }
40 -
41 -// Template
42 -require_once ULTP_PATH . 'classes/Templates.php';
43 -new \ULTP\Templates();