Skip to content

Instantly share code, notes, and snippets.

@sulmanpucit
Created January 14, 2025 12:42
Show Gist options
  • Save sulmanpucit/db4772425c45a37f9a21d88ac78fc54b to your computer and use it in GitHub Desktop.
Save sulmanpucit/db4772425c45a37f9a21d88ac78fc54b to your computer and use it in GitHub Desktop.
renderlogics
[
'id' => 'device_type',
'label' => esc_html__( 'Device', 'fusion-builder' ),
'fields' => [
'options' => [
'id' => 'options',
'label' => esc_html__( 'Device Type', 'fusion-builder' ),
'description' => __( 'Select the Device.', 'fusion-builder' ),
'type' => 'select',
'choices' => [
'desktop' => esc_html__( 'Desktop', 'fusion-builder' ),
'mobile' => __( 'Mobile', 'fusion-builder' ),
'tablet' => __( 'Tablet', 'fusion-builder' ),
],
],
'comparisons' => self::comparisons( [ 'one', 'none' ] ),
],
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment