Version: 1.4.2 Prevent WordPress from displaying single and double quotation marks as their curly alternatives.
The plugin is further customizable via two filters. Typically, these customizations would be put into your active theme's functions.php file, or used by another plugin.
The 'c2c_wpuntexturize' filter allows you to use an alternative approach to safely invoke c2c_wpuntexturize() in such a way that if the plugin were deactivated or deleted, then your calls to the function won't cause errors in your site. This only applies if you use the function directly, which is not typical usage for most users.
Arguments:
Example:
Instead of:
<?php echo c2c_wpuntexturize( $mytext ); ?>
Do:
<?php echo do_action( 'c2c_wpuntexturize', $mytext ); ?>
The 'wpuntexturize_filters' filter allows you to customize what filters to hook to be filtered with wpuntexturize. See the Description section for a complete list of all filters that are filtered by default.
Arguments:
Example:
add_filter( 'wpuntexturize_filters', 'more_wpuntexturize_filters' );
function more_wpuntexturize_filters( $filters ) {
$filters[] = 'event_description';
return $filters;
}
Requires: 1.5 or higher
Compatible up to: 3.3.2
Last Updated: 2011-12-22
Downloads: 2,293
Got something to say? Need help?