Methods
Description
BP_Media_Album_Template::has_albums()

Whether there are album items available in the loop.

Source: bp-media/classes/class-bp-media-album-template.php:243

BP_Media_Album_Template::next_album()

Set up the next album item and iterate index.

Source: bp-media/classes/class-bp-media-album-template.php:258

BP_Media_Album_Template::rewind_albums()

Rewind the posts and reset post index.

Source: bp-media/classes/class-bp-media-album-template.php:270

BP_Media_Album_Template::the_album()

Set up the current album item inside the loop.

Source: bp-media/classes/class-bp-media-album-template.php:323

BP_Media_Album_Template::user_albums()

Whether there are album items left in the loop to iterate over.

Source: bp-media/classes/class-bp-media-album-template.php:291

BP_Media_Album::__construct()

Constructor method.

Source: bp-media/classes/class-bp-media-album.php:98

BP_Media_Album::album_exists()

Get whether an album exists for a given id.

Source: bp-media/classes/class-bp-media-album.php:563

BP_Media_Album::append_user_fullnames()

Append xProfile fullnames to an media array.

Source: bp-media/classes/class-bp-media-album.php:590

BP_Media_Album::delete()

Delete albums from the database.

Source: bp-media/classes/class-bp-media-album.php:670

BP_Media_Album::get()

Get albums, as specified by parameters.

Source: bp-media/classes/class-bp-media-album.php:228

BP_Media_Album::get_album_data()

Convert media IDs to media objects, as expected in template loop.

Source: bp-media/classes/class-bp-media-album.php:464

BP_Media_Album::populate()

Populate the object with data about the specific album item.

Source: bp-media/classes/class-bp-media-album.php:113

BP_Media_Album::prefetch_object_data()

Pre-fetch data for objects associated with albums.

Source: bp-media/classes/class-bp-media-album.php:623

BP_Media_Album::save()

Save the media album to the database.

Source: bp-media/classes/class-bp-media-album.php:146

BP_Media_Album::total_group_album_count()

Count total album for the given group

Source: bp-media/classes/class-bp-media-album.php:644

BP_Media_Component::__construct()

Start the media component creation process.

Source: bp-media/classes/class-bp-media-component.php:67

BP_Media_Component::includes()

Include Media component files.

Source: bp-media/classes/class-bp-media-component.php:89

BP_Media_Component::late_includes()

Late includes method.

Source: bp-media/classes/class-bp-media-component.php:112

BP_Media_Component::rest_api_init()

Init the BuddyBoss REST API.

Source: bp-media/classes/class-bp-media-component.php:411

BP_Media_Component::setup_actions()

Set up the actions.

Source: bp-media/classes/class-bp-media-component.php:218

BP_Media_Component::setup_admin_bar()

Set up the component entries in the WordPress Admin Bar.

Source: bp-media/classes/class-bp-media-component.php:319

BP_Media_Component::setup_cache_groups()

Setup cache groups.

Source: bp-media/classes/class-bp-media-component.php:391

BP_Media_Component::setup_globals()

Set up component global data.

Source: bp-media/classes/class-bp-media-component.php:153

BP_Media_Component::setup_nav()

Set up component navigation.

Source: bp-media/classes/class-bp-media-component.php:240

BP_Media_Component::setup_title()

