Пример #1
0
 public function __construct()
 {
     // register the execute method to wp_insert_post action
     // to execute notification services after the post got saved completely
     // (including custom fields managed by plugins etc.)
     IfwPsn_Wp_Proxy_Action::addWpInsertPost(array($this, 'fetchPostOnInsert'), 1000000);
 }