Skip to content

Instantly share code, notes, and snippets.

@lots0logs
Created March 11, 2019 22:39
Show Gist options
  • Save lots0logs/1a2d175ce90ee4110528891c304f5c5e to your computer and use it in GitHub Desktop.
Save lots0logs/1a2d175ce90ee4110528891c304f5c5e to your computer and use it in GitHub Desktop.
Enabling Dynamic Content Example
<?php
...
'title' => array(
'label' => esc_html__( 'Title', 'simp-simple-extension' ),
'type' => 'text',
'option_category' => 'basic_option',
'description' => esc_html__( 'Input your desired title here.', 'simp-simple-extension' ),
'toggle_slug' => 'main_content',
'dynamic_content' => 'text',
),
...
@deep581
Copy link

deep581 commented Jul 22, 2024

Can you give use more detail about 'type' . How many types are there in Divi and can you give use full detail in your documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment