WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

WP_Widget_Text::_register_one() public WP 1.0

Add hooks for enqueueing assets when registering all widget instances of this widget class.

Это метод класса: WP_Widget_Text{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$WP_Widget_Text = new WP_Widget_Text();
$WP_Widget_Text->_register_one( $number );
$number(числоeger)
The unique order number of this widget instance compared to other instances of the same class.
По умолчанию: -1

Код WP_Widget_Text::_register_one() WP 5.5.1

<?php
public function _register_one( $number = -1 ) {
	parent::_register_one( $number );
	if ( $this->registered ) {
		return;
	}
	$this->registered = true;

	wp_add_inline_script( 'text-widgets', sprintf( 'wp.textWidgets.idBases.push( %s );', wp_json_encode( $this->id_base ) ) );

	if ( $this->is_preview() ) {
		add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_preview_scripts' ) );
	}

	// Note that the widgets component in the customizer will also do
	// the 'admin_print_scripts-widgets.php' action in WP_Customize_Widgets::print_scripts().
	add_action( 'admin_print_scripts-widgets.php', array( $this, 'enqueue_admin_scripts' ) );

	// Note that the widgets component in the customizer will also do
	// the 'admin_footer-widgets.php' action in WP_Customize_Widgets::print_footer_scripts().
	add_action( 'admin_footer-widgets.php', array( 'WP_Widget_Text', 'render_control_template_scripts' ) );
}