PHP Classes

File: upload/plugins/bulletinboard/hooks.php

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/plugins/bulletinboard/hooks.php   Download  
File: upload/plugins/bulletinboard/hooks.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 2 years ago
Size: 924 bytes
 

Contents

Class file image Download
<?php

add_hook
('before_view_admin','bulletinboardMenu');
add_hook('before_view_admin','bulletinboardCore');
add_hook('before_view_frontend','bulletinboardCore');
add_hook('after_delete_user','bulletinboardDeleteUser');
add_hook('payment_parse_process_data','bulletinboardPaymentProcess');

function
bulletinboardMenu()
{

   
$filePath=PLUGINS_PATH.'bulletinboard/hook_admin_menu_left.php';

    require_once(
$filePath);

}

function
bulletinboardCore()
{

   
$filePath=PLUGINS_PATH.'bulletinboard/core.php';

    require_once(
$filePath);

}

function
bulletinboardDeleteUser($listUser=[])
{
   
$filePath=PLUGINS_PATH.'bulletinboard/delete_user_data.php';

    require_once(
$filePath);

   
prepare_delete_user_data($listUser);


}

function
bulletinboardPaymentProcess($inputData=[])
{
   
$filePath=PLUGINS_PATH.'bulletinboard/payment_process.php';

    require_once(
$filePath);

   
bb_payment_process($inputData);
}