• Skip to the primary navigation.
  • Skip to the content.
Beans Theme Framework
Menu
  • Themes
  • Showcase
  • Docs
  • Support
  • Community
  • Documentation
  • Code snippets
  • Code reference

beans_post_meta_post_types_{$section}

  • Hook
  • Since 1.0.0
  • Updated on July 11, 2016
  • Packaged under API / Post Meta

Filter the conditions used to define whether the fields set should be displayed or not.

The dynamic portion of the hook name, $section, refers to the section id which defines the group of fields.

apply_filters( "beans_post_meta_post_types_{$section}", string|array $conditions )

Return: (void)

Parameters

NameTypeDescription
$conditionsstring|arrayConditions used to define whether the fields set should be displayed or not.
Filters

Code reference categories

  • Admin
  • Initialize
  • Assets
  • Render
  • Structure
  • API
    • Actions
    • Compiler
    • Fields
    • Filters
    • HTML
    • Image
    • Layout
    • Options
    • Post Meta
    • Templates
    • Term Meta
    • UIkit
    • Utilities
    • Widgets
    • WP Customize
  • Fragments

Get notified when new stuff is released, and more...

Here at BeansPress, we roast hot code on a weekly basis. Follow us on Twitter to make sure you don't miss anything!

Follow @BeansPress

“If you haven't found the magic in Beans, you haven't looked far enough!”

© Beans  |  Contact  |  DonateFounded by Thierry Muller, co-maintained by Tonya Mork
Beans project is no longer maintained, thanks for your support for so many years. Stay awesome!