It seems the media_buttons_context hook has been deprecated . WordPress developer docs says to use ‘media_buttons’ action instead. This also seems to trigger a bug if other plugins use the same deprecated hook, the Add Template Button is repeated across all other existing custom buttons if those exist.
It seems the
media_buttons_context
hook has been deprecated . WordPress developer docs says to use‘media_buttons’
action instead. This also seems to trigger a bug if other plugins use the same deprecated hook, the Add Template Button is repeated across all other existing custom buttons if those exist.