woocommerce_in_plugin_update_message
Usage
add_filter( 'woocommerce_in_plugin_update_message', 'wp_kama_woocommerce_in_plugin_update_message_filter' );
/**
* Function for `woocommerce_in_plugin_update_message` filter-hook.
*
* @param $html
*
* @return
*/
function wp_kama_woocommerce_in_plugin_update_message_filter( $html ){
// filter...
return $html;
}
- $html
- -
Where the hook is called
woocommerce_in_plugin_update_message
woocommerce/includes/admin/plugin-updates/class-wc-plugins-screen-updates.php 71
echo apply_filters( 'woocommerce_in_plugin_update_message', $this->upgrade_notice ? '</p>' . wp_kses_post( $this->upgrade_notice ) . '<p class="dummy">' : '' ); // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped