PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
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
← All changes | inc/admin/lp-admin-actions.php +3 -12 4.1.74.4.8 View file →
@@ -2,11 +2,8 @@
2 2 /**
3 3 * Defines the functions which called by hooks
4 4 */
5 5
6 -// add_action( 'in_admin_footer', 'learn_press_footer_advertisement', - 10 );
7 -add_action( 'admin_footer', 'learn_press_footer_advertisement', - 10 );
8 -
9 6 /***************************************/
10 7
11 8 /**
12 9 * Filter post types the user can access in admin
@@ -217,14 +214,14 @@
217 214 'name' => esc_html__( 'Courses', 'learnpress' ),
218 215 'id' => 'edit-lp_course',
219 216 ),
220 217 20 => array(
221 - 'link' => 'edit-tags.php?taxonomy=course_category&post_type=lp_course',
218 + 'link' => 'edit-tags.php?taxonomy=course_category',
222 219 'name' => esc_html__( 'Categories', 'learnpress' ),
223 220 'id' => 'edit-course_category',
224 221 ),
225 222 30 => array(
226 - 'link' => 'edit-tags.php?taxonomy=course_tag&post_type=lp_course',
223 + 'link' => 'edit-tags.php?taxonomy=course_tag',
227 224 'name' => esc_html__( 'Tags', 'learnpress' ),
228 225 'id' => 'edit-course_tag',
229 226 ),
230 227
@@ -299,12 +296,6 @@
299 296 echo 'error';
300 297 wp_die();
301 298 }
302 299 }
303 -add_action( 'wp_ajax_lp_remove_admin_warning', 'lp_remove_admin_warning' );
304 -
305 -// 3.3.0
306 -function learn_press_fill_in_blanks_admin_editor( $question ) {
307 - learn_press_admin_view( 'question/fill-in-blanks', array( 'question' => $question ) );
308 -}
309 -add_action( 'learn-press/question-admin-editor', 'learn_press_fill_in_blanks_admin_editor' );
300 +//add_action( 'wp_ajax_lp_remove_admin_warning', 'lp_remove_admin_warning' );
310 301