*/ function adultphotoflag_load() { register_hook('get_features','addon/adultphotoflag/adultphotoflag.php','adultphotoflag_get_features'); } function adultphotoflag_unload() { unregister_hook('get_features','addon/adultphotoflag/adultphotoflag.php','adultphotoflag_get_features'); } function adultphotoflag_get_features(&$a,&$b) { $b['tools'][] = array( 'adult_photo_flagging', t('Flag Adult Photos'), t('Provide photo edit option to hide inappropriate photos from default album view'),false); }