PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.3.8
Pods – Custom Content Types and Fields v3.3.8
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 / callouts / access_rights.php
pods / ui / admin / callouts Last commit date
access_rights.php 4 months ago friends_2024_docs.php 4 months ago
access_rights.php
105 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 /**
11 * @var bool $force_callouts Whether to force the callouts.
12 */
13
14 $callout = 'access_rights';
15
16 $doc_link = 'https://docs.pods.io/displaying-pods/access-rights-in-pods/';
17
18 $campaign_args = [
19 'utm_source' => 'pods_plugin_callout',
20 'utm_medium' => 'link',
21 'utm_campaign' => $callout,
22 ];
23
24 $doc_link = add_query_arg( $campaign_args, $doc_link );
25 ?>
26
27 <div class="pods-admin_friends-callout_container pods-admin_friends-callout_container-horizontal">
28 <div class="pods-admin_friends-callout_content-container">
29 <h3>
30 <?php esc_html_e( 'Pods 3.1: New Access Rights Feature', 'pods' ); ?>
31 </h3>
32
33 <p class="pods-admin_friends-callout_text">
34 🔒&nbsp;
35 <?php
36 esc_html_e( 'We built a new Access Rights feature to help you better secure your site and give you more control over who sees your content.', 'pods' );
37 ?>
38
39 <a href="<?php echo esc_url( $doc_link ); ?>"
40 target="_blank" rel="noopener noreferrer">
41 <?php esc_html_e( 'Read the documentation for more information', 'pods' ); ?> &raquo;
42 </a>
43 </p>
44
45 <p class="pods-admin_friends-callout_text">
46 ⚠️&nbsp;
47 <?php
48 esc_html_e( 'Some of your dynamically embedded content and forms may no longer be visible to everyone. People may see notices in those places depending on the access rights of their individual WP user account.', 'pods' );
49 ?>
50 </p>
51
52 <p>
53 <strong><?php esc_html_e( 'Your next required step:', 'pods' ); ?></strong>
54
55 <a href="<?php echo esc_url( admin_url( 'admin.php?page=pods-access-rights-review' ) ); ?>"
56 class="button button-primary">
57 <?php esc_html_e( 'Review and confirm your access rights', 'pods' ); ?>
58 </a>
59 </p>
60
61 <hr />
62
63 <p class="pods-admin_friends-callout_text">
64 <strong>
65 <?php
66 esc_html_e( 'Access Right checks include:', 'pods' );
67 ?>
68 </strong>
69 </p>
70
71 <p class="pods-admin_friends-callout_text">
72 <ul class="pods-ul-normal">
73 <li>
74 <?php
75 esc_html_e( 'Control Dynamic Features in Pods Settings', 'pods' );
76 ?>
77 </li>
78 <li>
79 <?php
80 esc_html_e( 'Manage Access Rights notices in Pods Settings and when editing individual Pods', 'pods' );
81 ?>
82 </li>
83 <li>
84 <?php
85 esc_html_e( 'Preview various capabilities needed for any content type in WordPress', 'pods' );
86 ?>
87 </li>
88 <li>
89 <?php
90 esc_html_e( 'You can always further customize the capabilities that Pods references through your own custom PHP code', 'pods' );
91 ?>
92 </li>
93 </ul>
94 </p>
95
96 <div class="pods-admin_friends-callout_button-group-padded">
97 <a href="<?php echo esc_url( $doc_link ); ?>"
98 target="_blank" rel="noopener noreferrer"
99 class="pods-admin_friends-callout_button">
100 <?php esc_html_e( 'Learn more', 'pods' ); ?> &raquo;
101 </a>
102 </div>
103 </div>
104 </div>
105