Forums

[Plugin: Raw HTML] add_filter priority (using google-analytics-for-wordpress) (1 post)

  1. mariofischer
    Member
    Posted 2 years ago #

    Hi -
    Cool plugin, thanks a lot.

    I had problems using the google analytics plugin, since it parses the post contents and adds a tracking code for certain links (which didn't work after installing RawHTML).

    I noticed that the priority of the content-filter was set to 1001. Since the other plugin uses 99 as priority it didn't "see" the HTML-Code, so I changed this line in your plugin

    add_filter('the_content', 'wsh_insert_exclusions', 98);

    Wouldn't it be useful to use such a value as default?

    http://wordpress.org/extend/plugins/raw-html/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags