-
The above was just a very simple example of the code pattern I was thinking of - there would in-fact be LOTS of filters across quite a few functions - it may be worth mentioning is that it forms part of a theme I am building.
-
K. Don't see any reason to have lots of filters really for the translation part. Just have the translatable phrase as a parameter to the function and then people just replace it using switch, if statements or arrays in the filter.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules