class Social_Media_UploadHandles multipart uploads for the social feed composer.
class final
- Full name
Kernowdev\ClanbiteSocialKit\Social\Social_Media_Upload
Constants
| Name | Value | Description |
|---|---|---|
META_HIDDEN | '_clanbite_social_kit_hidden' |
Methods
filter_upload_dir()handle_upload()Process $_FILES['file'] for the current user.upload_subdir_for_user()Relative path under uploads (no leading/trailing slashes).user_owns_social_attachment()Whether this attachment was uploaded for Social Kit and belongs to the user.
Defined in inc/Social/Social_Media_Upload.php