Aurangajeb

Show post or cpt on WPUF my account dashboard section

Feb 23rd, 2021
906
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function show_post_or_cpt_on_my_account_dashboard_section() {
  2. echo do_shortcode('[wpuf_dashboard post_type="post"]');
  3. }
  4. add_action('show_post_or_cpt_on_my_account_dashboard_section','show_post_account_dashboard');
RAW Paste Data