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
add_filter( ‘aioseo_local_business_address_tag_value’, ‘aioseo_change_local_business_address_tag_value’, 10, 3 ); function aioseo_change_local_business_address_tag_value( $tagValue, $tag, $id ) { if ( ‘streetLineTwo’ === $tag[‘id’] ) { $tagValue = ”; } return $tagValue; }Continue reading
function mepr_reorder_fields() { ?>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
/** * 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
function aioseo_change_local_business_address_tags( $tags ) { foreach ( $tags as $key => $tag ) { if ( ‘streetLineTwo’ === $tag[‘id’] ) { unset( $tags[ $key ] ); } } return $tags; } add_filter( ‘aioseo_local_business_address_tags’, ‘aioseo_change_local_business_address_tags’ );Continue reading