WordPress.org

Ready to get started?Download WordPress

Forums

How do I create a preg_replace function to replace a css style (1 post)

  1. KarlB
    Member
    Posted 4 years ago #

    Hello,

    I wondered if anyone could give me any pointers on creating a preg_replace for my functions.php file that will allow me to rename a css class name from foo1 to foo2.

    I need to do this because of some hard coded css class in a plugin is causing me problems so renaming via preg_replace would be ideal.

    Thank a lot
    Karl

Topic Closed

This topic has been closed to new replies.

About this Topic