<?php
my_depreciated_function();
/**
* Example of a depreciated function
*
* @since 1.0.0
* @deprecated 2.0.0 Use my_better_function()
* @see my_better_function()
*/
function my_depreciated_function() {
_deprecated_function( __FUNCTION__, '2.0', 'my_better_function()' );
}
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.