mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 04:03:41 +00:00
Hook prepare_body now have a priority of 10, it is runned before showmore
This commit is contained in:
parent
bbf6f71d03
commit
5f22a40974
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
|
||||
function nsfw_install() {
|
||||
register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body');
|
||||
register_hook('prepare_body', 'addon/nsfw/nsfw.php', 'nsfw_prepare_body', 10);
|
||||
register_hook('plugin_settings', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings');
|
||||
register_hook('plugin_settings_post', 'addon/nsfw/nsfw.php', 'nsfw_addon_settings_post');
|
||||
|
||||
|
|
Loading…
Reference in a new issue