大神请教一个问题
shiguangxiaotou3 opened this issue · 1 comments
shiguangxiaotou3 commented
ericandrewlewis commented
Do you see a <script>
tag for any of the media JS files in the HTML? I wonder when your bootstrap()
method is invoked. If it is after admin_enqueue_scripts
hook has fired, then the callback registerMedia()
will not be called.
I don't typically provide general WordPress support, you may want to ask a question on a forum like WordPress Development Stack Exchange or the Official WordPress forum