• I have implemented a function with the code:

    `add_shortcode(‘list_user_data’,’user_data’);’

    My page contains the shortcut code:[list_user_data]

    The Admin user is presented with the page rendered as per the function.

    The ordinary user is presented with a page which simply contains only the shortcode enclosed in brackets:
    [list_user_data]

Viewing 1 replies (of 1 total)
  • Thread Starter dgcov

    (@dgcov)

    Sorry, there is obviously a problem with my code: the Admin user also does not have the page rendered.

    Please ignore.

Viewing 1 replies (of 1 total)
  • The topic ‘Function shortcut not working for ordinary user.’ is closed to new replies.