id; } if ( 'tools_page_nsc-3rd-party-request-manager' === $current_screen_id ) { wp_enqueue_style( 'NSC3PPM_bootstrap5', NSC3PPM_PLUGIN_URL . 'admin/assets/css/bootstrap.min.css', array(), '5.3.0' ); wp_enqueue_style( 'NSC3PPM_custom_css', NSC3PPM_PLUGIN_URL . 'admin/assets/css/nsc3ppm.css', array(), NSC3PPM_PLUGIN_VERSION ); wp_enqueue_script( 'NSC3PPM_bootstrap5', NSC3PPM_PLUGIN_URL . 'admin/assets/js/bootstrap.bundle.min.js', array(), '5.3.0', true ); } } public function add_admin_menu() { add_management_page( '3rd Party Request Manager', '3rd Party Request Manager', 'manage_options', 'nsc-3rd-party-request-manager', array( $this, 'render_plugin_page' ) ); } /** * Renders the main plugin page with tabs. * Only the content for the active tab is loaded. */ public function render_plugin_page() { $active_tab = $this->get_url_parameter( 'tab', 'summary' ); ?>
Invalid tab.
'; } ?>| nsc3ppm_sort_link( 'id', 'ID' ) ); ?> | nsc3ppm_sort_link( 'original_url', 'Original URL' ) ); ?> | nsc3ppm_sort_link( 'hostname', 'Hostname' ) ); ?> | nsc3ppm_sort_link( 'second_level_domain', 'Second-Level Domain' ) ); ?> | nsc3ppm_sort_link( 'page_url', 'Page URL' ) ); ?> | nsc3ppm_sort_link( 'method', 'Method' ) ); ?> | nsc3ppm_sort_link( 'type', 'Type' ) ); ?> | nsc3ppm_sort_link( 'intercepted_at', 'Intercepted At' ) ); ?> | |
|---|---|---|---|---|---|---|---|---|
| id ); ?> | hostname ); ?> | second_level_domain ); ?> | page_url ); ?> | method ); ?> | type ); ?> | intercepted_at ); ?> | ||
| No intercepted requests found. | ||||||||
| nsc3ppm_summary_sort_link( 'hostname', 'Hostname' ) ); ?> | nsc3ppm_summary_sort_link( 'count_1_hour', 'Requests (Last 1 Hour)' ) ); ?> | nsc3ppm_summary_sort_link( 'count_24_hours', 'Requests (Last 24 Hours)' ) ); ?> | nsc3ppm_summary_sort_link( 'count_7_days', 'Requests (Last 7 Days)' ) ); ?> | nsc3ppm_summary_sort_link( 'first_detected', 'First Detected' ) ); ?> | nsc3ppm_summary_sort_link( 'last_detected', 'Last Detected' ) ); ?> |
|---|---|---|---|---|---|
| hostname ); ?> | count_1_hour ); ?> | count_24_hours ); ?> | count_7_days ); ?> | first_detected ); ?> | last_detected ); ?> |
| No data available. | |||||