webberzone.dev Recent

wzkb_github_import_list_pre filter Pro only

wzkb_github_import_list_pre

Fires before a

    /
      element is converted to a list block. Return a non-empty string (different from $outer_html) to use as the final block HTML.

      Type: filter
      Since: 3.1.0
      Source: includes/github/class-content-importer.php line 1400

      Parameters

      TypeNameDescription
      string$outer_htmlOuter HTML of the element.
      \DOMElement$nodeThe list DOM element.

      Usage

      add_filter( 'wzkb_github_import_list_pre', function($outer_html, $node) {
          // ...
          return $outer_html;
      } );