| 1 |
<?php |
| 2 |
/** |
| 3 |
* Template for displaying outdated template files in theme/child-themes |
| 4 |
* |
| 5 |
* @author ThimPress |
| 6 |
* @package LearnPress/Admin/Views |
| 7 |
* @version 3.0.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
defined( 'ABSPATH' ) or die(); |
| 11 |
|
| 12 |
?> |
| 13 |
<table class="form-table"> |
| 14 |
<tr> |
| 15 |
<th><?php esc_attr_e( 'Cron url', 'learnpress' ); ?></th> |
| 16 |
<td> |
| 17 |
<input type="text" class="widefat" value="<?php echo esc_attr( learn_press_get_cron_url() ); ?>"> |
| 18 |
<p class="description"><?php esc_html_e( 'Use this url to setup cronjob on your server.', 'learnpress' ); ?></p> |
| 19 |
<br/> |
| 20 |
<a class="button" href="<?php echo wp_nonce_url( esc_url_raw( add_query_arg( 'generate-cron-url', '1' ) ) ); ?>"><?php esc_html_e( 'Generate new url', 'learnpress' ); ?></a> |
| 21 |
</td> |
| 22 |
</tr> |
| 23 |
|
| 24 |
<!-- <tr>--> |
| 25 |
<!-- <th>--><?php // esc_attr_e( 'Schedule', 'learnpress' ); ?><!--</th>--> |
| 26 |
<!-- <td>--> |
| 27 |
<!-- <input type="text" class="widefat" value="--><?php // echo esc_attr( learn_press_get_cron_url() ); ?><!--">--> |
| 28 |
<!-- <p class="description">--><?php // esc_html_e( 'Enable .', 'learnpress' ); ?><!--</p>--> |
| 29 |
<!-- <br/>--> |
| 30 |
<!-- <a class="button"--> |
| 31 |
<!-- href="--><?php // echo wp_nonce_url( add_query_arg( 'generate-cron-url', '1' ) ); ?><!--">--><?php // esc_html_e( 'Generate new url', 'learnpress' ); ?><!--</a>--> |
| 32 |
<!-- </td>--> |
| 33 |
<!-- </tr>--> |
| 34 |
</table> |
| 35 |
|