| Server IP : 198.38.94.13 / Your IP : 216.73.217.33 Web Server : Apache System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : revivere ( 1140) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/revivere/www/wp-content/plugins/pods/ui/admin/ |
Upload File : |
<?php
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
// phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
// Prevent non-admins.
if ( ! pods_is_admin( 'pods' ) ) {
die( '-1' );
}
wp_enqueue_media();
wp_enqueue_editor();
if (
(
function_exists( 'did_filter' )
&& ! did_filter( 'tiny_mce_before_init' )
)
|| ! did_action( 'enqueue_block_editor_assets' )
) {
wp_tinymce_inline_scripts();
}
wp_enqueue_style( 'wp-edit-post' );
// Formatted data
$data = [
'fieldType' => 'edit-pod',
'fieldEmbed' => false,
];
?>
<div class="wrap pods-admin">
<div id="icon-pods" class="icon32"><br /></div>
<script type="application/json" class="pods-dfv-field-data"><?php echo wp_json_encode( $data, JSON_HEX_TAG ); ?></script>
</div>