When digging in on a specific project, it’s helpful to have a clear idea of the existing class structure before looking for avenues of customization. Make a note of the complexity of each class structure. This will play a key role in our decision on how to customize a given family’s behavior In this topic we’ll discuss each of the WC_Data family trees, including:
*The techniques and limitations of these customizations are discussed in the next topics
Now that you can see where there’s simplicity in the system, and where it’s complex. Complex families are typically loaded through factories, which can actually simplify the customization process. While simple families are usually directly loaded, causing us to default to filter and action hooks for customization
Next, we get into some of the good stuff: the filter and action hooks that are available to developers to make low-level adjustments throughout the behavior of the WC_Data classes.
But first, let’s review a little
Hint: You can zoom into any of the diagrams using CTRL+click
0 of 2 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 2 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Legacy Classes… (select all that are true)
Which of the following have complex class structures with multiple branches?