Conditional visibility controls for all WordPress blocks.
GPL-2.0 License
Bot releases are visible (Hide)
Published by ndiego over 3 years ago
Published by ndiego over 3 years ago
get_current_user_role()
so no errors are thrown when WordPress installed in a subdirectory.Published by ndiego over 3 years ago
Published by ndiego over 3 years ago
Published by ndiego over 3 years ago
Published by ndiego almost 4 years ago
blockVisibility
"supports" variable to all blocks types that have visibility enabled. This provide a more consistent method for detecting whether a block should have visibility controls or not.startDateTime
and endDateTime
properties of the blockVisibility
attribute have been deprecated. All new blocks will use the new scheduling
property.Published by ndiego almost 4 years ago
For the long-term maintainability of the Block Visibility plugin, changes to the underlying file structure were needed in version 1.4.0. Therefore, when you upgrade from version 1.3.0 or lower, the plugin will deactivate and you will receive an error message. But don't worry, simply re-activate Block Visibility and you are good to go.
This is an unfortunate issue that will occur only once. We apologize for any inconvenience that this causes, but trust that this change better positions the plugin for many exciting enhancements in the future!
block-visibility.php
and the setup class has been movedPublished by ndiego almost 4 years ago
Published by ndiego almost 4 years ago
Published by ndiego almost 4 years ago
Published by ndiego about 4 years ago
Published by ndiego about 4 years ago
Initial Release