PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.1
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.1
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
weforms / includes / templates / dokan / dashboard-contact-section.php

dashboard-contact-section.php in weForms – Easy Drag & Drop Contact Form Builder For WordPress 1.6.1, at includes/templates/dokan/dashboard-contact-section.php

44 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div class="dokan-dashboard-wrap">
2
3 <?php
4
5 /**
6 * dokan_dashboard_content_before hook
7 * dokan_dashboard_support_content_before
8 *
9 * @hooked get_dashboard_side_navigation
10 *
11 * @since 2.4
12 */
13 do_action( 'dokan_dashboard_content_before' );
14 do_action( 'dokan_dashboard_support_content_before' );
15 ?>
16
17 <div class="dokan-dashboard-content dokan-wpuf-dashboard">
18 <?php
19
20 $form_id = dokan_get_option( 'vendor_contact_form', 'weforms_integration' );
21
22 if ( !empty( $form_id ) ) {
23 echo do_shortcode('[weforms id="'.$form_id.'"]');
24 } else{
25 esc_html_e( 'No contact form assigned yet by marketplace owner.', 'weforms' );
26 }
27
28 ?>
29 </div><!-- .dokan-dashboard-content -->
30
31 <?php
32
33 /**
34 * dokan_dashboard_content_after hook
35 * dokan_dashboard_support_content_after hook
36 *
37 * @since 2.4
38 */
39 do_action( 'dokan_dashboard_content_after' );
40 do_action( 'dokan_dashboard_support_content_after' );
41 ?>
42
43 </div><!-- .dokan-dashboard-wrap -->
44