Unique prefix soft reject

We went trough this a bunch of times:

  1. Please use a unique prefix for all function names, custom images sizes, classes, hooks, public/global variables, and database entries to avoid conflict issues with plugins and other themes. For example, themename_ OR frameworkname_.

Now we got soft reject because of:
should be industrial_ not anps_
Where industrial is our new theme name and anps is our framework.

We don’t understand why should we do that???
We have been developping our own framework for 4 years, why should we have to change each function name for each new theme? anps_ prefix is unique since its our author name and it is the name of our framework. I am getting very agitated because of this…!

We can’t understand, why it is OK, to include a framework like option framework or redux and keep function names as they are, but it isn’t allowed to use our own framework name. The thing reviewers should wory about is consistancy about using a prefix, but deciding what this prefix can be or can’t be, seems to us just a bit out of the scope of what individual reviewer should be able to decide on.

Envato has a lot of issue with review times lately and this is a really goood example issue, where Envato could optimize their review process, which would shorten the review time without any consequences in terms of item quality.


From what i know, you need to have your theme s name. Ex, if your theme is named soft2 so you need soft2_


1 Like

Yea but why? I dont see any valid reason for that

I think we’re not allowed to use framework name to prefix functions and variables in mandatory theme files ( e.g functions.php , header.php ) …

So you might want to use theme name as a prefix in functions.php and your can keep your framework code untouched.

Also I’m not a 100% sure about this but it works for me :slight_smile:

From what i know, you need to prefix all because if you or your clients will use other plugin with redux and default prefix will be in conflict.
So if you have 3 themes you need to use diff prefix.

I made my theme and now i have to prefix all… I didn’t know this from start.

After is finished first theme, for second you can use notepad ++ and find replace your prefix with new one…