| 开发者 |
kevinburkholder
KevinBurkholder |
|---|---|
| 更新时间 | 2026年9月14日 22:10 |
| 捐献地址: | 去捐款 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
Embed URL block.
Author header may be a simple name or a markdown link:[Author](Author URI).Author & Author URI headers, if present, are combined as a markdown [Author](Author URI).Homepage or Plugin URI.Version or Stable tag.profileId - wordpress profile (standard)profileId@youremaildomain.com - gravatar profileprofileId@wordpress - wordpress profileprofileId@gravatar - gravatar profileprofileId@github - github profile[display name](mailto:email@address.com) or [display name](http://www.gravatar.com/profileId/)[display name](http://profiles.wordpress.org/profileId/)[your name]((http://your/profile/url)<header> or <details> tag, opening and closing each on a single line. These tags are ignored by the eacParseReadme parser but may be beneficial if posting your readme file elseware. See {eac}Readme on Github.Note: these extensions are not supported by the WordPress Plugin Repository.{eac}Readme supports standard markdown (readme.md) formatting for section identification.
=== title === and ## title are equivalent== section == and ### section are equivalent= sub-section = and #### sub-section are equivalent[eacReadme]All Headers[/eacReadme] or \eacParseReadme::getAllHeaders()
Or when retrieving all sections with ...
[eacReadme]All Sections[/eacReadme] or \eacParseReadme::getAllSections()
Or when retrieving the entire document with ...
[eacReadme]Document[/eacReadme] or \eacParseReadme::getDocument()
Additional html tags and classes are added, including wrapping blocks within a <details> tags, adding readme-* class names, and adding <a> anchor links.
WordPress Actions
3rd-party actors may load and use the parser class included in {eac}Readme...
do_action('eacReadme_load_parser'); // loads \eacParseReadme static class
if (class_exists('\eacParseReadme'))
{
\eacParseReadme::loadFile($readme,$context);
$html_document = \eacParseReadme::getDocument();
$title = \eacParseReadme::getTitle();
$version = \eacParseReadme::getVersion();
$donations = \eacParseReadme::getHeader('donate_link');
$description = \eacParseReadme::getSection('description');
}
wp_embed_register_handler().admin_init._load_textdomain_just_in_time was called incorrectly notice from WordPress.do_action('eacReadme_load_parser'); // loads \eacParseReadme static classdefine('EAC_README_CACHE_LIFETIME',3600);