PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.2
Pods – Custom Content Types and Fields v3.2.2
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 2 years ago friends_2023_docs.php 2 years ago
access_rights.php
103 lines
1 <?php
2
3 // Don't load directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 die( '-1' );
6 }
7
8 /**
9 * @var bool $force_callouts Whether to force the callouts.
10 */
11
12 $callout = 'access_rights';
13
14 $doc_link = 'https://docs.pods.io/displaying-pods/access-rights-in-pods/';
15
16 $campaign_args = [
17 'utm_source' => 'pods_plugin_callout',
18 'utm_medium' => 'link',
19 'utm_campaign' => $callout,
20 ];
21
22 $doc_link = add_query_arg( $campaign_args, $doc_link );
23 ?>
24
25 <div class="pods-admin_friends-callout_container pods-admin_friends-callout_container-horizontal">
26 <div class="pods-admin_friends-callout_content-container">
27 <h3>
28 <?php esc_html_e( 'Pods 3.1: New Access Rights Feature', 'pods' ); ?>
29 </h3>
30
31 <p class="pods-admin_friends-callout_text">
32 🔒&nbsp;
33 <?php
34 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' );
35 ?>
36
37 <a href="<?php echo esc_url( $doc_link ); ?>"
38 target="_blank" rel="noopener noreferrer">
39 <?php esc_html_e( 'Read the documentation for more information', 'pods' ); ?> &raquo;
40 </a>
41 </p>
42
43 <p class="pods-admin_friends-callout_text">
44 ⚠️&nbsp;
45 <?php
46 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' );
47 ?>
48 </p>
49
50 <p>
51 <strong><?php esc_html_e( 'Your next required step:', 'pods' ); ?></strong>
52
53 <a href="<?php echo esc_url( admin_url( 'admin.php?page=pods-access-rights-review' ) ); ?>"
54 class="button button-primary">
55 <?php esc_html_e( 'Review and confirm your access rights', 'pods' ); ?>
56 </a>
57 </p>
58
59 <hr />
60
61 <p class="pods-admin_friends-callout_text">
62 <strong>
63 <?php
64 esc_html_e( 'Access Right checks include:', 'pods' );
65 ?>
66 </strong>
67 </p>
68
69 <p class="pods-admin_friends-callout_text">
70 <ul class="pods-ul-normal">
71 <li>
72 <?php
73 esc_html_e( 'Control Dynamic Features in Pods Settings', 'pods' );
74 ?>
75 </li>
76 <li>
77 <?php
78 esc_html_e( 'Manage Access Rights notices in Pods Settings and when editing individual Pods', 'pods' );
79 ?>
80 </li>
81 <li>
82 <?php
83 esc_html_e( 'Preview various capabilities needed for any content type in WordPress', 'pods' );
84 ?>
85 </li>
86 <li>
87 <?php
88 esc_html_e( 'You can always further customize the capabilities that Pods references through your own custom PHP code', 'pods' );
89 ?>
90 </li>
91 </ul>
92 </p>
93
94 <div class="pods-admin_friends-callout_button-group-padded">
95 <a href="<?php echo esc_url( $doc_link ); ?>"
96 target="_blank" rel="noopener noreferrer"
97 class="pods-admin_friends-callout_button">
98 <?php esc_html_e( 'Learn more', 'pods' ); ?> &raquo;
99 </a>
100 </div>
101 </div>
102 </div>
103