WordPress开发者和主题制作者的搜索引擎



_wp_privacy_statuses ›

Since4.9.6
已弃用n/a
_wp_privacy_statuses ( 没有参数 )
访问:
  • private
返回:
  • (array)
定义在:
文档:

Return statuses for privacy requests.



源码

function _wp_privacy_statuses() {
	return array(
		'request-pending'   => __( 'Pending' ),      // Pending confirmation from user.
		'request-confirmed' => __( 'Confirmed' ),    // User has confirmed the action.
		'request-failed'    => __( 'Failed' ),       // User failed to confirm the action.
		'request-completed' => __( 'Completed' ),    // Admin has handled the request.
	);
}