build_dropdown_script_block_core_categories

Advertisement

Summery Summery

Generates the inline script for a categories dropdown field.

Syntax Syntax

build_dropdown_script_block_core_categories( string $dropdown_id )

Parameters Parameters

$dropdown_id

(string) (Required) ID of the dropdown field.

Return Return

(string) Returns the dropdown onChange redirection script.

Source Source

File: wp-includes/blocks/categories.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.