Skip to content

Add plugin documentation #389

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 116 commits into
base: uat
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
ddc4d0f
Add hookdoc dependency
Mar 19, 2021
464d9df
Update package-lock
Mar 19, 2021
8e2ed87
Add hookdoc template
Mar 19, 2021
7482211
Add hookdoc configuration
Mar 19, 2021
68aa9fc
Update hooks documentation to be properly parsed by hookdoc
Mar 19, 2021
c747076
Add compiled docs
Mar 19, 2021
75a5855
Ignore linting docs folder
Mar 19, 2021
aa6980c
Update documentation build
Mar 19, 2021
bfe4ef7
Make the build:docs as part of the build NPM task
Mar 19, 2021
ab15665
Merge branch 'uat' into feature/documentation
May 18, 2021
011ea96
Merge branch 'master' into feature/documentation
Jul 28, 2021
a0eb881
Update documentation 2.7.5
Jul 28, 2021
e504058
Fix typo
Jul 28, 2021
dbba6a7
Update documentation 2.7.5
Jul 28, 2021
4c603d1
Fix typo
Jul 28, 2021
322b829
Update documentation 2.7.5
Jul 28, 2021
0d6e612
Merge branch 'master' into feature/documentation
Sep 21, 2021
40e2145
Update documentation
Sep 21, 2021
8f603bd
Merge branch 'master' into feature/documentation
Oct 12, 2021
15c142d
Update docs
Oct 12, 2021
8d63f41
Bump plugin version
Oct 12, 2021
558bbbe
Reorder scripts
Dec 3, 2021
2256dc1
Do not add extra line for yml files
Dec 3, 2021
26a530d
Add GH workflow to build docs
Dec 3, 2021
205e8e1
Merge branch 'fix/delivery-missing-sizes' into feature/documentation
Dec 3, 2021
29ad57d
Cleanup
Dec 3, 2021
758e098
Update documentation
Dec 3, 2021
0d738c3
Update documentation
Dec 6, 2021
c176726
Merge branch 'master' into feature/documentation
Jan 18, 2022
a1380a9
Update documentation
Jan 18, 2022
99a482a
Merge branch 'master' into feature/documentation
Apr 26, 2022
7f71f28
Update docs
Apr 26, 2022
523e898
Merge branch 'master' into feature/documentation
May 31, 2022
e0737ed
Update docs
May 31, 2022
55b3456
Merge branch 'master' into feature/documentation
Jun 30, 2022
62b5de3
Update documentation
Jun 30, 2022
2b74b53
Merge branch 'master' into feature/documentation
Jul 27, 2022
85df6dc
Update documentation
Jul 27, 2022
4d25434
Merge branch 'master' into feature/documentation
Aug 17, 2022
1c46a44
Update documentation
Aug 17, 2022
742e6f0
Merge branch 'master' into feature/documentation
Sep 13, 2022
e200d76
Update documentation
Sep 13, 2022
3c3f5a2
Merge branch 'master' into feature/documentation
Oct 26, 2022
c24c640
Update documentation
Oct 26, 2022
9216218
Merge branch 'master' into feature/documentation
Feb 28, 2023
3e3880c
Update documentation
Feb 28, 2023
b74b111
Merge branch 'master' into feature/documentation
Mar 30, 2023
c19aaca
Merge branch 'master' into feature/documentation
Jun 19, 2023
9d2fb52
Update documentation
Jun 19, 2023
8d86f3f
Merge branch 'master' into feature/documentation
Aug 23, 2023
3fb11db
Update documentation
Aug 23, 2023
30e1674
Merge branch 'master' into feature/documentation
Oct 11, 2023
d77bade
Update documentation
Oct 11, 2023
a5a5333
Merge branch 'master' into feature/documentation
Jan 18, 2024
865fe3c
Update docs
Jan 18, 2024
5f2522c
Merge branch 'master' into feature/documentation
Feb 22, 2024
803c693
Update documentation
Feb 22, 2024
c09d1d2
Bump ip from 1.1.8 to 1.1.9
dependabot[bot] Feb 22, 2024
8e1bdfe
Add Cloudinary Academy info box
Mar 4, 2024
af82dfd
Simplify if condition
Mar 4, 2024
89174ff
Update readme file
Mar 4, 2024
2faec73
Add Cloudinary Academy help box
Mar 4, 2024
53eb03b
Update wording
Mar 5, 2024
9d231bf
Add academy icons
Mar 5, 2024
184481d
Add FAQ entry
Mar 6, 2024
390bc94
Confirm that the key exist
Mar 5, 2024
c3b073d
Replace the `tmpfile` with `wp_tempnam`
Mar 5, 2024
50b28e7
PHPCS fixes
Mar 5, 2024
dcd3bd6
Upgrade dependencies
Feb 22, 2024
cd4d431
Update docs
Mar 25, 2024
4995018
Update lock file
Mar 25, 2024
eb3ee8a
Improve styling for color palette
Feb 22, 2024
9fb35fa
Update built files
Feb 22, 2024
eeb4da3
Bump plugin version
Mar 6, 2024
d8b5303
Update template file
Mar 6, 2024
a507cc7
Update academy icon
Mar 11, 2024
7a43df1
Spread args
Mar 11, 2024
8ec7bca
Do not require connection to show the academy help info
Mar 11, 2024
08361a6
Bump plugin version
Mar 12, 2024
be10a85
Update translations template
Mar 12, 2024
374fabf
Add a filter to allow uploading the scaled image instead
Mar 12, 2024
d8a745f
Prevent using customer CNAME account on demo page
Mar 12, 2024
37665d2
Use American English
Mar 12, 2024
98691f0
PHPCS fixes
Mar 12, 2024
49b07e1
Bump plugin version
Mar 13, 2024
91a85b7
Update translations template
Mar 13, 2024
5277216
As `Cloudinary plugin` for consistency
Mar 18, 2024
f4d2c04
Bump plugin version
Mar 18, 2024
0b10c59
Update translations template
Mar 18, 2024
d5830a4
Bump plugin version
Mar 25, 2024
ecdf6b1
Bump video player version
Mar 25, 2024
4fff999
version bump
bruckercloud Mar 25, 2024
8dac6bc
Update docs
Mar 25, 2024
9275203
Merge branch 'master' into feature/documentation
Aug 21, 2024
dac6400
Update docs
Aug 21, 2024
dd72017
Update documentation
Sep 3, 2024
2575049
Merge branch 'master' into feature/documentation
Sep 20, 2024
cb77118
Update documentation
Sep 20, 2024
ad0b78c
Merge branch 'master' into feature/documentation
Nov 4, 2024
228a306
Update documentation
Nov 4, 2024
0b60d9a
Merge branch 'master' into feature/documentation
Dec 3, 2024
87dc277
Update documentation
Dec 3, 2024
15e29fc
Merge branch 'master' into feature/documentation
Jan 14, 2025
4de2e30
Update documentation
Jan 14, 2025
c2c3718
Bump axios from 1.7.7 to 1.8.3
dependabot[bot] Mar 12, 2025
0206cb2
Update README.md
bruckercloud Mar 19, 2025
d87a078
Merge pull request #1024 from cloudinary/uat
bruckercloud Mar 24, 2025
ae1f9f9
Merge pull request #1021 from cloudinary/dependabot/npm_and_yarn/axio…
dero Mar 24, 2025
1a43cc7
Bump cookie and @wordpress/scripts
dependabot[bot] Mar 24, 2025
4d36b34
Merge pull request #1011 from cloudinary/dependabot/npm_and_yarn/mult…
dero Mar 24, 2025
bde814c
Merge branch 'master' into feature/documentation
dero Mar 24, 2025
f6194c2
Update documentation
dero Mar 24, 2025
e8d7d86
Merge branch 'master' into feature/documentation
dero Mar 24, 2025
d6a0e39
Add tag to the cloudinary_allow_glb_upload hook
aatanasovdev Mar 24, 2025
ae0a1d3
Add tag to the cloudinary_allow_glb_upload hook
aatanasovdev Mar 24, 2025
be8fbf8
Update the documentation 3.2.6
aatanasovdev Mar 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add tag to the cloudinary_allow_glb_upload hook
  • Loading branch information
aatanasovdev committed Mar 24, 2025
commit d6a0e399d459fe8131bb50c79ec37b5121488bb7
10 changes: 5 additions & 5 deletions php/media/class-gallery.php
Original file line number Diff line number Diff line change
Expand Up @@ -703,14 +703,14 @@ public function setup_hooks() {
add_filter( 'cloudinary_admin_pages', array( $this, 'register_settings' ) );

/**
* Filter to allow GLB 3D model files to be uploaded.
* Filter the media context query.
*
* WARNING: This is an experimental hook. The only place where GLB files can be used
* is in the Cloudinary Gallery block.
* @hook cloudinary_media_context_query
* @since 3.2.0
*
* @param bool $allow_glb_upload Whether to allow GLB files to be uploaded.
* @param $media_context_query {string} The default media context query.
*
* @return bool
* @return {string}
*/
if ( apply_filters( 'cloudinary_allow_glb_upload', false ) ) {
add_filter( 'upload_mimes', array( $this, 'add_glb_mime' ), 20, 1 );
Expand Down