Disciple_Tools_Metrics

Class Disciple_Tools_Admin_Menus

package

Disciple_Tools

Methods

__construct

__construct() 

Check permissions for if the user can view a certain report

can_view( $report_name,  $user_id) : boolean
static

Arguments

$report_name

$user_id

Response

boolean

Get the critical path in an array This function builds the caching layer to the critical path data. Often this data will not change rapidly, so it a good candidate for transient caching

chart_critical_path() : array|\WP_Error
static

Response

array|\WP_Error

convert_seconds

convert_seconds( $seconds,  $include_seconds = false) 
static

Arguments

$seconds

$include_seconds

enqueue_scripts

enqueue_scripts() 

instance

instance() 
static

Properties

_instance

_instance : 
static

Type(s)