jssb_add_endpoint

The WordPress Core jssb add endpoint function.

Description

jssb_add_endpoint( $rewrite_rules ); 

Parameters (1)

0. $rewrite_rules
The rewrite rules.

Usage

  1. if ( !function_exists( 'jssb_add_endpoint' ) ) { 
  2. require_once '/jetpack-status-board.php'; 
  3.  
  4. // The rewrite rules. 
  5. $rewrite_rules = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = jssb_add_endpoint($rewrite_rules); 
  9.  

Defined (1)

The function is defined in the following location(s).

/jetpack-status-board.php  
  1. function jssb_add_endpoint( $rewrite_rules ) { 
  2. add_rewrite_endpoint( 'jssb-stats', EP_ALL );