[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Server-side rendering of the `core/footnotes` block.
File Size: | 142 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
render_block_core_footnotes( $attributes, $content, $block ) X-Ref |
Renders the `core/footnotes` block on the server. param: array $attributes Block attributes. param: string $content Block default content. param: WP_Block $block Block instance. return: string Returns the HTML representing the footnotes. |
register_block_core_footnotes() X-Ref |
Registers the `core/footnotes` block on the server. |
register_block_core_footnotes_post_meta() X-Ref |
Registers the footnotes meta field required for footnotes to work. |
wp_add_footnotes_to_revision( $fields ) X-Ref |
Adds the footnotes field to the revisions display. param: array $fields The revision fields. return: array The revision fields. |
wp_get_footnotes_from_revision( $revision_field, $field, $revision ) X-Ref |
Gets the footnotes field from the revision for the revisions screen. param: string $revision_field The field value, but $revision->$field param: string $field The field name, in this case "footnotes". param: object $revision The revision object to compare against. return: string The field value. |
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |