Skip to:
Content
Pages
Categories
Search
Top
Bottom

check if current, logged in user has just made a post in a specific forum

  • @chrissilisa

    Participant

    Hello,

    how can I check if the current, logged in user has just made a post in a specific forum ?

    Thanks,
    Chrissi

Viewing 2 replies - 1 through 2 (of 2 total)
  • @casiepa

    Moderator

    Hi ChrissiLisa,
    Not sure what you want to obtain, but can this example help ?

    add_filter('bbp_get_topic_content', 'chrissilisa_function');
    add_filter('bbp_get_reply_content', 'chrissilisa_function');
    function chrissilisa_function($content){
      return 'hiiiiiiii'.$content;
      }

    Pascal.

    @chrissilisa

    Participant

    i want to ensure, that a user can post only one topic, so i have to check if the user has just posted to make the form unvisible

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar