PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 3.9.6
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v3.9.6
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / admin / advanced-settings / includes / views / view-shortcodes.php

view-shortcodes.php in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 3.9.6, at admin/advanced-settings/includes/views/view-shortcodes.php

80 lines 3.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2
3 <?php $settings = get_option( 'wppb_toolbox_shortcodes_settings' ); ?>
4
5 <form method="post" action="options.php">
6
7 <?php settings_fields( 'wppb_toolbox_shortcodes_settings' ); ?>
8
9 <table class="form-table">
10
11 <tr>
12 <th><?php esc_html_e( 'Enable Compare shortcode', 'profile-builder' ); ?></th>
13
14 <td>
15 <label><input type="checkbox" name="wppb_toolbox_shortcodes_settings[compare]"<?php echo ( ( isset( $settings['compare'] ) && ( $settings['compare'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
16 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
17 </label>
18
19 <ul>
20 <li class="description">
21 <?php echo wp_kses_post( __( 'You can read more info about this shortcode by following <a href="https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/shortcodes/compare-shortcode/">this url</a>.', 'profile-builder' ) ); ?>
22 </li>
23 </ul>
24 </td>
25 </tr>
26
27 <tr>
28 <th><?php esc_html_e( 'Enable Usermeta shortcode', 'profile-builder' ); ?></th>
29
30 <td>
31 <label><input type="checkbox" name="wppb_toolbox_shortcodes_settings[usermeta]"<?php echo ( ( isset( $settings['usermeta'] ) && ( $settings['usermeta'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
32 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
33 </label>
34
35 <ul>
36 <li class="description">
37 <?php echo wp_kses_post( __( 'You can read more info about this shortcode by following <a href="https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/shortcodes/display-user-meta/">this url</a>.', 'profile-builder' ) ); ?>
38 </li>
39 </ul>
40 </td>
41 </tr>
42
43 <tr>
44 <th><?php esc_html_e( 'Enable Resend Activation Email shortcode', 'profile-builder' ); ?></th>
45
46 <td>
47 <label><input type="checkbox" name="wppb_toolbox_shortcodes_settings[resend-activation]"<?php echo ( ( isset( $settings['resend-activation'] ) && ( $settings['resend-activation'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
48 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
49 </label>
50
51 <ul>
52 <li class="description">
53 <?php echo wp_kses_post( __( 'You can read more info about this shortcode by following <a href="https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/shortcodes/resend-confirmation-email/">this url</a>.', 'profile-builder' ) ); ?>
54 </li>
55 </ul>
56 </td>
57 </tr>
58
59 <tr>
60 <th><?php esc_html_e( 'Enable Format Date shortcode', 'profile-builder' ); ?></th>
61
62 <td>
63 <label><input type="checkbox" name="wppb_toolbox_shortcodes_settings[format-date]"<?php echo ( ( isset( $settings['format-date'] ) && ( $settings['format-date'] == 'yes' ) ) ? ' checked' : '' ); ?> value="yes">
64 <?php esc_html_e( 'Yes', 'profile-builder' ); ?>
65 </label>
66
67 <ul>
68 <li class="description">
69 <?php echo wp_kses_post( __( 'You can read more info about this shortcode by following <a href="https://www.cozmoslabs.com/docs/profile-builder-2/developers-knowledge-base/shortcodes/format-date-shortcode/">this url</a>.', 'profile-builder' ) ); ?>
70 </li>
71 </ul>
72 </td>
73 </tr>
74
75 </table>
76
77 <?php submit_button( __( 'Save Changes', 'profile-builder' ) ); ?>
78
79 </form>
80