Display user page programatically

5.32K viewsCore
0

Hi, we use a drag & drop site builder plugin such as SiteOrigin or Elementor.
And in one content area of the page, we would like to display the current user’s about page.

Is this the correct way?

<br />
<?php<br />
set_query_var('user_page', 'about');<br />
ap_user_page();<br />
?><br />