I think they’re there…
I edited the php file in text editor so it reads:
[ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]
<?php
/**
* Plugin Name: Notification Email Override for Restaurant Reservations
* Plugin URI: https://themeofthecrop.com
* Description: Override the From email address used in booking notification emails
* Version: 1.0
* Author: Theme of the Crop
* Author URI: https://themeofthecrop.com
* License: GNU General Public License v2.0 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU General Public License along with this program; if not, write
* to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
if ( ! defined( 'ABSPATH' ) )
exit;
/**
* Set the email address used in the From headers
*/
if ( !function_exists( 'rtbonfe_set_from_email' ) ) {
add_filter( 'rtb_notification_email_header_from_email', 'rtbonfe_set_from_email' );
function rtbonfe_set_from_email( $email ) {
return ‘[email protected]’;
}
} // endif;
But once I have the edited php file, how do I upload? Do I zip it again or upload straight to the plugins folder?? I’ll send you the email I need to use via the contact form on your site like you suggested previously if that’s ok?