class Feed_Deep_LinksCentral definitions for cp-social-* URL fragments and DOM ids used by the feed and notifications.
class final
- Full name
Kernowdev\ClanbiteSocialKit\Social\Feed_Deep_Links
Constants
| Name | Value | Description |
|---|---|---|
COMMENT_ELEMENT_ID_PREFIX | 'cp-social-comment-' | Prefix for comment anchor hash and element id (# + prefix + id). |
POST_ELEMENT_ID_PREFIX | 'cp-social-post-' | Prefix for opening a post thread via location hash. |
Methods
comment_element_id()DOM / hash fragment id for a comment (no leading #).comment_hash()Location hash targeting a comment (includes #).post_hash()Location hash targeting a post thread (includes #).
Defined in inc/Social/Feed_Deep_Links.php