WordPress at Your Fingertips
function is not described

ActionScheduler_AdminView_Deprecated::admin_notices() public WC 1.0

Convert an interval of seconds into a two part human friendly string.

The WordPress human_time_diff() function only calculates the time difference to one degree, meaning even if an action is 1 day and 11 hours away, it will display "1 day". This funciton goes one step further to display two degrees of accuracy.

Based on Crontrol::interval() function by Edward Dale: https://wordpress.org/plugins/wp-crontrol/

{} It's a method of the class: ActionScheduler_AdminView_Deprecated{}

No Hooks.


String. A human friendly string representation of the interval.


$result = ActionScheduler_AdminView_Deprecated::admin_notices();

Code of ActionScheduler_AdminView_Deprecated::admin_notices() WC 6.1.0

public static function admin_notices() {
	_deprecated_function( __METHOD__, '2.0.0' );