Created
March 11, 2015 13:03
-
-
Save mototeam/e659a8cb30165c73d1d1 to your computer and use it in GitHub Desktop.
Removing all objects example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mp_code & mp_text can be hidden only | |
$motopressCELibrary->getObject('mp_code')->setShow(false); | |
$motopressCELibrary->getObject('mp_text')->setShow(false); | |
$motopressCELibrary->removeObject('mp_heading'); | |
$motopressCELibrary->removeObject('mp_image'); | |
$motopressCELibrary->removeObject('mp_grid_gallery'); | |
$motopressCELibrary->removeObject('mp_image_slider'); | |
$motopressCELibrary->removeObject('mp_video'); | |
$motopressCELibrary->removeObject('mp_space'); | |
$motopressCELibrary->removeObject('mp_button'); | |
$motopressCELibrary->removeObject('mp_gmap'); | |
$motopressCELibrary->removeObject('mp_embed'); | |
$motopressCELibrary->removeObject('mp_quote'); | |
$motopressCELibrary->removeObject('mp_members_content'); | |
$motopressCELibrary->removeObject('mp_social_buttons'); | |
$motopressCELibrary->removeObject('mp_social_profile'); | |
$motopressCELibrary->removeObject('mp_google_chart'); | |
$motopressCELibrary->removeObject('mp_wp_audio'); | |
$motopressCELibrary->removeObject('mp_tabs'); | |
$motopressCELibrary->removeObject('mp_accordion'); | |
$motopressCELibrary->removeObject('mp_table'); | |
$motopressCELibrary->removeObject('mp_posts_grid'); | |
$motopressCELibrary->removeObject('mp_wp_archives'); | |
$motopressCELibrary->removeObject('mp_wp_calendar'); | |
$motopressCELibrary->removeObject('mp_wp_categories'); | |
$motopressCELibrary->removeObject('mp_wp_navmenu'); | |
$motopressCELibrary->removeObject('mp_wp_meta'); | |
$motopressCELibrary->removeObject('mp_wp_pages'); | |
$motopressCELibrary->removeObject('mp_wp_posts'); | |
$motopressCELibrary->removeObject('mp_wp_comments'); | |
$motopressCELibrary->removeObject('mp_wp_rss'); | |
$motopressCELibrary->removeObject('mp_wp_search'); | |
$motopressCELibrary->removeObject('mp_wp_tagcloud'); | |
$motopressCELibrary->removeObject('mp_wp_widgets_area'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment