Skip to:
Content
Pages
Categories
Search
Top
Bottom

Topic action hook


  • Thion
    Member

    @thion

    I was looking, but can’t find – so I’m still looking for hook, something like this:

    add_action('profile_edited', 'update_user_socialize');

    Above hook is used to add usermeta when editing profile – I’m looking for something that would add additional topicmeta when posting new topic – the following is not working:

    add_action('post_topic', 'post_new_job');

    So is there any hook like this?

Viewing 2 replies - 1 through 2 (of 2 total)

  • Thion
    Member

    @thion

    All right, let’s try different question – I want to add additional informations to topicmeta when posting new topic – how can I achieve this? :)

    Or at least point me to a plugin that is doing something like this so I could learn there…


    _ck_
    Participant

    @_ck_

    add_action('topicmeta','hello_world');
    function hello_world() {echo "<li>hello world</li>";}

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.