Deprecated old archive filters and add new ones
Using new filters is needed as the parameters passed to the filters changed. If we continued using the same filters, users might run into fatal errors. [MAILPOET-3629]
This commit is contained in:
@@ -724,4 +724,8 @@ class Functions {
|
||||
public function wpKses(string $string, $allowedHtml, $allowedProtocols = []) {
|
||||
return wp_kses($string, $allowedHtml, $allowedProtocols);
|
||||
}
|
||||
|
||||
public function deprecatedHook(string $hook_name, string $version, string $replacement, string $message) {
|
||||
_deprecated_hook($hook_name, $version, $replacement, $message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user