[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/blocks/ -> archives.php (summary)

Server-side rendering of the `core/archives` block.

File Size: 174 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  render_block_core_archives()
  block_core_archives_build_dropdown_script()
  onSelectChange()
  onKeyUp()
  onClick()
  register_block_core_archives()

Functions
Functions that are not part of a class:

render_block_core_archives( $attributes )   X-Ref
Renders the `core/archives` block on server.

param: array $attributes The block attributes.
return: string Returns the post content with archives added.

block_core_archives_build_dropdown_script( $dropdown_id )   X-Ref
Generates the inline script for an archives dropdown field.

param: string $dropdown_id ID of the dropdown field.
return: string Returns the dropdown onChange redirection script.

onSelectChange()   X-Ref
No description

onKeyUp( event )   X-Ref
No description

onClick()   X-Ref
No description

register_block_core_archives()   X-Ref
Register archives block.




Generated : Sat Apr 25 08:20:11 2026 Cross-referenced by PHPXref