stuttter/wp-term-images

Image URL in rest api instead of ID

abdokouta opened this issue · 0 comments

Hello, i was inquiring how to get image url i have saw the pull request that add
register_meta( 'term', $this->meta_key, array( 'sanitize_callback' => array($this, 'sanitize_callback'), 'auth_callback' => array($this, 'auth_callback'), 'show_in_rest' => apply_filters("wp_term_image_show_in_rest", true), 'single' => true, ) );
to the class-wp-term-meta-ui.php but all i get is the ID and i have searched for that filter "wp_term_image_show_in_rest" but i couldn't get it, any help??