{{brizy_dc_image_alt entityId=

Matching site creation using WordPress [HivePress] Hiding the budget field from the request form

At HanamiWEB Online School,

●Ask questions in real-time in the virtual study room!

●Ask as many questions as you want via chat!

●E-learning materials that you can learn as much as you want, 24 hours a day!

All included for just 2,500 yen/month!

We will explain the code introduced in the HivePress code recipe.

Hide the budget field from the request form

<?php
add_filter(
	'hivepress/v1/models/request/attributes',
	function( $attributes ) {
		if ( isset( $attributes['budget'] ) ) {
			$attributes['budget']['editable'] = false;
			$attributes['budget']['filterable'] = false;
			$attributes['budget']['edit_field']['required'] = false;
		}
 
		return $attributes;
	},
	1000
);

Add to function.php

The code is added to function.php.

  • Create a child theme and add it to function.php
  • Added using the code snippets plugin

Please edit function.php in one of two ways.

Finally, go to Settings > Permalinks and click the [Update] button to reload the permalinks.

This blog post explains the prerequisites you need to know before editing function.php!

Released as soon as the next morning! Weekends and holidays are also available!

Super rush website creation plan

We offer a rush website creation plan for those who need a website in a hurry!

We can publish your content as soon as the next morning, even on weekends and holidays! If you have any questions, please check the details below!

{{brizy_dc_image_alt imageSrc=

Latest Articles

{{brizy_dc_image_alt entityId=
How to Create a Staging Site and Upgrade Your WordPress Site with the WPvivid Plugin
{{brizy_dc_image_alt entityId=
Maintain your WordPress site safely in a staging environment! I purchased WP vivid Pro!
{{brizy_dc_image_alt entityId=
Even if Gmail POP is discontinued in January 2026, you can still continue to use Gmail!
{{brizy_dc_image_alt entityId=
How to make installment payments with Stripe
WP Rocket - WordPress Caching Plugin
en_USEnglish