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



wp_theme_update_rows ›

Since3.1.0
已弃用n/a
wp_theme_update_rows ( 没有参数 )
定义在:
文档:

暂无描述



源码

function wp_theme_update_rows() {
	if ( ! current_user_can( 'update_themes' ) ) {
		return;
	}

	$themes = get_site_transient( 'update_themes' );
	if ( isset( $themes->response ) && is_array( $themes->response ) ) {
		$themes = array_keys( $themes->response );

		foreach ( $themes as $theme ) {
			add_action( "after_theme_row_$theme", 'wp_theme_update_row', 10, 2 );
		}
	}
}