Defining Custom Function for Admin Area
When naming the function you will create in the class, you must use use_adminArea_ in its prefix.
Custom Function Usage Areas
- Used to display a content you will reflect without including the site theme.
- Used to get a process done and get a result when the buttons are clicked.
public function use_adminArea_custom_function()
'status' => "successful",
'message' => 'Successful message',
echo "Content Here...";
See the following examples for its use in pages/order-detail.php file.
Page Refreshing Method