We looked at the basic structure for a forum user profile page at the beginning of the Understanding the importance of code structuring section. In this section, we will implement the mentioned tasks with the use of Backbone.js and Underscore.js. As usual, we will update our main forum management plugin with the necessary code.
Our first task will be to load the personal information of forum users. First, we need some custom rewrite rules to handle the routing for the Backbone.js-based user profile screen. Let's start by creating the necessary action hooks to handle the custom routing. We already have a custom route handler function called manage_user_routes in the WPWAF_Config_Manager