Skip to content

Instantly share code, notes, and snippets.

@huub-l
huub-l / email-confirmation-copy-for-rtb.php
Created January 23, 2019 22:22 — forked from NateWr/email-confirmation-copy-for-rtb.php
Send a copy of the confirmation email to the admin notification email address for Restaurant Reservations.
<?php
/**
* Plugin Name: Email Confirmation Copy for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Send a copy of the confirmation email to the admin notification email address.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / max-bookings-for-rtb.php
Created January 23, 2019 08:56 — forked from NateWr/max-bookings-for-rtb.php
Automatically block bookings when a max per-day booking limit is hit.
<?php
/**
* Plugin Name: Max Bookings for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Modifies the Restaurant Reservations plugin to rejects bookings if a max bookings limit has been reached for the day.
* Version: 1.0
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / required-phone-for-rtb.php
Created January 23, 2019 08:56 — forked from NateWr/required-phone-for-rtb.php
Require phone number for Restaurant Reservations
<?php
/**
* Plugin Name: Required Phone Number addon for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Modify the Restaurant Reservations plugin to require the phone number.
* Version: 1.0
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / simple-phone-validation-for-rtb.php
Created January 23, 2019 08:54 — forked from NateWr/simple-phone-validation-for-rtb.php
Require a phone number with at least 5 numbers, dashes, spaces, periods or parentheses.
<?php
/**
* Plugin Name: Simple Phone Validation for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Check if a reservations's phone number is not empty and includes only numbers, spaces, dashes, periods and parentheses.
* Version: 1.0
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / modified-party-for-rtb.php
Created January 23, 2019 08:54 — forked from NateWr/modified-party-for-rtb.php
modified-party-for-rtb.php
<?php
/**
* Plugin Name: Modified Party Field Title for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Change the title of the Party field to Number in your group for the booking form.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / custom-late-booking-for-rtb.php
Created January 23, 2019 08:54 — forked from NateWr/custom-late-booking-for-rtb.php
Add options to block bookings 2 hours in advance in the Restaurant Reservations plugin.
<?php
/**
* Plugin Name: Custom Late Bookings Options for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add options to block bookings 2 hours in advance in the Restaurant Reservations plugin.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / custom-legend-for-rtb.php
Created January 23, 2019 08:54 — forked from NateWr/custom-legend-for-rtb.php
Customize the "Book a Form" text in Restaurant Reservations
<?php
/**
* Plugin Name: Custom Legend for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Change the legend text of the booking form to Request an Appointment
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / email-template-tag-for-rtb.php
Created January 23, 2019 08:53 — forked from NateWr/email-template-tag-for-rtb.php
Add a template tag for the email of the person who submitted the booking request.
<?php
/**
* Plugin Name: Email Template Tag for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a template tag for the email of the person who submitted the booking request.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / custom-interval-for-rtb.php
Created January 23, 2019 08:49 — forked from NateWr/custom-interval-for-rtb.php
Add a new Time Interval option to the booking schedule settings in Restaurant Reservations.
<?php
/**
* Plugin Name: Custom Booking Interval for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a new Time Interval option to the booking schedule settings in Restaurant Reservations.
* Version: 0.0.1
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
@huub-l
huub-l / max-capacity-for-rtb.php
Created January 7, 2019 09:47 — forked from NateWr/max-capacity-for-rtb.php
Automatically block bookings when a max per-day capacity is hit.
<?php
/**
* Plugin Name: Max Capacity for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Modifies the Restaurant Reservations plugin to rejects bookings if a max capacity limit has been reached for the day.
* Version: 1.0
* Author: Theme of the Crop
* Author URI: http://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html