Skip to content
alyssonweb edited this page Jul 12, 2012 · 5 revisions

Welcome to the Dynamics Sidebars plugin wiki! Let's get started.

Reference:

  1. Basic Usage
  2. Custom Post Type Support
  3. Remove Suppport
  4. Advanced Usage
  5. Data Organization

Utilities:

- Functions

  • has_sidebar - the_sidebar( $fallback = '', $echo = false )
  • the_sidebar - get_the_sidebar( $post_id = 0 )
  • get_the_sidebar - get_the_sidebar( $post_id = 0 )
  • get_custom_sidebars - get_custom_sidebars() (Added using dynamics-sidebars plugin)
  • get_all_sidebars - get_all_sidebars() (All registered sidebars)

- Filters

  • the_sidebar - apply_filters( 'the_sidebar', $sidebar, $post_id )
  • ds_save_permissions - apply_filters( 'ds_save_permissions', $default, $post_id, $post )
  • ds_save_ajax_message - apply_filters( 'ds_save_ajax_message', $message, $error )
  • ds_save_ajax - apply_filters( 'ds_save_ajax', $response, $post_id, $post )
  • ds_sidebar_args - apply_filters( 'ds_sidebar_args', $defaults, $sidebar_name, $sidebar_id )
  • ds_post_types - apply_filters( 'ds_post_types', $all_post_types )

- Actions

  • ds_plugin_install - do_action( 'ds_plugin_install' )
  • ds_plugin_uninstall - do_action( 'ds_plugin_uninstall' )
  • ds_plugin_deactivate - do_action( 'ds_plugin_deactivate' )
  • ds_init - do_action( 'ds_init', &$this )
  • ds_add_metabox - do_action( 'ds_add_metabox', $post_type )
  • ds_render_metabox - do_action( 'ds_render_metabox' )
  • ds_save - do_action( 'ds_save', $post_id, $post )
  • ds_register_column - do_action( 'ds_register_column' )

Clone this wiki locally