Add String to the Local SEO Business Name

add_filter( ‘aioseo_local_business_get_location’, ‘aioseo_change_local_business_get_location’, 10, 2 ); function aioseo_change_local_business_get_location( $information, $postId ) { if ( 19 === $postId ) { $information->locations->business->name .= ‘ LLC’; } return $information; }Continue reading

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

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

Change default zoom for all PDF files in PDF Embedder Premium

/** * Set the default zoom value for all shortcodes/blocks regardless of their settings. * See https://wp-pdf.com/premium-instructions/shortcodes/#zoom for available Zoom values. */ add_filter( ‘pdfemb_premium_viewer_strings’, static function( $atts ) { $atts[‘zoom’] = ‘page-actual’; $atts[‘fpzoom’] = ‘page-actual’; return $atts; } );Continue reading