How to Properly Disable wptexturize in WordPress

The wptexturize function is responsible for some automatic text transformations in WordPress, for instance, it changes straight quotes ( ' or " ) to curly quotes (also known as smart quotes). In WordPress 4.0 and higher, you can turn off wptexturize by using the run_wptexturize filter. Passing false to the…