Title: WPRM_course
Last modified: July 12, 2021

---

# WPRM_course

 *  Resolved [underdigital](https://wordpress.org/support/users/underdigital/)
 * (@underdigital)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/)
 * When i try to add a picture in course, i can see it in the wp-admin panel. But
   in the json-api it won’t show? Is this a bug?
 * > wp-json/wp/v2/wprm_course

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14650439)
 * You’re referring to the [Taxonomy Term Images](https://help.bootstrapped.ventures/article/273-taxonomy-term-images)
   feature?
 * The image does not get passed along but you can retrieve it using the [get_term_meta function](https://developer.wordpress.org/reference/functions/get_term_meta/)
   and wprmp_term_image_id meta key.
 *  Thread Starter [underdigital](https://wordpress.org/support/users/underdigital/)
 * (@underdigital)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651068)
 * I think so,
    Just want to pass the image url to the Rest API for courses. Now
   you only have an id and name to work with
 * So you suggest to add this parame to the function?
    -  This reply was modified 4 years, 11 months ago by [underdigital](https://wordpress.org/support/users/underdigital/).
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651091)
 * But what are you trying to do? What is the end result?
    You’ll need some custom
   code in any case, right?
 * Once you have the ID you can get the image:
    [https://developer.wordpress.org/reference/functions/wp_get_attachment_image/](https://developer.wordpress.org/reference/functions/wp_get_attachment_image/)
 *  Thread Starter [underdigital](https://wordpress.org/support/users/underdigital/)
 * (@underdigital)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651122)
 * The end result should be on this url that i have inside each course object a 
   variable image with the image url.
 * [https://****/wp-json/wp/v2/wprm_course/](https://****/wp-json/wp/v2/wprm_course/)
   (
   Demosite Json)
    -  This reply was modified 4 years, 11 months ago by [underdigital](https://wordpress.org/support/users/underdigital/).
 *  Plugin Author [Brecht](https://wordpress.org/support/users/brechtvds/)
 * (@brechtvds)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651178)
 * Well sure, but _why_? What is accessing that URL?
 * In any case, you’ll need to use custom code to extend the API endpoint with what
   you need.
 *  Thread Starter [underdigital](https://wordpress.org/support/users/underdigital/)
 * (@underdigital)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651230)
 * Making an application that connects to the RestAPI of wordpress, and using the
   data of the plugin to fetch some things 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘WPRM_course’ is closed to new replies.

 * ![](https://ps.w.org/wp-recipe-maker/assets/icon-256x256.png?rev=2967063)
 * [WP Recipe Maker](https://wordpress.org/plugins/wp-recipe-maker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-recipe-maker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-recipe-maker/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-recipe-maker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-recipe-maker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-recipe-maker/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [underdigital](https://wordpress.org/support/users/underdigital/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/wprm_course/#post-14651230)
 * Status: resolved