This class was built following the example of one-page-chart-template.php
| package |
Default |
|---|
__construct()
add_api_routes()
api_sources_chart_data(\WP_REST_Request $request)
\WP_REST_Request
chart_contacts_progress( $type = 'personal')
chart_critical_path( $start = null, $end = null)
chart_group_generations( $type = 'personal')
chart_group_health( $type = 'personal')
chart_group_types( $type = 'personal')
chart_my_hero_stats( $user_id = null)
chart_project_hero_stats()
check_date_string(\string $str)
\string
get_data_from_db(\string $from = null, \string $to = null)
$rv = [ 'website foobar' => [ 'name_of_source' => 'website foobar', 'status_paused' => 1, 'status_closed' => 4, 'status_active' => 3, 'total' => 8, 'active_seeker_path_attempted' => 2, 'active_seeker_path_ongoing' => 1, ], // etc ];
\string
\string
get_sources_milestones(\string $from = null, \string $to = null)
\string
\string
query_logins_by_day()
query_my_contacts_progress( $user_id = null)
query_my_group_generations( $user_id = null)
query_my_group_health( $user_id = null)
query_my_group_types( $user_id = null)
query_my_hero_stats( $user_id = null)
query_project_contacts_progress() : array
| note |
active use |
|---|---|
array
query_project_group_health()
query_project_group_types()
query_project_hero_stats()
scripts()
title :
slug :
js_object_name :
js_file_name :
deep_link_hash :