🌝
You are very curious, aren't ya?
Block or Report
Block or report MelMacaluso
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
-
Automatically expose all the ACF fie...
Automatically expose all the ACF fields to the Wordpress REST API in Pages and in your custom post types. 1<?php
2function create_ACF_meta_in_REST() {
3$postypes_to_exclude = ['acf-field-group','acf-field'];
4$extra_postypes_to_include = ["page"];
5$post_types = array_diff(get_post_types(["_builtin" => false], 'names'),$postypes_to_exclude);
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.