add_filter( ‘aioseo_local_business_taxonomy_slug’, ‘aioseo_change_local_business_taxonomy_slug’ ); function aioseo_change_local_business_taxonomy_slug( $slug ) { $slug = ‘franchise-state’; return $slug; }Continue reading
add_filter( ‘aioseo_local_business_taxonomy’, ‘aioseo_change_local_business_taxonomy’ ); function aioseo_change_local_business_taxonomy( $taxonomy ) { $taxonomy[‘hierarchical’] = true; return $taxonomy; }Continue reading
add_filter( ‘aioseo_local_business_post_type_slug’, ‘aioseo_change_local_business_post_type_slug’ ); function aioseo_change_local_business_post_type_slug( $slug ) { $slug = ‘franchise’; return $slug; }Continue reading
add_filter( ‘aioseo_local_business_post_type_name’, ‘aioseo_change_local_business_post_type_name’ ); function aioseo_change_local_business_post_type_name( $name ) { $name = ‘franchise-location’; return $name; }Continue reading
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
define( ‘WP_POST_REVISIONS’, 4 );Continue reading
/* 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 * * 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