• karlb

    (@karlb)


    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

  • The topic ‘How do I create a preg_replace function to replace a css style’ is closed to new replies.