Actions and Filters

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

2 Replies to “Actions and Filters”

Leave a Reply

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