apply_filters( 'RCB/Revision/Context', $context ) → {array}
Get context relevant options like language code (WPML, PolyLang). If the language changes, a new revision will be created or requested so they are completely independent. They also get populated to the generated revision.
Warning: Cookie names cannot contain any of the following '=,; \t\r\n\013\014', so please make
sure such characters are not stored in your value (if so, they get replaced with underscore _
).
Parameters:
Name | Type | Description |
---|---|---|
$context |
array |
Returns:
- Type
- array