WIP
This commit is contained in:
@@ -547,7 +547,10 @@ class Site
|
||||
|
||||
// change excerpt langth
|
||||
if (array_key_exists("excerpt-length", $this->config)) {
|
||||
add_filter("excerpt-length", fn () => (int) $this->config["excerpt-length"], 999);
|
||||
add_filter("excerpt_length", fn () => (int) $this->config["excerpt-length"], 999);
|
||||
}
|
||||
if (array_key_exists("excerpt_length", $this->config)) {
|
||||
add_filter("excerpt_length", fn () => (int) $this->config["excerpt_length"], 999);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user