DT_Metrics_Milestones_Map_Chart

Extends \DT_Metrics_Chart_Base

package

Default

Methods

Disciple_Tools_Counter constructor.

__construct() 
inherited

add_api_routes

add_api_routes() 

add_milestones_data

add_milestones_data( $data,  $force_refresh = false) 

Arguments

$data

$force_refresh

This hook add a page for the metric charts

base_add_url( $template_for_url) : mixed
inherited

Arguments

$template_for_url

Response

mixed

Build the menu out on the metrics page The menu item will be added based on the base_slug (menu group) and the base_title from the template extending this class

base_menu( $content) : mixed|string
inherited

Arguments

$content

Response

mixed|string

base_scripts

base_scripts() 
inherited

data

data( $force_refresh = false) 

Arguments

$force_refresh

has_permission

has_permission() 
inherited

mapping_scripts

mapping_scripts() 

milestones_map_endpoint

milestones_map_endpoint(\WP_REST_Request $request) 

Arguments

$request

\WP_REST_Request

scripts

scripts() 

translations

translations() 

Properties

base_slug

base_slug : 
inherited

Type(s)

base_title

base_title : 
inherited

Type(s)

title

title : 
inherited

Type(s)

slug

slug : 
inherited

Type(s)

js_object_name

js_object_name : 
inherited

Type(s)

js_file_name

js_file_name : 
inherited

Type(s)

permissions

permissions : 
inherited

Type(s)

namespace

namespace : 

Type(s)