PluginProbe
Post Grid Gutenberg Blocks – PostX / 5.1.1
Post Grid Gutenberg Blocks – PostX v5.1.1
5.1.1 5.1.0 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 All 240 releases
ultimate-post / ultimate-post.php

ultimate-post.php in Post Grid Gutenberg Blocks – PostX 5.1.1, at ultimate-post.php

50 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Plugin Name: Post Grid Gutenberg Blocks - PostX
5 * Plugin URI: https://www.wpxpo.com/postx/
6 * Description: Gutenberg Blocks plugin with 38+ free blocks that include post grid, post list, post slider, carousel, news ticker, and more. Dynamic site building and design variations make it a fit for News Magazine sites and any kind of blog, such as Personal, Travel, Fashion, Food Review and Recipe blogs.
7 * Version: 5.1.1
8 * Author: Post Grid Team by WPXPO
9 * Author URI: https://www.wpxpo.com/postx/?utm_source=db-postx-plugin&utm_medium=details&utm_campaign=postx-dashboard
10 * Requires at least: 6.0
11 * Requires PHP: 7.4
12 * Text Domain: ultimate-post
13 * License: GPLv3
14 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
15 */
16
17 defined( 'ABSPATH' ) || exit;
18
19 // Define
20 define( 'ULTP_VER', '5.1.1' );
21 define( 'ULTP_URL', plugin_dir_url( __FILE__ ) );
22 define( 'ULTP_BASE', plugin_basename( __FILE__ ) );
23 define( 'ULTP_PATH', plugin_dir_path( __FILE__ ) );
24 define( 'ULTP_HELLOBAR', '510' );
25
26
27 // Language Load
28 add_action( 'init', 'ultp_language_load' );
29 function ultp_language_load() {
30 // template section wrapped inside a hook for netwrok site compatibility
31 // Template
32 require_once ULTP_PATH . 'classes/Templates.php';
33 new \ULTP\Templates();
34 }
35
36 // Common Function
37 if ( ! function_exists( 'ultimate_post' ) ) {
38 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound -- Public API used by PostX Pro and themes; renaming breaks them.
39 function ultimate_post() {
40 require_once ULTP_PATH . 'classes/Functions.php';
41 return \ULTP\Functions::get_instance();
42 }
43 }
44
45 // Plugin Initialization
46 if ( ! class_exists( 'ULTP_Initialization' ) ) {
47 require_once ULTP_PATH . 'classes/Initialization.php';
48 new \ULTP\ULTP_Initialization();
49 }
50