@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=149765>
  a sioc:Post ;
  dc:title "Developer reference" ;
  dcterms:identifier 149765 ;
  dc:modified "2026-10-10T23:55:28Z"^^xsd:dateTime ;
  dc:created "2026-10-10T23:01:59Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-scrollable-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-scrollable-tables/\">LH Scrollable Tables</a></li></ul><h2 class=\"wp-block-heading\">Markup</h2><p class=\"wp-block-paragraph\">Each top-level table is wrapped in <code>&lt;div class=\"lh_scrollable_tables-wrapper\"&gt;</code>. The plugin adds one CSS rule, <code>.lh_scrollable_tables-wrapper { overflow-x: auto; }</code>, as an inline stylesheet on every front-end page (handle <code>lh_scrollable_tables-style</code>). Tables whose parent is a table cell, or that are already wrapped, are skipped.</p><h2 class=\"wp-block-heading\">When content is changed</h2><p class=\"wp-block-paragraph\">Tables are wrapped by a <code>the_content</code> filter at priority <code>PHP_INT_MAX - 15</code>, so tables added to the content by other plugins&#8217; filters at normal priorities are wrapped too. The filter only acts on content rendered for the page body: 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, feeds and content without a <code>&lt;table</code> are returned unchanged.</p><p class=\"wp-block-paragraph\">Wrapping uses PHP&#8217;s DOMDocument, so the plugin does nothing where the DOM extension is not available. When at least one table is wrapped, the content is re-serialised by DOMDocument, which can reformat whitespace in the markup.</p>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Scrollable TablesMarkupEach top-level table is wrapped in &lt;div class=\"lh_scrollable_tables-wrapper\"&gt;. The plugin adds one CSS rule, .lh_scrollable_tables-wrapper { overflow-x: auto; }, as an inline stylesheet on every front-end page (handle lh_scrollable_tables-style). Tables whose parent is a table cell, or that are already wrapped, are skipped.When content is changedTables are wrapped by a the_content filter at priority PHP_INT_MAX - 15, so tables added to the content by other plugins&#8217; filters at normal priorities are wrapped too. The filter only acts on content rendered for the page body: 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, feeds and content without a &lt;table are returned unchanged.Wrapping uses PHP&#8217;s DOMDocument, so the plugin does nothing where the DOM extension is not available. When at least one table is wrapped, the content is re-serialised by DOMDocument, which can reformat whitespace in the markup." ;
  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> .
