PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.7
Pods – Custom Content Types and Fields v3.2.7
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / ui / admin / setup-edit.php
pods / ui / admin Last commit date
callouts 2 years ago upgrade 2 years ago widgets 2 years ago components-admin.php 2 years ago help-addons-row.php 2 years ago help-addons.php 2 years ago help.php 2 years ago postbox-header.php 2 years ago settings-reset.php 2 years ago settings-settings.php 2 years ago settings-tools.php 2 years ago settings.php 2 years ago setup-add.php 2 years ago setup-edit.php 2 years ago shortcode.php 2 years ago view.php 2 years ago
setup-edit.php
34 lines
1 <?php
2 // Don't load directly.
3 if ( ! defined( 'ABSPATH' ) || ! pods_is_admin( 'pods' ) ) {
4 die( '-1' );
5 }
6
7 wp_enqueue_media();
8 wp_enqueue_editor();
9
10 if (
11 (
12 function_exists( 'did_filter' )
13 && ! did_filter( 'tiny_mce_before_init' )
14 )
15 || ! did_action( 'enqueue_block_editor_assets' )
16 ) {
17 wp_tinymce_inline_scripts();
18 }
19
20 wp_enqueue_style( 'wp-edit-post' );
21
22 // Formatted data
23 $data = [
24 'fieldType' => 'edit-pod',
25 'fieldEmbed' => false,
26 ];
27
28 $data = wp_json_encode( $data, JSON_HEX_TAG );
29 ?>
30 <div class="wrap pods-admin">
31 <div id="icon-pods" class="icon32"><br /></div>
32 <script type="application/json" class="pods-dfv-field-data"><?php echo $data; ?></script>
33 </div>
34