PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.1.7.3
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.1.7.3
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
learnpress / inc / admin / views / meta-boxes / order / actions.php

actions.php in LearnPress – WordPress LMS Plugin for Create and Sell Online Courses 4.1.7.3, at inc/admin/views/meta-boxes/order/actions.php

49 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Admin View: Order actions Meta box
4 */
5
6 /**
7 * Prevent loading this file directly
8 */
9 defined( 'ABSPATH' ) || exit();
10
11 global $post;
12 ?>
13
14 <div class="submitbox" id="submitpost">
15 <div id="minor-publishing">
16 <div id="misc-publishing-actions">
17 <div class="misc-pub-section">
18 <select name="trigger-order-action">
19 <option value=""><?php esc_html_e( 'Choose an action', 'learnpress' ); ?></option>
20 <option value="current-status"><?php esc_html_e( 'Trigger action of the current order status', 'learnpress' ); ?></option>
21 </select>
22 </div>
23 </div>
24 <div id="major-publishing-actions">
25 <div id="delete-action">
26 <?php if ( current_user_can( 'delete_post', $post->ID ) ) : ?>
27 <?php
28 if ( ! EMPTY_TRASH_DAYS ) {
29 $delete_text = esc_html__( 'Delete Permanently', 'learnpress' );
30 } else {
31 $delete_text = esc_html__( 'Move to Trash', 'learnpress' );
32 }
33 ?>
34 <a class="submitdelete deletion" href="<?php echo get_delete_post_link( $post->ID ); ?>">
35 <?php echo esc_html( $delete_text ); ?>
36 </a>
37 <?php endif; ?>
38 </div>
39
40 <div id="publishing-action">
41 <span class="spinner"></span>
42 <input name="original_publish" type="hidden" id="original_publish" value="Update">
43 <input name="save" type="submit" class="button button-primary button-large" id="publish" value="Update">
44 </div>
45 <div class="clear"></div>
46 </div>
47 </div>
48 </div>
49