Location: everywhere
link chenge
add_filter(‘the_content’, ‘modify_booking_links’); function modify_booking_links($content) { $content = str_replace( ‘https://hwc.wuyuanweb.com/reservation/’, ‘https://新的網址1.com’, $content ); $content = str_replace( ‘https://hwc.wuyuanweb.com/remote-consultation/’, ‘https://新的網址2.com’, $content ); return $content; }Continue reading
Limit Post Revisions
define( ‘WP_POST_REVISIONS’, 4 );Continue reading
Reduce Database Calls
/* Increase WordPress upload size, post size, and max execution time Original doc link: https://wpforms.com/how-to-change-max-file-upload-size-in-wordpress/ For support, please visit: https://www.facebook.com/groups/wpformsvip */Continue reading
Defining Other SMTP Constants
/* Defining Other SMTP Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_SMTP_HOST’, ‘example’ ); // The SMTP mail host. define( ‘WPMS_SMTP_PORT’, 587 ); // The SMTP server port number. define( ‘WPMS_SSL’, ” ); // Possible values ”, ‘ssl’, ‘tls’…Continue reading
Defining Zoho Mailer Constants
/* Defining Zoho Mailer Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_ZOHO_DOMAIN’, ”); define( ‘WPMS_ZOHO_CLIENT_ID’, ”); define( ‘WPMS_ZOHO_CLIENT_SECRET’, ”); define( ‘WPMS_MAILER’, ‘zoho’ );Continue reading
Defining SparkPost Mailer Constants
/* Defining SparkPost Mailer Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_MAILER’, ‘sparkpost’ ); define( ‘WPMS_SPARKPOST_API_KEY’, ” ); define( ‘WPMS_SPARKPOST_REGION’, ” );Continue reading
Defining Postmark Mailer Constants
/* Defining Postmark Mailer Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_MAILER’, ‘postmark’ ); define( ‘WPMS_POSTMARK_SERVER_API_TOKEN’, ” ); define( ‘WPMS_POSTMARK_MESSAGE_STREAM’, ” );Continue reading
Defining Outlook Mailer Constants
/* Defining Outlook Mailer Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_MAILER’, ‘outlook’ ); define( ‘WPMS_OUTLOOK_CLIENT_ID’, ” ); define( ‘WPMS_OUTLOOK_CLIENT_SECRET’, ” );Continue reading
Defining Google Mailer Constants
/* Defining Google Mailer Constants * * Original doc: https://wpmailsmtp.com/docs/how-to-secure-smtp-settings-by-using-constants/ */ define( ‘WPMS_GMAIL_CLIENT_ID’, ” ); define( ‘WPMS_GMAIL_CLIENT_SECRET’, ” ); define( ‘WPMS_MAILER’, ‘gmail’ );Continue reading