I’m the developer the plugin ( ACF to REST API ):
https://github.com/airesvsg/acf-to-rest-api
I studied that plugin ( WP REST API Controller ) to contribute.
https://github.com/yikesinc/wp-rest-api-controller
What’s the plugin that I need to study?
Thanks
No, that plugin isn’t for exposes ACF fields in rest api.
I already studied the code of that plugin and it’s only to control the access.
Thanks
Hi @jesterhead,
https://github.com/airesvsg/acf-to-rest-api
Thanks
Hi @keygrip,
Please, check my example:
https://github.com/airesvsg/acf-to-rest-api-example
Live demo
http://airesgoncalves.com.br/acf-to-rest-api/
Hi @effigy,
OK. In case of doubts, I’m here.
Cheers
Hi @effigy,
Now you can edit the ACF fields using WordPress REST API.
https://github.com/airesvsg/acf-to-rest-api
Hi @traipler,
Now you can edit the ACF fields using WordPress REST API.
https://github.com/airesvsg/acf-to-rest-api
Hi @hallwrk,
you can use filter, see below how to use.
https://github.com/airesvsg/acf-to-wp-rest-api#filter
add_filter( 'acf_to_wp_rest_api_post_data', function( $data, $object, $context ) {
if ( isset( $data['type'] ) && 'my_post_type' == $data['type'] && isset( $data['acf'] ) ) {
unset( $data['acf'] );
}
return $data;
}, 10, 3 );
Hi @hallwrk,
I saw that isn’t listing yet, try the steps below:
1- Access the permalinks settings ( Settings > Permalinks );
2- Click the Save Changes button.
@hallwrk you are using another plugin 😀
You can download my plugin on the links below:
https://wordpress.org/plugins/acf-to-wp-rest-api/
or
http://github.com/airesvsg/acf-to-wp-rest-api
@hallwrk which directory you installed the plugin?
[404] http://gigil.berlin/current/xjazz/wp-content/plugins/acf-to-wp-rest-api/
OK, @hallwrk.
I’ll investigate this error.
Hi @hallwrk,
You get some response when you accessing the url below?
http://my-domain/wp-json/acf
Cheers
Hi,
It should have a timeframe, but I do not know to inform.
I do not know, I sent an email to Eliot, but was talking about the plugin ( ACF to WP REST API ), I will write another asking about it.
Cheers
Hi Effigy,
Thanks for using my plugin.
I’ll implement when they published the final version of the plugin WP REST API, it’s still in beta.
https://github.com/airesvsg/acf-to-wp-rest-api/issues/2
Hi wube,
you can use the plugin ACF to REST API:
GitHub: https://github.com/airesvsg/acf-to-rest-api/
WordPress.org: http://www.wordpress.org/plugins/acf-to-rest-api
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.