@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?post_type=lh-portfolio-doc&#038;p=149763>
  a sioc:Post ;
  dc:title "Developer reference" ;
  dcterms:identifier 149763 ;
  dc:modified "2026-10-10T23:55:24Z"^^xsd:dateTime ;
  dc:created "2026-10-10T23:01:40Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-downloadable-tables/developer-reference/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded "<ul class=\"lh_portfolio-meta\"><li><strong>Part of:</strong> <a href=\"https://lhero.org/portfolio/lh-downloadable-tables/\">LH Downloadable Tables</a></li></ul><h2 class=\"wp-block-heading\">Markup</h2><p class=\"wp-block-paragraph\">A table needs the class <code>downloadable</code>. The button is appended to the table&#8217;s <code>&lt;caption&gt;</code>; a caption is added if the table has none. The CSV includes every row, header cells and data cells alike, with line breaks removed from cell text and double quotes escaped.</p><p class=\"wp-block-paragraph\"><code>&lt;table class=\"downloadable\" data-download_filename=\"ladder\"&gt;&lt;caption&gt;Thursday ladder&lt;/caption&gt;...&lt;/table&gt;</code></p><p class=\"wp-block-paragraph\">The file is named from <code>data-download_filename</code> (or <code>export</code> when it is missing), an underscore and the visitor&#8217;s local date.</p><h2 class=\"wp-block-heading\">When the script loads</h2><p class=\"wp-block-paragraph\">The script is registered on every request and enqueued only when post content rendered for the page body contains a table with the <code>downloadable</code> class: after <code>wp_body_open</code> in classic and PHP templates, or while a block template renders its markup (after <code>template_include</code>, before <code>wp_head</code>). Content run for the page head, such as excerpts built for meta tags, content run by other plugins before the template renders, and feeds are never inspected. In wp-admin the script is loaded on every screen and adds the button to list tables.</p><h2 class=\"wp-block-heading\">Filters</h2><ul class=\"wp-block-list\"><li><code>lh_downloadable_tables_script_handle_filter</code>: the handle of the script enqueued when a downloadable table is found (default <code>lh_downloadable_tables-script</code>). Return a different registered handle to use your own script, or an empty value to load nothing.</li></ul>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Downloadable TablesMarkupA table needs the class downloadable. The button is appended to the table&#8217;s &lt;caption&gt;; a caption is added if the table has none. The CSV includes every row, header cells and data cells alike, with line breaks removed from cell text and double quotes escaped.&lt;table class=\"downloadable\" data-download_filename=\"ladder\"&gt;&lt;caption&gt;Thursday ladder&lt;/caption&gt;...&lt;/table&gt;The file is named from data-download_filename (or export when it is missing), an underscore and the visitor&#8217;s local date.When the script loadsThe script is registered on every request and enqueued only when post content rendered for the page body contains a table with the downloadable class: after wp_body_open in classic and PHP templates, or while a block template renders its markup (after template_include, before wp_head). Content run for the page head, such as excerpts built for meta tags, content run by other plugins before the template renders, and feeds are never inspected. In wp-admin the script is loaded on every screen and adds the button to list tables.Filterslh_downloadable_tables_script_handle_filter: the handle of the script enqueued when a downloadable table is found (default lh_downloadable_tables-script). Return a different registered handle to use your own script, or an empty value to load nothing." ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
