protected function register_rewrite_endpoints() {
		if ( ! empty( $this->rewrite_endpoint ) ) {
			foreach ( $this->rewrite_endpoint as $slug => $arr ) {
				\add_rewrite_endpoint( $slug, $arr['type'] );
			}
		}
	}
protected function register_rewrite_endpoints() {
		if ( ! empty( $this->rewrite_endpoint ) ) {
			foreach ( $this->rewrite_endpoint as $slug => $arr ) {
				\add_rewrite_endpoint( $slug, $arr['type'] );
			}
		}
	}
protected function register_rewrite_endpoints ( ) { if ( ! empty ( $ this -> rewrite_endpoint ) ) { foreach ( $ this -> rewrite_endpoint as $ slug => $ arr ) { \ add_rewrite_endpoint ( $ slug , $ arr [ 'type' ] ) ; } } }
Registers Rewrite Endpoints With WordPress.
Registers Rewrite Endpoints With WordPress .