$instance $instance : mixed Static variable to hold the single instance of the class. Type mixed — Default null
get_instance() get_instance() : \MainWP\Dashboard\Module\CostTracker\Cost_Tracker_Dashboard Get Instance Creates public static instance. Returns \MainWP\Dashboard\Module\CostTracker\Cost_Tracker_Dashboard
render_overview_page() render_overview_page() Renders overview. When the page loads render the body content.
ajax_cost_tracker_delete() ajax_cost_tracker_delete() Method ajax_cost_tracker_delete() Post handler for save notes.
render_actions_bar() render_actions_bar() Render Actions Bar Renders the actions bar on the Dashboard tab.
render_dashboard_body() render_dashboard_body(array $subscriptions) Render the Dashbaord tab Renders the dashbaord tab content - Subscription table Parameters array $subscriptions Subscriptions.
get_dashboard_table_row() get_dashboard_table_row(array $subscriptions, array $output = array()) Get Subscription Table Row Gets the Subscription dashbaord table row. Parameters array $subscriptions Subscriptions data. array $output Subscriptions output data.
render_modal_edit_notes() render_modal_edit_notes(string $what = 'site') : void Method render_modal_edit_notes() Render modal window for edit notes. Parameters string $what What modal window to render. Default = site.