Skip to content

Instantly share code, notes, and snippets.

@osopolar
Created May 23, 2017 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osopolar/4604995624932507654f42f655ae979e to your computer and use it in GitHub Desktop.
Save osopolar/4604995624932507654f42f655ae979e to your computer and use it in GitHub Desktop.
'content_access_settings/view':
-
plugin: get
source:
- '@content_access_view_legacy_unblock'
- '@content_access_view_wpmem_block'
- '@default_content_access_view'
-
# Filter out empty sources
plugin: callback
callable: array_filter
-
# Use the first none empty source
plugin: callback
callable: 'current'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment