Home › Forums › Support › How I can make this tweaks on Marketer? › Reply To: How I can make this tweaks on Marketer?
Short answer: Yes, 10 is good 🙂
More info:
Priority in code snippets is the same as the Priority set in an add_action
hook ( which is an option you see in GP Hook Elements ) or an add_filter
hook code snippet.
The priority simply sets the order the code should be fired. For example a priority of 1
gets fired before 2, 3, 4, 5 etc.
. Think of them as those old take a Number Ticket Queuing systems.
If you have a number of snippets and they are all left as default of 10
then those codes get executed in whichever order they were loaded.
Personally i don’t see any reason for Priorities in Code Snippets, as most codes you add to code snippets already define where to be executed and in which order.