@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/portfolio/lh-add-media-from-url/>
  a sioc:Post ;
  dc:title "Abilities" ;
  dcterms:identifier 150326 ;
  dc:modified "2026-10-15T00:35:44Z"^^xsd:dateTime ;
  dc:created "2026-10-15T00:35:44Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-add-media-from-url/abilities/> ;
  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-add-media-from-url/\">LH Add Media from URL</a></li></ul><div class=\"lh_portfolio-ability-reference\"><ul class=\"lh_portfolio-ability-reference-index\"><li><a href=\"#ability-add-media-from-url\"><code>add-media-from-url</code></a> Add Media from URL</li></ul><section class=\"lh_portfolio-ability-reference-ability\" id=\"ability-add-media-from-url\"><h2>Add Media from URL</h2><p class=\"lh_portfolio-ability-reference-meta\"><code>lh-add-media-from-url/add-media-from-url</code></p><p>Fetches a remote file by URL and adds it to the WordPress media library. Requires <code>upload_files</code>; main site only.</p><figure class=\"wp-block-table lh_portfolio-ability-reference-params\"><table><thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Default</th><th>Description</th></tr></thead><tbody><tr><td><code>url</code></td><td>string</td><td>Yes</td><td></td><td>The remote file URL to fetch.</td></tr><tr><td><code>post_id</code></td><td>integer</td><td>No</td><td></td><td>Optional post to attach the media to.</td></tr><tr><td><code>desc</code></td><td>string</td><td>No</td><td></td><td>Optional attachment description.</td></tr><tr><td><code>task_id</code></td><td>integer</td><td>No</td><td></td><td>Optional. The lh-tasks task this call is working on. Pass with <code>claim_token</code>: the call is refused unless you hold that claim, and a successful call renews it.</td></tr><tr><td><code>claim_token</code></td><td>string</td><td>No</td><td></td><td>Optional. The <code>claim_token</code> from claim-next-task for <code>task_id</code>. Required when <code>task_id</code> is given.</td></tr></tbody></table></figure></section></div>"^^rdf:XMLLiteral ;
  sioc:content "Part of: LH Add Media from URLadd-media-from-url Add Media from URLAdd Media from URLlh-add-media-from-url/add-media-from-urlFetches a remote file by URL and adds it to the WordPress media library. Requires upload_files; main site only.ParameterTypeRequiredDefaultDescriptionurlstringYesThe remote file URL to fetch.post_idintegerNoOptional post to attach the media to.descstringNoOptional attachment description.task_idintegerNoOptional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.claim_tokenstringNoOptional. The claim_token from claim-next-task for task_id. Required when task_id is given." ;
  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> .
