Show different Course description in WPLMS Student App

Sometimes, your course page is built with elementor or visual composer , in those cases the description appears as garbage in the app as visual composer or elementor scripts are not loaded in the app.

This code fix, enables users to add a different course description for the App.

There are 2 parts :

  1. Adds a custom meta field in the Course as ” App Description”.
  2. Modify api to server course content from App description field.


Add following code in the Child Theme – functions.php


$args[‘vibe_app_course_description’]=array( // Text Input
‘label’ => __(‘App Course description’,’vibe-customtypes’), // <label>
‘desc’ => __(‘This descrption is shown in App as course description’), // description
‘id’ => ‘vibe_app_course_description’, // field id and name
‘type’ => ‘editor’, // type of field
‘std’ => __(‘This message is shown as course description in app’,’vibe-customtypes’)
return $args;



if($request[‘context’] == ‘full || $request[‘context’] == ‘loggedin’){
$data[‘description’] = do_shortcode(get_post_meta( $request[‘id’],’vibe_app_course_description’,true));
return $data;

Was this article helpful?

Related Articles

1 Comment

  1. why don’t you guys reply once you get the money you don’t care
    Item Purchase Code: 2ad91b82-6ae3-4b2d-ab40-e5bfa6de4cef

    please refund my money your app is not working

    [ionic Cordova build—release android]

    I run this code but on platforms/android there is no build folder. I also search for .apk extension on project directory there is no .apk file on there
    I initiated refund request as well you guys don’t reply, If you don’t want to refund please fix my problem otherwise I will take legal action against you

Leave A Comment?