| Server IP : 52.25.153.185 / Your IP : 216.73.217.131 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-35-cloud-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/post-grid/includes/ |
Upload File : |
<?php
if (!defined('ABSPATH')) exit; // if direct access
wp_enqueue_style('post-grid-output', post_grid_plugin_url . 'dist/output.css', [], time(), 'all');
wp_enqueue_style('wp-components');
$post_grid_settings = get_option('post_grid_settings');
$disable_blocks = isset($post_grid_settings['disable_blocks']) ? $post_grid_settings['disable_blocks'] : [];
wp_localize_script('post-grid-blocks', 'postGridDisabledBlocks', $disable_blocks);
wp_enqueue_script(
'post-grid-blocks',
post_grid_plugin_url . 'build/index.js',
[
'wp-blocks',
'wp-editor',
'wp-i18n',
'wp-element',
'wp-components',
'wp-data',
'wp-plugins',
'wp-edit-post',
],
time()
);
if (defined("post_grid_pro_plugin_url")) {
wp_enqueue_script(
'post-grid-pro-blocks-build',
post_grid_pro_plugin_url . 'build/index.js',
[
'wp-blocks',
'wp-editor',
'wp-i18n',
'wp-element',
'wp-components',
'wp-data'
],
time()
);
}
$admin_email = get_option('admin_email');
$post_grid_license = get_option('post_grid_license');
$license_status = isset($post_grid_license['license_status']) ? $post_grid_license['license_status'] : '';
?>
<div class="wrap">
<div id="cb-dashboard" class=""></div>
</div>