WPCF7_Contact_Form_List_Table::column_shortcode() public CF7 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() WPCF7 Contact Form List Table::column shortcode CF7 5.4
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 );
}