Easy Property Listings 3.5.28 Code Reference
  • Package
  • Function
  • Tree
  • Todo
  • Hook Reference

Packages

  • EPL
    • Admin
      • Actions
      • Classes
        • ContactsTable
        • EPL
          • Admin
            • Images
        • ReportsGraph
        • Welcome
      • Contacts
      • ContactsActions
      • ContactsFunctions
      • Elements
      • Functions
      • Help
      • HelpSingle
      • Menus
      • MenusAddons
      • MenusExtensions
      • MenusLicenses
      • Plugins
      • Reports
      • ReportsGraphing
      • User
    • Assets
      • ScriptsStyles
      • SVG
    • Classes
      • AuthorLoader
      • AuthorMeta
      • Contact
      • Cron
      • CustomPostType
      • Forms
      • License
      • ListingAdvanced
      • ListingElements
      • MetaboxesCustomFields
      • Pagination
      • PropertyMeta
      • RenderFields
      • RestAPI
      • Search
      • Session
      • Updater
    • Compatibility
      • Extensions
      • Functions
      • Shortcodes
    • Functions
      • Actions
      • ConditionalTags
      • ErrorTracking
      • Formatting
      • Front
      • Global
      • Install
      • Pagination
      • Settings
      • Templates
    • Hooks
      • EnergyCertificate
      • ExternalLinks
      • FloorPlan
      • Map
      • ReadMore
      • WebLink
    • Includes
      • UserMeta
    • Meta
      • InitCustomFields
      • Meta
    • PostTypes
      • Business
      • Commercial
      • CommercialLand
      • Contact
      • Functions
      • Land
      • Property
      • Rental
      • Rural
    • Shortcode
      • CommercialListingSearch
      • ContactForm
      • Listing
      • ListingAdvanced
      • ListingAuction
      • ListingCategory
      • ListingFeature
      • ListingLocation
      • ListingMetaDoc
      • ListingOpen
      • ListingResults
      • ListingSearch
      • Map
    • Taxonomy
      • BusinessCategories
      • ContactTag
      • Features
      • Location
    • Templates
      • Themes
        • iThemes
        • iThemesBuilder
    • Widget
      • Admin
        • Dashboard
      • Classes
        • Author
        • ContactCapture
        • Gallery
        • Listing
        • Search
      • Functions
  • None
  • WordPress
    • Session

Functions

  • epl_get_profile_link_protocols
  • epl_get_user_link_meta_keys
  • epl_get_user_text_meta_keys
  • epl_register_user_meta_sanitizers
  • epl_sanitize_user_link_meta
  • epl_sanitize_user_text_meta

Function epl_sanitize_user_link_meta

Sanitize a profile URL or social handle before it is stored.

These values end up inside href attributes in the author box. Output is escaped there as well, this is the matching input side guard so a hostile value never reaches the database in the first place. Handles entered without a scheme (for example a bare Twitter username) are preserved, since the author class turns those into absolute URLs at render time.

Package: EPL\Includes\UserMeta
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.5.25
Located at lib/includes/user-meta.php

Parameters summary

mixed $value Meta value being saved.

Return value summary

mixed mixed
Easy Property Listings 3.5.28 Code Reference API documentation generated by ApiGen