WP Rocket - WordPress Caching Plugin
wordpressおすすめ無料有料テーマ

How to delete required items for membership registration in the MTS booking system business version

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!

I bought the business version of the MTS booking system to set up a reservation form with member registration functionality on my client's website, and I got hooked...

There was an explanation on the official website so I thought I could get there quickly, but...
This will be kept as a record.

Below we explain how to use the free MTS booking system!

Removed address field from member registration form

What I wanted to do was to remove the address field from the membership registration form.
All you have to do is modify the "lib/MtssbUserFormTemp.php" file. The input form can be deleted quickly.

It is also featured on the official website
Ver.1.20 Added user registration front-end function

Simply deleting the address field will result in an error.

The address field is required.

add_filter('mtssb_register_items', 'register_items'); function register_items($items) { $items['address'] = false; return $items; }

I thought it would be OK if I put this in "lib/MtssbUserFormTemp.php", but an error occurred and the screen would not be displayed.

I tried looking in various places, but no matter where I put it, I get an error.

Correct location for validation processing

It was function.php...

I was wondering what it was. I was troubled by this for a few hours.

For example, if you delete the Seimei column for kana input

If you want to add it to your address and don't need to enter the name,

add_filter('mtssb_register_items', 'register_items'); function register_items($items) { $items['address'] = false; $items['kana'] = false; return $items; }

Add it like this!

Surprisingly simple.

I'm having trouble with WordPress! I need help! I'm offering lessons.
Please feel free to contact us!

HanamiWEB

The person who wrote this article

Matsuura Misa

HanamiWEB Co., Ltd. / Web Production, SEO, and AI Search Engine Optimization Support

Based in Nerima Ward, Tokyo, we provide support for small and medium-sized businesses, including website creation, SEO measures, and site design that anticipates the era of AI search.
I specialize in practical improvement suggestions using WordPress and content design that focuses on customer acquisition funnels.
We also provide website maintenance and operation services.

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!

Latest Articles

RankMath Webmaster Tools Setup Guide | Google Search Console & Bing
RankMath "Breadcrumb Navigation" Settings Guide
What are the important keywords in Rank Math? We explain how to set them up and how to use them for SEO.
How to set titles and descriptions in Rank Math | Explanation of templates and individual settings
en_USEnglish