Documentation Category: Hook

gplc_not_enough_stock_message

DescriptionUsageParametersExampleModify the Message That Is Displayed When the Stock Left Isn’t Enough.SinceDescription Filter validation message when the item has stock available but not as many …

gplc_completed_payments_only

DescriptionUsageParametersSourceDescription Indicate whether all submissions for a field should be counted against the limit or only submissions with an approved payment. Usage Apply to all …

gpbua_activation_success

DescriptionUsageParametersSourceSinceDescription Trigger Activation was completed successfully. Usage Parameters gpbua_activate \GPBUA_Activate The current GPBUA_Activate activation object. Source This filter is located in GPBUA_Activate::activate() in GPBUA_Activate.php. Since …

gpbua_hide_title

DescriptionUsageParametersSourceSinceDescription Filter whether the page title should be visible on the activation page. Usage Parameters hide_title bool Whether or not the page title should be …

gpcc_overwrite_existing_values_on_init

Enable overwriting target values when form is initialized. By default, source values will not overwrite target values when the form is initialized. This means data that is pre-populated into target fields will take precedence over values copied from source fields.

gpecf_styles

Filter inline styles which will be applied to the order summary.

gpecf_apply_custom_order_summary

Optionally disable the GPECF order summary (which will replace the default GF order summary).

gpwc_script_args

DescriptionUsageParametersExamplesChange the word counts labels for all fields.Disable truncationSourceSinceDescription Modify the arguments that will be passed to the word counter script. Usage Parameters default_args array …

gpro_disable_datepicker

Disable the datepicker for read-only Datepicker fields.

gppcmt_encrypt_eid

DescriptionUsageParametersExamplesDisable encryption of the eid parameterSource CodeSinceDescription Disables (or enables) encryption of the eid parameter. By default, all eid parameters within GP Post Content Merge …

gpml_merge_tag_image_sizes

DescriptionUsageParametersExamplesReturn All Available Image Sizes For Image Merge TagsAdd A Custom SizeAdd A Size to the ListSource CodeSinceDescription By default, GP Media Library will use …

gppt_auto_progress_support_conditions

Filter the conditions that dictate whether or not a field supports auto-progression. Each condition supports a ‘type’ and ‘callback’ property. If the field type supports auto-progression unconditionally, you only need to specific the ‘type’ property. If the field type only supports auto-progression if certain requirements are met, specify a callback function which will determine if the field passed to it meets the requirements for the condition’s field type.

gppt_is_custom_pagination

Filter the custom pagination flag to enable custom pagination support.

gppt_transition_styles

Filter available transition styles (will appear in the Transition Style setting).

gppt_hide_footer

Filter the visibility of the form footer. If “Hide Next Button” and “Hide Previous Button” are enabled and GF’s Save & Continue feature is disabled, the footer will automatically be hidden.