Skip to main content

Filter: gravityview/view_collection/from_post/meta_keys

Define meta keys to parse to check for GravityView shortcode content.

This is useful when using themes that store content that may contain shortcodes in custom post meta.

Parameters

NameTypeDescription
$meta_keysarrayArray of key values to check. If empty, do not check. Default: empty array
$post\WP_PostThe post that is being checked
$views\GV\View_CollectionThe current View Collection object, passed as reference

Since

  • 2.0
  • 2.0.7: Added $views parameter, passed by reference

Source

Defined in future/includes/class-gv-collection-view.php at line 112