Filter Reference: geodir_image_uploader_on_add_listing
Summary
Filter to be able to show/hide the image upload section of the add listing form.
Parameters
- $show_image_input_box
- (bool) (required) Set true to show. Set false to not show.
- Default: None
- $listing_type
- (string) (required) The custom post type slug.
- Default: None
Change Log
Since: 1.0.0
Used by
geodirectory_template_actions.php: geodir_action_add_listing_form() [Line: 2479]
Source Code
$show_image_input_box = apply_filters('geodir_image_uploader_on_add_listing', $show_image_input_box, $listing_type);