WPCF7_Contact_Form_List_Table::column_shortcode()publicCF7 1.0

Метод класса: WPCF7_Contact_Form_List_Table{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$WPCF7_Contact_Form_List_Table = new WPCF7_Contact_Form_List_Table();
$WPCF7_Contact_Form_List_Table->column_shortcode( $item );
$item (обязательный)
-

Код WPCF7_Contact_Form_List_Table::column_shortcode() CF7 5.9.3

public function column_shortcode( $item ) {
	$shortcodes = array( $item->shortcode() );

	$output = '';

	foreach ( $shortcodes as $shortcode ) {
		$output .= "\n" . '<span class="shortcode"><input type="text"'
			. ' onfocus="this.select();" readonly="readonly"'
			. ' value="' . esc_attr( $shortcode ) . '"'
			. ' class="large-text code" /></span>';
	}

	return trim( $output );
}