PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.9.1
Pods – Custom Content Types and Fields v3.3.9.1
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 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 weeks ago upgrade 2 weeks ago widgets 2 weeks ago components-admin.php 2 weeks ago help-addons-row.php 2 weeks ago help-addons.php 2 weeks ago help.php 2 weeks ago postbox-header.php 2 weeks ago settings-reset.php 2 weeks ago settings-settings.php 2 weeks ago settings-tools.php 2 weeks ago settings.php 2 weeks ago setup-add.php 2 weeks ago setup-edit.php 2 weeks ago shortcode.php 2 weeks ago view.php 2 weeks ago
setup-edit.php
40 lines
1 <?php
2
3 // Don't load directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 die( '-1' );
6 }
7
8 // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
9
10 // Prevent non-admins.
11 if ( ! pods_is_admin( 'pods' ) ) {
12 die( '-1' );
13 }
14
15 wp_enqueue_media();
16 wp_enqueue_editor();
17
18 if (
19 (
20 function_exists( 'did_filter' )
21 && ! did_filter( 'tiny_mce_before_init' )
22 )
23 || ! did_action( 'enqueue_block_editor_assets' )
24 ) {
25 wp_tinymce_inline_scripts();
26 }
27
28 wp_enqueue_style( 'wp-edit-post' );
29
30 // Formatted data
31 $data = [
32 'fieldType' => 'edit-pod',
33 'fieldEmbed' => false,
34 ];
35 ?>
36 <div class="wrap pods-admin">
37 <div id="icon-pods" class="icon32"><br /></div>
38 <script type="application/json" class="pods-dfv-field-data"><?php echo wp_json_encode( $data, JSON_HEX_TAG ); ?></script>
39 </div>
40