GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Public Member Functions | |
add_meta_keys_from_post ( $meta_keys=array(), $post=null) | |
Public Member Functions inherited from GravityView_Plugin_and_Theme_Hooks | |
__construct () | |
GravityView_Theme_Support constructor. More... | |
_wp_loaded () | |
Fired when all themes and plugins have been loaded. More... | |
merge_content_meta_keys ( $meta_keys=array(), $post=null, & $views=null) | |
Merge plugin or theme meta keys that store shortcode data with existing keys to check. More... | |
merge_meta_keys ( $meta_keys=array(), $post_id=0) | |
Merge plugin or theme meta keys that store shortcode data with existing keys to check. More... | |
merge_noconflict_scripts ( $handles) | |
Merge plugin or theme scripts with existing no-conflict scripts. More... | |
merge_noconflict_styles ( $handles) | |
Merge plugin or theme styles with existing no-conflict styles. More... | |
merge_post_type_support ( $supports=array(), $is_hierarchical=false) | |
Merge plugin or theme post type support definitions with existing support values. More... | |
Protected Member Functions | |
add_hooks () | |
Protected Member Functions inherited from GravityView_Plugin_and_Theme_Hooks | |
add_hooks () | |
Add filters for meta key and script/style handles, if defined. More... | |
Protected Attributes | |
$class_name = 'acf' | |
$function_name = 'acf' | |
$style_handles = array( 'acf-global' ) | |
Protected Attributes inherited from GravityView_Plugin_and_Theme_Hooks | |
$class_name = false | |
string Optional. More... | |
$constant_name = false | |
string Optional. More... | |
$content_meta_keys = array() | |
Define the keys to be parsed by the gravityview/view_collection/from_post/meta_keys hook. More... | |
$function_name = false | |
string Optional. More... | |
$meta_keys = array() | |
Define the keys to be parsed by the gravityview/data/parse/meta_keys hook. More... | |
$post_type_support = array() | |
Define features in the admin editor used by the theme or plugin to be used when registering the GravityView post type. More... | |
$script_handles = array() | |
Define script handles used by the theme or plugin to be added to allowed no-conflict scripts. More... | |
$style_handles = array() | |
Define style handles used by the theme or plugin to be added to allowed no-conflict styles. More... | |
Private Member Functions | |
fix_posted_fields () | |
ACF needs $_POST['fields'] to be an array. More... | |
Definition at line 19 of file class-gravityview-plugin-hooks-acf.php.
|
protected |
Definition at line 41 of file class-gravityview-plugin-hooks-acf.php.
References fix_posted_fields().
add_meta_keys_from_post | ( | $meta_keys = array() , |
|
$post = null |
|||
) |
array | $meta_keys | Existing meta keys to parse for [gravityview] shortcode |
\WP_Post | $post | Current post ID |
Definition at line 55 of file class-gravityview-plugin-hooks-acf.php.
References GravityView_Plugin_and_Theme_Hooks\$meta_keys, and $post.
|
private |
ACF needs $_POST['fields'] to be an array.
GV supports both serialized array and array, so we just process earlier.
Definition at line 78 of file class-gravityview-plugin-hooks-acf.php.
References _gravityview_process_posted_fields().
Referenced by add_hooks().
|
protected |
Definition at line 30 of file class-gravityview-plugin-hooks-acf.php.
|
protected |
Definition at line 25 of file class-gravityview-plugin-hooks-acf.php.
|
protected |
Definition at line 36 of file class-gravityview-plugin-hooks-acf.php.