Plugin Directory

wpuntexturize

Version: 1.4.2 Prevent WordPress from displaying single and double quotation marks as their curly alternatives.

Filters

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.

c2c_wpuntexturize (filter)

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:

  • none

Example:

Instead of:

<?php echo c2c_wpuntexturize( $mytext ); ?>

Do:

<?php echo do_action( 'c2c_wpuntexturize', $mytext ); ?>

wpuntexturize_filters (filter)

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:

  • array $filters : the default array of filters

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

Average Rating

4 stars
(5 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,2,2
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
50,2,1 100,1,1
0,1,0
0,2,0
100,2,2