Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add hook for when then control class is instantiated

  • Loading branch information...
commit 53d2cd29e8d82c2bd286019cfc9b664543e98f39 1 parent 40b516a
@matzko authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  includes/core.php
View
2  includes/core.php
@@ -11,6 +11,8 @@ public function __construct()
$this->view = new WP_JSON_RPC_API_View;
add_action('init', array(&$this, 'event_init'));
add_action('init', array(&$this->view, 'enqueue_helper_js'));
+
+ do_action( 'wp_json_rpc_api_instantiated' );
}
public function event_init()
Please sign in to comment.
Something went wrong with that request. Please try again.