Set up the title for pages and .</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-component.php:363</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract/">BP_Media_Extractor::extract()</a></td> <td> <div><p>Extract media from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:122</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_audio/">BP_Media_Extractor::extract_audio()</a></td> <td> <div><p>Extract [audio] shortcodes and `<a href="*.mp3">` tags, from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:611</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_embeds/">BP_Media_Extractor::extract_embeds()</a></td> <td> <div><p>Extract any URL, matching a registered oEmbed endpoint, from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:528</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_images/">BP_Media_Extractor::extract_images()</a></td> <td> <div><p>Extract images from `<img src>` tags, [galleries], and featured images from a Post.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:348</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_images_from_featured_images/">BP_Media_Extractor::extract_images_from_featured_images()</a></td> <td> <div><p>Extract the featured image from a Post.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:884</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_images_from_galleries/">BP_Media_Extractor::extract_images_from_galleries()</a></td> <td> <div><p>Extract images in [galleries] shortcodes from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:779</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_links/">BP_Media_Extractor::extract_links()</a></td> <td> <div><p>Extract `<a href>` tags from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:208</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_mentions/">BP_Media_Extractor::extract_mentions()</a></td> <td> <div><p>Extract @mentions tags from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:271</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_shortcodes/">BP_Media_Extractor::extract_shortcodes()</a></td> <td> <div><p>Extract shortcodes from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:467</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/extract_video/">BP_Media_Extractor::extract_video()</a></td> <td> <div><p>Extract [video] shortcodes from text.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:709</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_extractor/strip_markup/">BP_Media_Extractor::strip_markup()</a></td> <td> <div><p>Sanitize and format raw content to prepare for content extraction.</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-core/classes/class-bp-media-extractor.php:935</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/_fetch_sql/">BP_Media_Model::_fetch_sql()</a></td> <td> <div><p>Fetch SQL</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:36</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/_table/">BP_Media_Model::_table()</a></td> <td> <div><p>Get the DB table</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:20</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/date_to_time/">BP_Media_Model::date_to_time()</a></td> <td> <div><p>Convert date to time</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:239</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/delete/">BP_Media_Model::delete()</a></td> <td> <div><p>Delete from the table</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:93</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/get/">BP_Media_Model::get()</a></td> <td> <div><p>Get the single item data</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:52</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/insert/">BP_Media_Model::insert()</a></td> <td> <div><p>Insert into table</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:65</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/insert_id/">BP_Media_Model::insert_id()</a></td> <td> <div><p>Get the insert id</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:201</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/now/">BP_Media_Model::now()</a></td> <td> <div><p>Get now timestamp</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:226</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/rows/">BP_Media_Model::rows()</a></td> <td> <div><p>Fetch the rows</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:169</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/time_to_date/">BP_Media_Model::time_to_date()</a></td> <td> <div><p>Convert time to date format</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:216</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/update/">BP_Media_Model::update()</a></td> <td> <div><p>Update the data in table</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:78</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_model/where/">BP_Media_Model::where()</a></td> <td> <div><p>Fetch data from table with conditions on column</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-model.php:119</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_privacy/__construct/">BP_Media_Privacy::__construct()</a></td> <td> <div></div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-privacy.php:25</p></div> </td> </tr> <tr> <td><a href="https://www.buddyboss.com/resources/reference/classes/bp_media_privacy/get_visibility/">BP_Media_Privacy::get_visibility()</a></td> <td> <div><p>Get visibility of media</p> </div> <div class="bb-ref-meta"><p><strong>Source:</strong> bp-media/classes/class-bp-media-privacy.php:73</p></div> </td> </tr> </tbody> </table> </div> <nav class="pagination loop-pagination"><a class="prev page-numbers" href="https://www.buddyboss.com/resources/reference/methods/page/33/">« Previous</a> <a class="page-numbers" href="https://www.buddyboss.com/resources/reference/methods/">1</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://www.buddyboss.com/resources/reference/methods/page/33/">33</a> <span aria-current="page" class="page-numbers current">34</span> <a class="page-numbers" href="https://www.buddyboss.com/resources/reference/methods/page/35/">35</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://www.buddyboss.com/resources/reference/methods/page/79/">79</a> <a class="next page-numbers" href="https://www.buddyboss.com/resources/reference/methods/page/35/">Next »</a></nav> </main><!-- #main --> </div><!-- #primary --> </div><!-- .bb-grid --> </div><!-- .container --> </div><!-- #content --> <footer class="footer-bottom bb-footer style-1"> <div class="container flex"> <div class="footer-bottom-left"> <div class="copyright">© 2025 • BuddyBoss</div> </div><div class="footer-bottom-right push-right"></div> </div> </footer> </div><!-- #page --> <!-- HFCM by 99 Robots - Snippet # 1: Facebook Pixel Code - 617688858328656 verified --> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '617688858328656'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none"src="https://www.facebook.com/tr?id=617688858328656&ev=PageView&noscript=1"/></noscript> <!-- End Facebook Pixel Code --> <!-- /end HFCM by 99 Robots --> <!-- HFCM by 99 Robots - Snippet # 3: Google Tag Manager MKT - Body - 2 March 2020 --> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NB2BV5J" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <!-- /end HFCM by 99 Robots --> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-docs/assets/js/anchor.min.js?ver=1.4.8" id="bbdocs-anchorjs-js"></script> <script type="text/javascript" id="bbdocs-scripts-js-extra"> /* <![CDATA[ */ var bbDocs_Vars = {"ajaxurl":"https:\/\/www.buddyboss.com\/resources\/wp-admin\/admin-ajax.php","nonce":"2c5d0dc7a2","style":"https:\/\/www.buddyboss.com\/resources\/wp-content\/plugins\/buddyboss-docs\/assets\/css\/print.css","powered":"\u00a9 BuddyBoss Resources, 2025. Powered by bbDocs<br>https:\/\/www.buddyboss.com\/resources"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-docs/assets/js/frontend.min.js?ver=1.4.8" id="bbdocs-scripts-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/dist/vendor/moment.min.js?ver=2.29.4" id="moment-js"></script> <script type="text/javascript" id="moment-js-after"> /* <![CDATA[ */ moment.updateLocale( 'en_US', {"months":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthsShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"weekdays":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"weekdaysShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"week":{"dow":1},"longDateFormat":{"LT":"g:i a","LTS":null,"L":null,"LL":"F j, Y","LLL":"F j, Y g:i a","LLLL":null}} ); moment.updateLocale( 'en_US', {"relativeTime":{"future":"in %s","past":"%s ago","s":"second","ss":"%d seconds","m":"a minute","mm":"%d minutes","h":"an hour","hh":"%d hours","d":"a day","dd":"%d days","w":"a week","ww":"%d weeks","M":"a month","MM":"%d months","y":"a year","yy":"%d years"}} ); /* ]]> */ </script> <script type="text/javascript" id="bp-livestamp-js-extra"> /* <![CDATA[ */ var bb_livestamp = {"year_in_seconds":"31536000","day_in_seconds":"86400","week_in_seconds":"604800","hour_in_seconds":"3600","minute_in_seconds":"60","chunks":[31536000,5256000,2592000,604800,86400,3600,60,1],"unknown_text":"sometime","right_now_text":"Just now","ago_text":"%s ago","second_text":"a second","seconds_text":"seconds","minute_text":"a minute","minutes_text":"minutes","hour_text":"an hour","hours_text":"hours","day_text":"a day","days_text":"days","week_text":"a week","weeks_text":"weeks","month_text":"a month","months_text":"months","year_text":"a year","years_text":"years"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-platform/bp-core/js/livestamp.min.js?ver=2.7.10" id="bp-livestamp-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/underscore.min.js?ver=1.13.4" id="underscore-js"></script> <script type="text/javascript" id="wp-util-js-extra"> /* <![CDATA[ */ var _wpUtilSettings = {"ajax":{"url":"\/resources\/wp-admin\/admin-ajax.php"}}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/wp-util.min.js?ver=6.6.2" id="wp-util-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/dist/hooks.min.js?ver=2810c76e705dd1a53b18" id="wp-hooks-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script> <script type="text/javascript" id="wp-i18n-js-after"> /* <![CDATA[ */ wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); /* ]]> */ </script> <script type="text/javascript" id="bp-nouveau-js-extra"> /* <![CDATA[ */ var BP_Nouveau = {"ajaxurl":"https:\/\/www.buddyboss.com\/resources\/wp-admin\/admin-ajax.php","only_admin_notice":"As you are the only organizer of this group, you cannot leave it. You can either delete the group or promote another member to be an organizer first and then leave the group.","is_friend_confirm":"Are you sure you want to remove your connection with this member?","confirm":"Are you sure?","confirm_delete_set":"Are you sure you want to delete this set? This cannot be undone.","show_x_comments":"View more comments","unsaved_changes":"Your profile has unsaved changes. If you leave the page, the changes will be lost.","object_nav_parent":"#buddypress","anchorPlaceholderText":"Paste or type a link","empty_field":"New Field","close":"Close","parent_group_leave_confirm":"By leaving this main group you will automatically be removed and unsubscribed to any subgroups relating to this group.","group_leave_confirm":"<p>Are you sure you want to leave <span class=\"bb-group-name\"><\/span>?<\/p>","wpTime":"2025-01-18 18:25:44","wpTimezone":"America\/Los_Angeles","objects":{"1":"members","4":"xprofile","12":"search"},"nonces":{"members":"a725f4b608","xprofile":"996565c7ee","search":"e4d2458b2a"},"is_send_ajax_request":"1"}; var BB_Nouveau_Presence = {"heartbeat_enabled":"1","presence_interval":"60","presence_default_interval":"60","presence_time_span":"20","idle_inactive_span":"180","rest_nonce":"bf83f6d24b","native_presence":"1","native_presence_url":"https:\/\/www.buddyboss.com\/resources\/wp-content\/plugins\/buddyboss-platform\/bp-core\/bb-core-native-presence.php","presence_rest_url":"https:\/\/www.buddyboss.com\/resources\/wp-json\/buddyboss\/v1\/members\/presence"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/js/buddypress-nouveau.min.js?ver=2.7.10" id="bp-nouveau-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/js/jquery.guillotine.min.js?ver=2.7.10" id="guillotine-js-js"></script> <script type="text/javascript" id="heartbeat-js-extra"> /* <![CDATA[ */ var heartbeatSettings = {"ajaxurl":"\/resources\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/heartbeat.min.js?ver=6.6.2" id="heartbeat-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3" id="jquery-ui-core-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/jquery/ui/menu.min.js?ver=1.13.3" id="jquery-ui-menu-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/dist/dom-ready.min.js?ver=f77871ff7694fffea381" id="wp-dom-ready-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/dist/a11y.min.js?ver=d90eebea464f6c09bfd5" id="wp-a11y-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.13.3" id="jquery-ui-autocomplete-js"></script> <script type="text/javascript" id="bp-nouveau-search-js-extra"> /* <![CDATA[ */ var BP_SEARCH = {"nonce":"90ffa224ae","action":"bp_search_ajax","debug":"1","ajaxurl":"https:\/\/www.buddyboss.com\/resources\/wp-admin\/admin-ajax.php","loading_msg":"Loading suggestions...","enable_ajax_search":"1","per_page":"5","autocomplete_selector":".header-search-wrap .search-form","form_selector":".widget_search .search-form","forums_autocomplete":""}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-platform/bp-templates/bp-nouveau/js/buddypress-search.min.js?ver=2.7.10" id="bp-nouveau-search-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/navigation.js?ver=20220422" id="wporg-developer-navigation-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/skip-link-focus-fix.js?ver=20130115" id="wporg-developer-skip-link-focus-fix-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/search.js?ver=20220422" id="wporg-developer-search-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/menu.js?ver=20220422" id="wporg-developer-menu-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/awesomplete.min.js?ver=20160322" id="awesomplete-js"></script> <script type="text/javascript" id="autocomplete-js-extra"> /* <![CDATA[ */ var autocomplete = {"ajaxurl":"https:\/\/www.buddyboss.com\/resources\/wp-admin\/admin-ajax.php","nonce":"a58bb47ed2"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/js/autocomplete.js?ver=20160524" id="autocomplete-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/imagesloaded.min.js?ver=5.0.0" id="imagesloaded-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-includes/js/masonry.min.js?ver=4.2.2" id="masonry-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/menu.js?ver=2.7.00" id="boss-menu-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/fitvids.js?ver=2.7.00" id="boss-fitvids-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/slick.min.js?ver=2.7.00" id="boss-slick-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/panelslider.min.js?ver=2.7.00" id="boss-panelslider-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/sticky-kit.js?ver=2.7.00" id="boss-sticky-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/jssocials.min.js?ver=2.7.00" id="boss-jssocials-js-js"></script> <script type="text/javascript" id="buddyboss-theme-main-js-js-extra"> /* <![CDATA[ */ var bs_data = {"jm_ajax":"https:\/\/www.buddyboss.com\/resources\/jm-ajax\/","ajaxurl":"https:\/\/www.buddyboss.com\/resources\/wp-admin\/admin-ajax.php","show_notifications":"1","show_messages":"1","facebook_label":"Share on Facebook","twitter_label":"Post","more_menu_title":"Menu Items","translation":{"comment_posted":"Your comment has been posted.","comment_btn_loading":"Please Wait...","choose_a_file_label":"Choose a file","email_validation":"Please enter a valid email address."},"gamipress_badge_label":"Badge","nonce_list_grid":"2b652e4e11"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/main.js?ver=2.7.00" id="buddyboss-theme-main-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/validate.min.js?ver=2.7.00" id="boss-validate-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/plugins/buddyboss-platform/bp-core/js/vendor/magnific-popup.js?ver=2.7.10" id="bp-nouveau-magnific-popup-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/select2.full.min.js?ver=2.7.00" id="select2-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/progressbar.min.js?ver=2.7.00" id="progressbar-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme/assets/js/vendors/mousewheel.min.js?ver=2.7.00" id="mousewheel-js-js"></script> <script type="text/javascript" src="https://www.buddyboss.com/resources/wp-content/themes/buddyboss-theme-resources/assets/js/scripts.min.js?ver=6.6.2" id="resources-scripts-js-js"></script> <script>jQuery( document ).ready( function(){ //Your codes strat from here }); function hexToBase64( hexString ) { try { hexString = hexString.replace( /:/g, '' ); const binaryData = hexString.match( /.{1,2}/g ).map( byte => parseInt( byte, 16 ) ); const uint8Array = new Uint8Array( binaryData ); const base64String = btoa( String.fromCharCode.apply( null, uint8Array ) ); return base64String; } catch ( error ) { throw new Error( 'Invalid hexadecimal string.' ); } } function convertHexToBase64() { const input = document.getElementById( 'hexInput' ).value; const output = document.getElementById( 'base64Output' ); const output_wrap = document.getElementById( 'OutputWrap' ); if( input !== '' ) { output_wrap.style.display = 'block'; try { const base64String = hexToBase64( input ); output.textContent = base64String; } catch ( error ) { output.textContent = 'Error: ' + error.message; } } else { output_wrap.style.display = 'none'; } }</script> </body> </html>