WPCF7_Contact_Form_List_Table::column_shortcode()
Метод класса: 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 6.0.6
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 ); }