• Hi ! As i learn about wp functions, i have come to a point where i wanted
    to do some converting of my static html/css into template files and have run into this problem.

    As far as i can see, all wp functions generate content already with HTML code. This makes conversion a major pain as wp content forces HTML that i do not want.

    The only one i found (so far) was wp_get_nav_menu_items() with parameter echo = false.

    Are there wp functions which strip that junk HTML and leave only pure data for inserting in my HTML ?

  • The topic ‘template functions without HTML junk ?’ is closed to new replies.