Skip to content

Add docs about sidebar property #36

@frozzare

Description

@frozzare

Example:

papi_property( [
  'type'     => 'sidebar',
  'title'    => 'Sidebar test',
  'slug'     => 'sidebar_test',
  'settings' => [
    'placeholder' => 'Select sidebar',
    'render'      => false
  ]
] )

Render setting:

  • True value will render the sidebar using dynamic_sidebar and return the html.
  • False value will disable the rendering and return the sidebar id.

Source:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions