| 1 |
<?php |
| 2 |
/** |
| 3 |
* Page Name: Support |
| 4 |
* |
| 5 |
*/ |
| 6 |
|
| 7 |
use WPCoder\Dashboard\DashboardInitializer; |
| 8 |
use WPCoder\Dashboard\SupportForm; |
| 9 |
use WPCoder\WPCoder; |
| 10 |
|
| 11 |
defined( 'ABSPATH' ) || exit; |
| 12 |
$emil = WPCoder::info( 'email' ); |
| 13 |
?> |
| 14 |
|
| 15 |
<div class="wowp"> |
| 16 |
|
| 17 |
<?php DashboardInitializer::header(); ?> |
| 18 |
|
| 19 |
<div class="wowp-page-header"> |
| 20 |
<h2 class="wowp-page-header__title"> |
| 21 |
<?php esc_html_e( 'Support', 'wp-coder' ); ?> |
| 22 |
</h2> |
| 23 |
</div> |
| 24 |
|
| 25 |
<div class="wowp-settings__header m-w-48"> |
| 26 |
|
| 27 |
<div class="wowp-fieldset"> |
| 28 |
<div class="wowp-fieldset__header"> |
| 29 |
<div class="wowp-fieldset__header-title"> |
| 30 |
<?php esc_html_e( 'Send a Message to Support', 'wp-coder' ); ?> |
| 31 |
<p><?php printf( |
| 32 |
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped |
| 33 |
/* translators: 1. support email */ |
| 34 |
__( 'For a faster response, please describe your issue below or email us at %1$s.', 'wp-coder' ), '<a href="mailto:' . esc_attr( $emil ) . '">' . esc_attr( $emil ) . '</a>' ); |
| 35 |
// phpcs:enable |
| 36 |
?></p> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
<?php SupportForm::init(); ?> |
| 40 |
</div> |
| 41 |
|
| 42 |
</div> |
| 43 |
|
| 44 |
</div> |
| 45 |
<?php |
| 46 |
|