Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
cf5cc5df
Commit
cf5cc5df
authored
Feb 03, 2021
by
Michael Iseard
Browse files
Add filters to modal data arrays
parent
ba331515
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Front/KudosModal.php
View file @
cf5cc5df
...
...
@@ -52,7 +52,7 @@ class KudosModal {
'modal_text'
=>
isset
(
$atts
[
'modal_text'
]
)
?
$atts
[
'modal_text'
]
:
''
,
];
return
$this
->
twig
->
render
(
'/public/modal/message.modal.html.twig'
,
$data
);
return
$this
->
twig
->
render
(
'/public/modal/message.modal.html.twig'
,
apply_filters
(
'kudos_message_modal_data'
,
$data
)
);
}
...
...
@@ -75,7 +75,7 @@ class KudosModal {
]
);
return
$this
->
twig
->
render
(
'/public/modal/donate.modal.html.twig'
,
$data
);
return
$this
->
twig
->
render
(
'/public/modal/donate.modal.html.twig'
,
apply_filters
(
'kudos_donate_modal_data'
,
$data
)
);
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment