Filters
-
Hi. You have a simple and great plugin!
I’m inclined to just edit its code, but at the same time writing this topic. I’ve found a request like mine on first support page: https://ww.wp.xz.cn/support/topic/i-cant-use-it-with-bedrock/
I’d like to be able to edit things. For example, only restrict includes to certain directory, simplify paths, etc.
Of course you could not change code like andreacazzola90 suggested. But you could add
$file = apply_filters('includeme_file', $file);, it’s simple, it’s standard approach and it works. You could also add some other filters here and there.
The topic ‘Filters’ is closed to new replies.