post_type ) echo 'style="display:table;"'; ?>>
'suggest',
'action' => 'fl_as_posts',
'data' => $slug,
'label' => $type->label,
'help' => sprintf( __( 'Enter a list of %1$s. Only these %2$s will be shown.', 'fl-builder' ), $type->label, $type->label ),
), $settings);
// Taxonomies
$taxonomies = FLBuilderLoop::taxonomies( $slug );
foreach ( $taxonomies as $tax_slug => $tax ) {
FLBuilder::render_settings_field('tax_' . $slug . '_' . $tax_slug, array(
'type' => 'suggest',
'action' => 'fl_as_terms',
'data' => $tax_slug,
'label' => $tax->label,
'help' => sprintf( __( 'Enter a list of %1$s. Only posts with these %2$s will be shown.', 'fl-builder' ), $tax->label, $tax->label ),
), $settings);
}
?>
'suggest',
'action' => 'fl_as_users',
'label' => __( 'Authors', 'fl-builder' ),
'help' => __( 'Enter a list of authors usernames. Only posts with these authors will be shown.', 'fl-builder' ),
), $settings);
?>