ActionScheduler_AdminView_Deprecated::admin_notices()
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 function goes one step further to display two degrees of accuracy.
Based on Crontrol::interval() function by Edward Dale: https://wordpress.org/plugins/wp-crontrol/
Метод класса: ActionScheduler_AdminView_Deprecated{}
Хуков нет.
Возвращает
Строку
. A human friendly string representation of the interval.
Использование
$result = ActionScheduler_AdminView_Deprecated::admin_notices();
Код ActionScheduler_AdminView_Deprecated::admin_notices() ActionScheduler AdminView Deprecated::admin notices WC 9.5.1
public static function admin_notices() { _deprecated_function( __METHOD__, '2.0.0' ); }