Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image URL in rest api instead of ID #16

Open
abdokouta opened this issue Jan 3, 2019 · 0 comments
Open

Image URL in rest api instead of ID #16

abdokouta opened this issue Jan 3, 2019 · 0 comments

Comments

@abdokouta
Copy link

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant