aboutsummaryrefslogtreecommitdiffstats
path: root/doc/en/hook/system_app_installed_filter.bb
blob: a269a79a893bf5217318c15977a9dd1bca58fcd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[h2]system_app_installed_filter[/h2]

Allow plugins to filter the result of system_app_installed.

Code excerpt:

[code]
                        $filter_arr = [
                                'uid'=>$uid,
                                'app'=>$app,
                                'installed'=>$r
                        ];
                        call_hooks('system_app_installed_filter',$filter_arr);
                        $r = $filter_arr['installed'];
[/code]

cxref: Zotlabs/Lib/Apps.php