This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Enable Automatic Anchor Tags Generation for Headings | |
*/ | |
function enable_block_anchors( $settings, $context ) { | |
// Enable anchor generation | |
$settings['generateAnchors'] = true; | |
return $settings; | |
} |
OlderNewer