GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Register and render the admin metaboxes for GravityView. More...
Public Member Functions | |
__construct () | |
initialize () | |
Add WordPress hooks. More... | |
register_metaboxes () | |
render_data_source_metabox ( $post) | |
Render html for 'select form' metabox. More... | |
render_select_template_metabox ( $post) | |
Render html for 'select template' metabox. More... | |
render_shortcode_hint () | |
Render shortcode hint in the Publish metabox. More... | |
render_view_configuration_metabox ( $post) | |
Render html for 'View Configuration' metabox. More... | |
render_view_settings_metabox ( $post) | |
Render html View General Settings. More... | |
settings_metabox_render ( $post) | |
Render the View Settings metabox. More... | |
update_priority () | |
GravityView wants to have the top (normal ) metaboxes all to itself, so we move all plugin/theme metaboxes down to advanced More... | |
Static Public Member Functions | |
static | render_merge_tags_scripts ( $curr_form) |
Generate the script tags necessary for the Gravity Forms Merge Tag picker to work. More... | |
Data Fields | |
$post_id = 0 | |
Static Public Attributes | |
static | $metaboxes_dir |
Private Member Functions | |
add_settings_metabox_tabs () | |
Add default tabs to the Settings metabox. More... | |
get_data_source_header ( $post_id) | |
Generate the title for Data Source, which includes the Action Links once configured. More... | |
Register and render the admin metaboxes for GravityView.
Definition at line 6 of file class-gravityview-admin-metaboxes.php.
__construct | ( | ) |
Definition at line 18 of file class-gravityview-admin-metaboxes.php.
References GRAVITYVIEW_DIR, initialize(), and GravityView_Compatibility\is_valid().
|
private |
Add default tabs to the Settings metabox.
gravityview/metaboxes/default
Modify the default settings metabox tabs array | $metaboxes |
Definition at line 124 of file class-gravityview-admin-metaboxes.php.
References GravityView_Metabox_Tabs\add().
Referenced by register_metaboxes().
|
private |
Generate the title for Data Source, which includes the Action Links once configured.
int | $post_id | ID of the current post |
This method is running before GravityView's been fully set up; likely being called by another plugin.
Definition at line 213 of file class-gravityview-admin-metaboxes.php.
References $current_form, $output, GravityView_Admin_Views\get_connected_form_links(), gravityview_get_form(), and gravityview_get_form_id().
Referenced by register_metaboxes().
initialize | ( | ) |
Add WordPress hooks.
Definition at line 38 of file class-gravityview-admin-metaboxes.php.
Referenced by __construct().
register_metaboxes | ( | ) |
Definition at line 69 of file class-gravityview-admin-metaboxes.php.
References $post, add_settings_metabox_tabs(), and get_data_source_header().
render_data_source_metabox | ( | $post | ) |
Render html for 'select form' metabox.
object | $post |
Definition at line 256 of file class-gravityview-admin-metaboxes.php.
|
static |
Generate the script tags necessary for the Gravity Forms Merge Tag picker to work.
int | $curr_form | Form ID |
Definition at line 279 of file class-gravityview-admin-metaboxes.php.
References $curr_form, GV\$form, $output, and gravityview_get_form().
render_select_template_metabox | ( | $post | ) |
Render html for 'select template' metabox.
object | $post |
Definition at line 268 of file class-gravityview-admin-metaboxes.php.
render_shortcode_hint | ( | ) |
Render shortcode hint in the Publish metabox.
Definition at line 353 of file class-gravityview-admin-metaboxes.php.
References $post, gravityview(), gravityview_get_directory_fields(), and gravityview_get_directory_widgets().
render_view_configuration_metabox | ( | $post | ) |
Render html for 'View Configuration' metabox.
mixed | $post |
Definition at line 313 of file class-gravityview-admin-metaboxes.php.
References $curr_form, $post, View\from_post(), gravityview_get_form_id(), and gravityview_get_template_id().
render_view_settings_metabox | ( | $post | ) |
Render html View General Settings.
object | $post |
Definition at line 337 of file class-gravityview-admin-metaboxes.php.
References $current_settings, $post, and gravityview_get_template_settings().
settings_metabox_render | ( | $post | ) |
Render the View Settings metabox.
WP_Post | $post |
gravityview/metaboxes/before_render
Before rendering GravityView metaboxes WP_Post | $post |
gravityview/metaboxes/after_render
After rendering GravityView metaboxes WP_Post | $post |
Definition at line 98 of file class-gravityview-admin-metaboxes.php.
References $post, and GravityView_Metabox_Tabs\get_all().
update_priority | ( | ) |
GravityView wants to have the top (normal
) metaboxes all to itself, so we move all plugin/theme metaboxes down to advanced
Definition at line 52 of file class-gravityview-admin-metaboxes.php.
|
static |
Definition at line 8 of file class-gravityview-admin-metaboxes.php.
$post_id = 0 |
Definition at line 13 of file class-gravityview-admin-metaboxes.php.