' . esc_html( 'Important Upgrade Notice', 'paid-memberships-pro' ) . ': ' . esc_html( strip_tags( $update_data->upgrade_notice ) ) . '
'; } } $pmpro_path_from_plugins_dir_arr = explode( '/wp-content/plugins/', PMPRO_BASE_FILE ); if ( ! empty( $pmpro_path_from_plugins_dir_arr ) ) { add_action( 'in_plugin_update_message-' . end( $pmpro_path_from_plugins_dir_arr ), 'pmpro_maybe_show_upgrade_notices', 10, 2 ); }