// when saving posts, replace & with & function cc_wpse_264548_unamp( $data ) { $data['post_content'] = preg_replace( "/&/", // find '&' "&", // replace with '&' $data['post_content'] // target the 'post_content' ); return $data; } add_filter( 'wp_insert_post_data', 'cc_wpse_264548_unamp', 20 ); Lost Password ‹ The site but i invested some cash in a powerful server that should keep — WordPress

Powered by WordPress

Please enter your username or email address. You will receive a link to create a new password via email.

← Back to The site but i invested some cash in a powerful server that should keep