• I am helping to maintain a website at a university in Iowa. I have been asked to add the list of user roles for a logged in user to the Account page( as an unordered list or table). From my researching, it seems to involve making calls to both wordpress functions and PHP functions. I cannot find how to call these functions on the Account page…it allows for adding javascript using the <script></script> tags, but it will not accept <?php> tags..

    I would grateful for any help and/or direction this forum could offer!

    Phil

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Clarify, about what account page do you write? Is it WordPress user profile page or WooCommerce account page?

    If this page is built for WordPress using PHP, it would use an action/hook, which allows to insert to it the additional output from PHP code too.

Viewing 1 replies (of 1 total)
  • The topic ‘Add user roles to Account page’ is closed to new replies.