Viewing 3 replies - 1 through 3 (of 3 total)
  • Have already noted the ability to add shortcodes in posts from WPUF could be a problem for some and a bonus for others.

    Perhaps an option to dissallow or allow some shortcodes via an inclusion list would be good.

    It can be easily done by filtering the content just before it is submitted by wpuf_add_post.php:submit_post() and wpuf_edit_post:submit_post()

    Thread Starter maho_2013

    (@maho_2013)

    Hi, and thanks for the answer.. I’m not very good at coding department so can you please give me an example?

    To hardcode it without providing an option in the admin pages all you have to do is filter the $content in submit_post() in both the files wpuf_add_post.php and wpuf_edit_post.php. For the background look at the WordPress documentation on shortcodes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable "shorcodes" in front end posting=’ is closed to new replies.