public static function add( $type, $data = [], $function = 0, $styles = 0, $scripts = 0 ) {

		if ( ! is_admin() || ! self::required_params_exist( $type, $data ) ) {
			return false;
		}

		$data = self::set_params( $data, $function, $styles, $scripts );

		$slug = $data['slug'];

		self::$data[ $type ][ $slug ] = $data;

		add_action(
			'admin_menu', function() use ( $type, $slug ) {
				self::set( $type, $slug );
			}
		);

		return true;
	}