bp_media_admin_setting_callback_document_section()
Description
Source
File: bp-media/bp-media-settings.php
function bp_media_admin_setting_callback_document_section() { if ( ! extension_loaded( 'imagick' ) ) { ?> <p class="alert"> <?php echo sprintf( /* translators: 1: Imagick status */ _x( 'Your server needs %1$s installed to enable live previews for PDF documents (optional). Ask your web host.', 'extension notification', 'buddyboss' ), '<code><a href="https://imagemagick.org/script/install-source.php" target="_blank">Imagick</a></code>' ); ?> </p> <?php } }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.