Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function prefix_plugin_update_message( $data, $response ) {
if( isset( $data['upgrade_notice'] ) ) {
'<div class="update-message">%s</div>',
wpautop( $data['upgrade_notice'] )
add_action( 'in_plugin_update_message-your-plugin/your-plugin.php', 'prefix_plugin_update_message', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.