Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Datahander Hooks
#1
$plugins->run_hooks("datahandler_post_insert_thread_post", $this);

$this->pid = $db->insert_query("posts", $this->post_insert_data);

It would be nice to have an additional hook added after the post is inserted so we can easily obtain the new post's pid.
RedHat Certified Systems Administrator


Messages In This Thread
Post Datahander Hooks - by spork985 - 2014-04-01, 02:23 PM
RE: Post Datahander Hooks - by Wildcard - 2014-04-01, 02:27 PM
RE: Post Datahander Hooks - by spork985 - 2014-04-01, 03:49 PM
RE: Post Datahander Hooks - by Euan T - 2014-04-01, 06:32 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)