Actions and Filters

Table of Contents

Actions

mp_library – use this action to retrieve library with MotoPress Object.
Default: Array()
mpce_add_custom_scripts – this action can be used for for adding custom scripts to MotoPress Content Editor.
Default: none
mpce_add_custom_styles – this action can be used for for adding custom styles to MotoPress Content Editor.
Default: none
motopress_render_shortcode – this action runs before shortcode conversion to the content within ajax request.
Default: – $shortcode – shortcode name

Filters

mpce_preloader_src – using this filter you can change the link for custom preloader.
mpce_link_domain_mapping – apply this filter to change the link for help section.
mpce_logo_src – this filter is used to put a link for custom logo.
mpce_hide_tutorials – this filter allows you to show/hide Help button.
mpce_button_text – using this filter you can change the text of ‘Edit with MotoPress’ button.
mpce_hide_native_editor – use this filter to hide TinyMCE editor.
mpce_brand_name – this filter allows you to change the Brand Name of drag and drop editor.
mpce_disable_updater – this filter is applied to switch off the update notification.
mpce_hide_menu_page – use this filter to hide a menu.
mpce_menu_icon_src – this filter is used to change the link to your icon.
mpce_submenu_title – using this filter you can modify submenu text.
mpce_hide_license_page – apply this filter to hide the license section.
mpce_hide_link_edit_with – use this filter to hide Edit with MotoPress link.
mpce_large_logo_src – this filter is used to indicate URL for large logo.
mpce_wl_site_url – using this filter you can add URL of official website.
mpce_wl_site_name – using this filter you can add name of your website.
mpce_found_button_description – apply this filter to add description for MotoPress > Content Editor section e.g. ‘Content editor button can be found in the Pages and Posts section’.
mpce_found_button_img_src – use this filter to add link for image under the description on how MotoPress button can be found.
mpce_auto_license_key – this filter allows to activate the license automatically after plugin installation.
mpce_hide_link_translation_service – apply this filter to hide a link for translations.
mpce_link_howto_personal_account – this filter can be used to add your URL to the article on how to use an account.
mpce_link_name_mismatch – use this filter to substitute the link for article if license key does not match the plugin.
mpce_wl_tutorials_playlist_id – this filter allows you to change ID of YouTube Channel with video tutorials.

6 Replies to “Actions and Filters”

  1. hi,
    I want to custom the booking confirmation page with a dynamical calendar before the reservation information.
    1. Do you thinking is possible?
    2. And why don’t give the possibility to change the date of booking directly in the booking confirmation page ?

    regards

    1. Hi Gardella,
      There is no possibility to edit dates of reservation on the checkout page since the step to check availability has been passed. You may simply add a search or availability form to the checkout page before the [mphb_checkout] shortcode. Thus visitors may run a new search on new dates.

  2. Hi, I’ve purchased your plugin and now i want to change something in the plugin. Can you please tell me that after payment processing where confirm order confirm store in database???

Leave a Reply

Your email address will not be published. Required fields are marked *