GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Requires WPML 3.6.2 or newer. More...
Public Member Functions | |
add_hooks () | |
Add filters for WPML links. More... | |
filter_gravityview_back_link ( $link) | |
Add WPML filters to GravityView directory link. More... | |
wpml_ls_filter ( $languages) | |
Modify the language links to fix /entry/ var from being stripped. 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 Attributes | |
$constant_name = 'ICL_SITEPRESS_VERSION' | |
$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... | |
Private Member Functions | |
add_url_hooks () | |
Add the WPML permalink filters back in. More... | |
remove_url_hooks () | |
Remove WPML permalink filters. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GravityView_Plugin_and_Theme_Hooks | |
add_hooks () | |
Add filters for meta key and script/style handles, if defined. More... | |
Requires WPML 3.6.2 or newer.
Definition at line 20 of file class-gravityview-theme-hooks-wpml.php.
add_hooks | ( | ) |
Add filters for WPML links.
Definition at line 61 of file class-gravityview-theme-hooks-wpml.php.
|
private |
Add the WPML permalink filters back in.
Definition at line 129 of file class-gravityview-theme-hooks-wpml.php.
References gravityview().
Referenced by wpml_ls_filter().
filter_gravityview_back_link | ( | $link | ) |
Add WPML filters to GravityView directory link.
This also modifies all the Edit Entry, Cancel Edit, Go Back links
string | $link | Permalink to the GravityView directory, without language params |
Definition at line 84 of file class-gravityview-theme-hooks-wpml.php.
References $link, and GravityView_frontend\getInstance().
|
private |
Remove WPML permalink filters.
Definition at line 101 of file class-gravityview-theme-hooks-wpml.php.
References gravityview().
Referenced by wpml_ls_filter().
wpml_ls_filter | ( | $languages | ) |
Modify the language links to fix /entry/ var from being stripped.
array | $languages | Array of active languages with their details |
SitePress $sitepress WP_Post $post WPML_URL_Converter $wpml_url_converter
Definition at line 159 of file class-gravityview-theme-hooks-wpml.php.
References $entry, $entry_slug, $post, add_url_hooks(), GravityView_API\entry_link(), gravityview(), and remove_url_hooks().
|
protected |
Definition at line 54 of file class-gravityview-theme-hooks-wpml.php.
|
protected |
Definition at line 26 of file class-gravityview-theme-hooks-wpml.php.
|
protected |
Definition at line 39 of file class-gravityview-theme-hooks-wpml.php.