GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
Public Member Functions | Protected Member Functions | Protected Attributes
GravityView_Plugin_Hooks_Yoast_SEO Class Reference

More...

Inheritance diagram for GravityView_Plugin_Hooks_Yoast_SEO:
GravityView_Plugin_and_Theme_Hooks

Public Member Functions

 disable_content_analysis ( $options)
 Don't try to analyze content for Views. More...
 
 hide_wordpress_seo_metabox ( $options=array())
 Modify the WordPress SEO plugin's metabox behavior. More...
 
 return_low ( $existing='high')
 Return 'low' as the status for metabox priority when on a GravityView post type admin screen. More...
 
- 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

 $constant_name = 'WPSEO_FILE'
 
 $script_handles
 
 $style_handles
 
- 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...
 

Detailed Description

Since
1.15.2

Definition at line 19 of file class-gravityview-plugin-hooks-yoast-seo.php.

Member Function Documentation

◆ add_hooks()

add_hooks ( )
protected

Add filters for meta key and script/style handles, if defined.

Since
1.15.2
Returns
void
Since
1.15.2

Definition at line 113 of file class-gravityview-plugin-hooks-yoast-seo.php.

References gravityview().

◆ disable_content_analysis()

disable_content_analysis (   $options)

Don't try to analyze content for Views.

Since
1.22.4
Parameters
array$optionsExisting WPSEO options array
Returns
array

Definition at line 140 of file class-gravityview-plugin-hooks-yoast-seo.php.

◆ hide_wordpress_seo_metabox()

hide_wordpress_seo_metabox (   $options = array())

Modify the WordPress SEO plugin's metabox behavior.

Only show when the View has been configured.

Since
1.15.2 Moved from class-gravityview-admin-metaboxes.php
Parameters
array$optionsWP SEO options array
Returns
array Modified array if on post-new.php

Definition at line 158 of file class-gravityview-plugin-hooks-yoast-seo.php.

◆ return_low()

return_low (   $existing = 'high')

Return 'low' as the status for metabox priority when on a GravityView post type admin screen.

Since
1.15.2 Moved from class-gravityview-admin-metaboxes.php
1.15.2 Added check for GravityView post type
Parameters
string$existingExisting priority. Default: high
Returns
string Returns 'low'

Definition at line 178 of file class-gravityview-plugin-hooks-yoast-seo.php.

Field Documentation

◆ $constant_name

$constant_name = 'WPSEO_FILE'
protected

Since
1.15.2

Definition at line 25 of file class-gravityview-plugin-hooks-yoast-seo.php.

◆ $script_handles

$script_handles
protected

Since
1.15.2

Definition at line 63 of file class-gravityview-plugin-hooks-yoast-seo.php.

◆ $style_handles

$style_handles
protected

Definition at line 27 of file class-gravityview-plugin-hooks-yoast-seo.php.


The documentation for this class was generated from the following file: