Skip to content

Instantly share code, notes, and snippets.

@huub-l
huub-l / adwords-tracking-for-rtb.php
Created January 23, 2019 22:36 — forked from NateWr/adwords-tracking-for-rtb.php
Output tracking code when a booking request is made.
<?php
/**
* Plugin Name: Google Adwords Tracking for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Insert a Google Adwords Campaign conversion tracking snippet when a new booking request has been made.
* 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 / rtbbp-address-tag-for-rtb.php
Created January 23, 2019 22:33 — forked from NateWr/rtbbp-address-tag-for-rtb.php
Add a notification tag to Restaurant Reservations that pulls the address and directions link from Business Profile
<?php
/**
* Plugin Name: Address Notification Tag for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Add a template tag for notification requests that will print a business's address and a link to get directions from Google.
* 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 / rtb-override-notification-from-email.php
Created January 23, 2019 22:32 — forked from NateWr/rtb-override-notification-from-email.php
Override the From email address used in booking notification emails
<?php
/**
* Plugin Name: Notification Email Override for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Override the From email address used in booking notification emails
* 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-email-validation-for-rtb.php
Created January 23, 2019 22:31 — forked from NateWr/simple-email-validation-for-rtb.php
Check if a reservations's email address includes the @ symbol before accepting.
<?php
/**
* Plugin Name: Simple Email Validation for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Check if a reservations's email address includes the @ symbol before accepting.
* 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 / redirect-after-submit-for-rtb.php
Created January 23, 2019 22:29 — forked from NateWr/redirect-after-submit-for-rtb.php
Redirect the user to a different page after they have submitted their reservation.
<?php
/**
* Plugin Name: Redirect After Submit for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Redirect the user to a different page after they have submitted their reservation.
* 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 / confirm-new-bookings-for-rtb.php
Created January 23, 2019 22:28 — forked from NateWr/confirm-new-bookings-for-rtb.php
Automatically confirm new booking requests for Restaurant Reservations.
<?php
/**
* Plugin Name: Auto-confirm New Bookings for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Automatically confirm new booking requests.
* 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 / custom-late-booking-for-rtb.php
Created January 23, 2019 22:28 — forked from NateWr/custom-late-booking-for-rtb.php
Add options to block bookings 2, 3 or 4 days 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, 3 or 4 days 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 / hide-time-for-rtb.php
Created January 23, 2019 22:28 — forked from NateWr/hide-time-for-rtb.php
Hides the time field in the booking form. Requires PHP 5.3+
<?php
/**
* Plugin Name: Hidden Time Field for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Hides the time field in the booking form. Requires PHP 5.3+
* 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 / party-limits-for-rtb.php
Created January 23, 2019 22:22 — forked from NateWr/party-limits-for-rtb.php
Adds a minimum party size setting to the Restaurant Reservations plugin.
<?php
/**
* Plugin Name: Party Limits for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: Adds a minimum party size setting to the Restaurant Reservations plugin.
* Version: 0.3
* 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 / block-ips-for-rtb.php
Created January 23, 2019 22:22 — forked from NateWr/block-ips-for-rtb.php
This plugin records the IP address from bookings and allows you to block bookings by IP address or email address.
<?php
/**
* Plugin Name: Block Bookings by IP/Email Address for Restaurant Reservations
* Plugin URI: http://themeofthecrop.com
* Description: This plugin records the IP address from bookings and allows you to block bookings by IP address or email address.
* Version: 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