42 if( empty(
$post->panels_data ) || empty(
$post->panels_data[
'widgets'] ) ) {
46 foreach ( (array)
$post->panels_data[
'widgets'] as $widget ) {
48 $views->merge( \
GV\View_Collection::from_content( \
GV\Utils::get( $widget,
'text' ) ) );
50 if ( empty( $widget[
'tabs'] ) || ! is_array( $widget[
'tabs'] ) ) {
54 foreach ( $widget[
'tabs'] as $tab ) {
63 $views->merge( \
GV\View_Collection::from_content(
$content ) );
new GravityView_Theme_Hooks_SiteOrigin
merge_content_meta_keys( $meta_keys=array(), $post=null, & $views=null)
Add support for SiteOrigin storage of widget information.
if(empty( $field_settings['content'])) $content
$meta_keys
Define the keys to be parsed by the gravityview/data/parse/meta_keys hook.
static get( $array, $key, $default=null)
Grab a value from an array or an object or default.
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...