44 add_filter(
'gravityview/view_collection/from_post/meta_keys', array( $this,
'add_meta_keys_from_post' ), 10, 2 );
58 if ( ! function_exists(
'get_field_objects' ) ) {
62 $acf_keys = get_field_objects(
$post->ID, array(
'load_value' =>
false ) );
65 return array_merge( array_keys( $acf_keys ),
$meta_keys );
79 if( is_admin() && isset( $_POST[
'action'] ) && isset( $_POST[
'post_type'] ) ) {
80 if(
'editpost' === $_POST[
'action'] &&
'gravityview' === $_POST[
'post_type'] ) {
new GravityView_Plugin_Hooks_ACF
add_meta_keys_from_post( $meta_keys=array(), $post=null)
$meta_keys
Define the keys to be parsed by the gravityview/data/parse/meta_keys hook.
fix_posted_fields()
ACF needs $_POST['fields'] to be an array.
_gravityview_process_posted_fields()
Maybe convert jQuery-serialized fields into array, otherwise return $_POST['fields'] array...
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...