From c5a2cef2d40bc87c572f3d4bc9202381bf85af53 Mon Sep 17 00:00:00 2001
From: Mohammad Jangda <batmoo@gmail.com>
Date: Wed, 16 Oct 2013 06:18:39 +0000
Subject: [PATCH] New hooks: syn_after_setup_server and syn_after_init_server

Hook into the load process for the plugin.
---
 includes/class-wp-push-syndication-server.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/includes/class-wp-push-syndication-server.php b/includes/class-wp-push-syndication-server.php
index bc90333..7bf1da0 100644
--- a/includes/class-wp-push-syndication-server.php
+++ b/includes/class-wp-push-syndication-server.php
@@ -48,6 +48,7 @@ class WP_Push_Syndication_Server {
 
 		$this->register_syndicate_actions();
 
+		do_action( 'syn_after_setup_server' );
 	}
 
 	public function init() {
@@ -136,6 +137,7 @@ class WP_Push_Syndication_Server {
 
 		$this->version = get_option( 'syn_version' );
 
+		do_action( 'syn_after_init_server' );
 	}
 
 	public function register_syndicate_actions() {
-- 
GitLab