Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Duplicate the function getCustomField() (in functions.php file), call it something else but related and manipulate the the returned value to a variable rather than an echo.

    Thread Starter newyorkcity

    (@newyorkcity)

    im not sure how to do that since I don’t understand php too well.. I would have to do all that to force the function return instead of echo?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Forcing Function to Return instead of Echo?’ is closed to new replies.