You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some users may want to add some copyright notice to the caption without the need of modifying all existing image descriptions.
This could be achieved using an additional filter for the caption content which would be called before the caption will be send to the frontent. The filter should not modify the caption which is stored in the cache to avoid confusion when people create a filter function and want to change that text. By calling the filter right before creating the frontend output one can dynamically change the filter and see the result right away, even if the original caption was read from the cache.
The text was updated successfully, but these errors were encountered:
Also see: https://wordpress.org/support/topic/add_filter-function/
Some users may want to add some copyright notice to the caption without the need of modifying all existing image descriptions.
This could be achieved using an additional filter for the caption content which would be called before the caption will be send to the frontent. The filter should not modify the caption which is stored in the cache to avoid confusion when people create a filter function and want to change that text. By calling the filter right before creating the frontend output one can dynamically change the filter and see the result right away, even if the original caption was read from the cache.
The text was updated successfully, but these errors were encountered: