GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
If this file is called directly, abort. More...
Public Member Functions | |
__construct () | |
add_scripts_and_styles () | |
Enqueue scripts and styles. More... | |
add_shortcode_button () | |
Add shortcode button to the Add Media right. More... | |
add_shortcode_popup () | |
Add shortcode popup div. More... | |
get_sortable_fields () | |
Ajax Given a View id, calculates the assigned form, and returns the form fields (only the sortable ones ) More... | |
is_post_editor_screen () | |
check if screen post editor and is not related with post type 'gravityview' More... | |
If this file is called directly, abort.
Definition at line 19 of file class-admin-add-shortcode.php.
__construct | ( | ) |
Definition at line 21 of file class-admin-add-shortcode.php.
add_scripts_and_styles | ( | ) |
Enqueue scripts and styles.
Definition at line 153 of file class-admin-add-shortcode.php.
References GRAVITYVIEW_FILE, GV_PLUGIN_VERSION, and is_post_editor_screen().
add_shortcode_button | ( | ) |
Add shortcode button to the Add Media right.
Definition at line 51 of file class-admin-add-shortcode.php.
References GVCommon\has_cap(), and is_post_editor_screen().
add_shortcode_popup | ( | ) |
Add shortcode popup div.
Definition at line 76 of file class-admin-add-shortcode.php.
References $post, $settings, $title, View_Settings\defaults(), is_post_editor_screen(), GravityView_Admin\no_views_text(), and GravityView_Render_Settings\render_setting_row().
get_sortable_fields | ( | ) |
Ajax Given a View id, calculates the assigned form, and returns the form fields (only the sortable ones )
Definition at line 193 of file class-admin-add-shortcode.php.
References gravityview_get_form_id(), gravityview_get_sortable_fields(), and gravityview_get_template_setting().
is_post_editor_screen | ( | ) |
check if screen post editor and is not related with post type 'gravityview'
Definition at line 40 of file class-admin-add-shortcode.php.
Referenced by add_scripts_and_styles(), add_shortcode_button(), and add_shortcode_popup().