Remove image field for listing

When a user submit listing, i want to remove the image upload field and also remove the image when displaying listing. how can i do that thank you

Try those filters, one for hidding in the submit form and the other to hide any image in the listing:

add_filter(
	'hivepress/v1/forms/listing_update',
	function ($form){
		unset($form['fields']['images']);
		
		return $form;
	},
	1000
);
add_filter(
	'hivepress/v1/templates/listing_view_page',
	function( $template ) {
		return hivepress()->helper->merge_trees(
			$template,
			[
				'blocks' => [
					'listing_images' => [
						'type' => 'content',
					],
				],
			]
		);
	},
	1000
); 

works like a charm! thanks!

I’m glad it helps you! @weeuwee

Best regards!

where exactly should this be inserted?

Please use the Code Snippets plugin to add and manage custom PHP code snippets Code Snippets – WordPress plugin | WordPress.org