Action Reference: geodir_before_custom_form_field_.$name

Summary

Called before the custom fields info is output for submitting a post.

Description

Used dynamic hook type geodir_before_custom_form_field_$name.

Parameters

$listing_type
(string) (required) The post post type.

Default: None
$package_id
(int) (required) The price package ID for the post.

Default: None
$val
(array) (required) The settings array for the field. {@see geodir_custom_field_save()}.

Default: None

See

‘geodir_after_custom_form_field_$name’

Change Log

Since: 1.0.0

Used by

geodirectory-functions/custom_fields_functions.php: geodir_get_custom_fields_html() [Line: 1302]

Source Code

        do_action('geodir_before_custom_form_field_' . $name, $listing_type, $package_id, $val);