@varesi,
This is a known issue which we can be quickly resolved by following the instructions here: https://lifterlms.com/docs/admin-menu-conflict-caldera-forms-plugin/
Hope that helps!
Thread Starter
varesi
(@varesi)
Hello and thanks for your reply.
I already add the code on your plugin, but the conflict remains. Here it is the code snippet. Can you tell me more about this?
Regards
Joao Coelho
/***********************************************************************
*
* Add custom functions below this comment
*
***********************************************************************/
/**
* Update the admin menu positon of LifterLMS courses to prevent conflicts
* @param array $data course post type registration data
* @return array
*/
function my_llms_course_positioning( $data ) {
$data[‘menu_position’] = 53;
return $data;
}
add_filter( ‘lifterlms_register_post_type_course’, ‘my_llms_course_positioning’ );
/***********************************************************************
*
* Add custom functions above this comment
*
***********************************************************************/
Hey @varesi,
It looks like you may be using our custom plugin skeleton as described at https://lifterlms.com/docs/how-do-i-add-custom-code-to-lifterlms-or-lifterlms-launchpad/
Due to the way plugins load, it’s possible that this code is running too early in the load order and, therefore has no effect. You can try some late initialization as described here: https://lifterlms.com/docs/how-do-i-add-custom-code-to-lifterlms-or-lifterlms-launchpad/#removing-actions
If you add the action that way it will add the filter *after* all plugins have loaded and that should fix the conflict.
Take care,