Nodebook_Admin::url( 'nodebook-segments', array( 'action' => 'edit' ) ) ) ); $all = Nodebook_Segments::all(); echo '
' . esc_html__( 'Smart segments update themselves from rules (for example “customers who spent more than 100 and visited in the last 30 days”). Static segments are lists you fill by hand, by bulk action or on import.', 'nodebook' ) . '
'; echo '| ' . esc_html__( 'Name', 'nodebook' ) . ' | ' . esc_html__( 'Type', 'nodebook' ) . ' | ' . esc_html__( 'Contacts', 'nodebook' ) . ' | |
|---|---|---|---|
| ' . esc_html__( 'No segments yet.', 'nodebook' ) . ' | |||
| ' . ( $pinned ? '★' : '☆' ) . ' ' . esc_html( $s['name'] ) . ' | '; echo '' . esc_html( 'smart' === $s['type'] ? __( 'Smart', 'nodebook' ) : __( 'Static', 'nodebook' ) ) . ' | '; echo '' . esc_html( number_format_i18n( self::count( $sid ) ) ) . ' | '; echo '' . esc_html__( 'View contacts', 'nodebook' ) . '' . esc_html__( 'Edit', 'nodebook' ) . '' . ( Nodebook_Team::can_export() ? '' . wp_kses( Nodebook_Icons::svg( 'download', 15 ), Nodebook_Icons::kses() ) . '' : '' ) . '' . wp_kses( Nodebook_Icons::svg( 'trash', 15 ), Nodebook_Icons::kses() ) . ' |