• Hey,

    i have a wordpress code like do_action(example_nr_1).
    What it does is to create about three lines of html-code like this:

    <div class=”exam”>
    <img src=”zzz1.jpg” width=”100″ height=”100″></img>
    </div>

    I always want to search this created code for example for the string “=100” and replace it.

    Can anyone tell me how i could save the content of do_action(example_nr_1) in a variable so that i can work with it if it is a string?

    Thank you very much,
    René

  • The topic ‘do_action(example_nr_1) to variable?’ is closed to new replies.