diff --git a/guides/best-practices/api-integration.md b/guides/best-practices/api-integration.md new file mode 100644 index 0000000..74ce748 --- /dev/null +++ b/guides/best-practices/api-integration.md @@ -0,0 +1,24 @@ +# API Integration Best Practices for MainWP Add-ons + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for integrating third-party APIs with MainWP add-ons, including: + +- Security considerations for API keys and tokens +- Performance optimization for API requests +- Error handling and graceful degradation +- User experience design for API-dependent features +- Data synchronization strategies +- Handling API rate limits and quotas +- Implementing proper logging and debugging +- Testing API integrations +- Maintaining compatibility with API changes +- Documentation standards for API integrations + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic Integration](../how-to/create-basic-integration.md) +- [Working with Third-Party APIs](../how-to/third-party-apis.md) +- [Writing Clean & Maintainable Code](coding-standards.md) diff --git a/guides/best-practices/coding-standards.md b/guides/best-practices/coding-standards.md new file mode 100644 index 0000000..96057c7 --- /dev/null +++ b/guides/best-practices/coding-standards.md @@ -0,0 +1,20 @@ +# Writing Clean & Maintainable MainWP Code: Best Practices + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for writing clean, maintainable code for MainWP extensions, including: + +- Following WordPress coding standards +- Proper documentation practices +- Error handling and logging +- Security best practices +- Performance optimization +- Code organization and structure + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic MainWP Extension](../how-to/create-basic-extension.md) +- [Using MainWP Actions & Filters](../how-to/actions-filters.md) +- [Extension Development Lifecycle](../concepts/extension-lifecycle.md) diff --git a/guides/concepts/extension-lifecycle.md b/guides/concepts/extension-lifecycle.md new file mode 100644 index 0000000..7a61eb0 --- /dev/null +++ b/guides/concepts/extension-lifecycle.md @@ -0,0 +1,358 @@ +# Add-on Development Lifecycle + +This guide explains the lifecycle of a MainWP add-on (extension or integration), from initial concept to ongoing maintenance. Understanding this lifecycle will help you plan, develop, and maintain successful add-ons. + +## Understanding MainWP Add-on Types + +Before diving into the lifecycle, it's important to understand the terminology: + +- **Add-on**: The umbrella term for all MainWP plugins that extend functionality +- **Extension**: An add-on that works WITHOUT requiring a third-party plugin or API +- **Integration**: An add-on that works WITH a third-party plugin or API + +This guide applies to both extensions and integrations, with specific considerations noted where relevant. + +## Overview + +The MainWP add-on development lifecycle consists of several distinct phases: + +```mermaid +flowchart TD + A[Planning] --> B[Development] + B --> C[Testing] + C --> D[Distribution] + D --> E[Maintenance] + E --> F[Updates] + F --> C +``` + +Each phase has specific goals, activities, and deliverables that contribute to creating a successful extension. + +## 1. Planning Phase + +The planning phase is where you define what your add-on will do and how it will work. This phase is critical for ensuring your add-on meets real user needs and integrates well with MainWP. + +### Key Activities + +1. **Market Research**: Identify user needs and potential competitors +2. **Feature Definition**: Determine the core functionality of your add-on +3. **Technical Assessment**: Evaluate technical feasibility and requirements +4. **Integration Planning**: Determine how your add-on will integrate with MainWP +5. **Resource Planning**: Estimate time, effort, and resources needed +6. **Add-on Type Decision**: Determine whether you need to build an extension or integration + + For integrations, additional planning is required: + - Identify the third-party service or plugin you'll integrate with + - Research API documentation and requirements + - Evaluate authentication methods and security considerations + - Plan for handling API rate limits and service disruptions + +### Deliverables + +- Add-on concept document +- Feature list and prioritization +- Technical requirements document +- Development timeline +- Third-party API requirements (for integrations) + +### Best Practices + +- **Focus on Solving Real Problems**: Ensure your add-on addresses actual pain points for MainWP users +- **Start Small**: Begin with a core set of features that deliver value, then expand +- **Consider Integration Points**: Plan how your add-on will interact with MainWP Dashboard and Child sites +- **Research Existing Add-ons**: Understand what's already available to avoid duplication or identify partnership opportunities +- **Choose the Right Add-on Type**: Carefully consider whether you need an extension or integration based on your requirements +- **Plan for API Changes** (for integrations): Consider how you'll handle third-party API changes or service disruptions + +## 2. Development Phase + +The development phase is where you build your add-on, transforming your plans into working code. + +### Key Activities + +1. **Environment Setup**: Create a development environment with MainWP Dashboard and Child sites +2. **Architecture Design**: Design the structure and components of your add-on +3. **Coding**: Implement the add-on's functionality +4. **Documentation**: Create inline code documentation and user documentation +5. **Internal Testing**: Perform ongoing testing during development + + For integrations, additional activities include: + - Implementing API client and authentication + - Creating fallback mechanisms for API failures + - Developing data synchronization between MainWP and the third-party service + - Implementing caching to reduce API calls + +### Deliverables + +- Working add-on code +- Technical documentation +- User documentation +- API client implementation (for integrations) + +### Best Practices + +- **Use the Development Extension**: Start with the [MainWP Development Extension](https://github.com/mainwp/mainwp-development-extension) as a template +- **Follow WordPress Coding Standards**: Adhere to [WordPress Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/) for consistent, maintainable code +- **Implement Proper Error Handling**: Include robust error handling to ensure your add-on gracefully handles unexpected situations +- **Use Version Control**: Use Git or another version control system to track changes and collaborate +- **Create Modular Code**: Design your add-on with modular, reusable components +- **Document as You Go**: Write documentation alongside your code, not as an afterthought +- **Implement Robust API Error Handling** (for integrations): Handle API timeouts, rate limits, and service disruptions gracefully +- **Cache API Responses** (for integrations): Minimize API calls by implementing appropriate caching + +## 3. Testing Phase + +The testing phase ensures your add-on works correctly, integrates properly with MainWP, and provides a good user experience. + +### Key Activities + +1. **Functional Testing**: Verify all features work as expected +2. **Integration Testing**: Ensure proper integration with MainWP Dashboard and Child sites +3. **Compatibility Testing**: Test with different WordPress versions, themes, and plugins +4. **Performance Testing**: Evaluate the add-on's impact on site performance +5. **Security Testing**: Identify and address potential security vulnerabilities +6. **User Testing**: Get feedback from real users + + For integrations, additional testing includes: + - API failure testing: Verify graceful handling of API timeouts and errors + - Rate limit testing: Ensure your add-on respects API rate limits + - Data synchronization testing: Verify data consistency between MainWP and the third-party service + - Authentication testing: Ensure secure handling of API credentials + +### Deliverables + +- Test plan and test cases +- Bug reports and fixes +- Performance benchmarks +- Security assessment + +### Best Practices + +- **Create a Test Environment**: Set up a dedicated testing environment with multiple child sites +- **Test with Different Configurations**: Test with various WordPress versions, PHP versions, and server configurations +- **Automate Testing Where Possible**: Use automated tests for repetitive test cases +- **Perform Security Audits**: Review code for security vulnerabilities +- **Get External Feedback**: Have other developers or users test your add-on +- **Document Test Results**: Keep records of test results and fixes +- **Test API Edge Cases** (for integrations): Test with invalid API responses, rate limiting, and service outages +- **Implement Sandbox Testing** (for integrations): Use API sandbox environments when available + +## 4. Distribution Phase + +The distribution phase is where you package your add-on and make it available to users. + +### Key Activities + +1. **Packaging**: Prepare your add-on for distribution +2. **Documentation Finalization**: Complete user documentation +3. **Marketing Materials**: Create screenshots, videos, and promotional content +4. **Distribution Channel Setup**: Determine how you'll distribute your add-on +5. **Launch Planning**: Plan the launch of your add-on + + For integrations, additional activities include: + - Documenting third-party API requirements and limitations + - Creating setup guides for API credentials + - Preparing support documentation for common API issues + +### Deliverables + +- Distribution package +- Complete user documentation +- Marketing materials +- Distribution channel presence +- API setup guides (for integrations) + +### Distribution Options + +1. **MainWP Add-ons Directory**: Official marketplace for MainWP add-ons +2. **Your Own Website**: Sell or distribute through your own site +3. **GitHub or Other Repositories**: Open-source distribution +4. **WordPress.org**: If your add-on has standalone functionality + +### Best Practices + +- **Create Clear Documentation**: Provide comprehensive documentation for installation, configuration, and usage +- **Include Screenshots and Videos**: Visual aids help users understand your add-on +- **Prepare Marketing Materials**: Create compelling descriptions and visuals +- **Plan Your Pricing Strategy**: Determine whether your add-on will be free, premium, or freemium +- **Consider Support Channels**: Decide how you'll provide support to users +- **Document API Requirements** (for integrations): Clearly explain what third-party accounts or plugins are required +- **Provide API Setup Guides** (for integrations): Include step-by-step instructions for obtaining API credentials + +## 5. Maintenance Phase + +The maintenance phase involves supporting your add-on, fixing bugs, and making minor improvements. + +### Key Activities + +1. **User Support**: Respond to user questions and issues +2. **Bug Fixing**: Address reported bugs and issues +3. **Minor Enhancements**: Implement small improvements +4. **Compatibility Updates**: Ensure compatibility with new MainWP and WordPress versions +5. **Performance Optimization**: Improve performance based on real-world usage + + For integrations, additional activities include: + - Monitoring third-party API changes and updates + - Adapting to API deprecations or new features + - Addressing API-related issues reported by users + +### Deliverables + +- Bug fixes and patches +- Minor feature enhancements +- Updated documentation +- Compatibility updates + +### Best Practices + +- **Establish Support Channels**: Create clear channels for users to get help +- **Set Response Time Expectations**: Let users know how quickly they can expect support +- **Track Issues Systematically**: Use an issue tracking system to manage bug reports and feature requests +- **Communicate with Users**: Keep users informed about known issues and upcoming fixes +- **Monitor Performance**: Watch for performance issues in real-world usage +- **Stay Current with MainWP**: Keep up with MainWP updates and changes +- **Monitor API Changes** (for integrations): Subscribe to API change notifications and developer newsletters +- **Maintain API Compatibility** (for integrations): Quickly adapt to API changes to minimize disruption + +## 6. Update Phase + +The update phase involves developing significant new features or major changes to your add-on. + +### Key Activities + +1. **Feature Planning**: Plan new features based on user feedback and market needs +2. **Major Enhancements**: Implement significant new functionality +3. **Architecture Improvements**: Make major structural improvements +4. **Testing New Features**: Thoroughly test new functionality +5. **Update Documentation**: Update documentation to reflect new features +6. **Release Planning**: Plan and execute the release of updates + + For integrations, additional activities include: + - Implementing support for new API features or versions + - Redesigning integration architecture for better performance or reliability + - Adding support for additional third-party services + +### Deliverables + +- New features and enhancements +- Updated extension package +- Updated documentation +- Release notes + +### Best Practices + +- **Prioritize Based on User Feedback**: Focus on features that users are requesting +- **Maintain Backward Compatibility**: Ensure updates don't break existing functionality +- **Use Semantic Versioning**: Follow [semantic versioning](https://semver.org/) for clear communication about the nature of updates +- **Create Detailed Release Notes**: Document what's new, what's changed, and any breaking changes +- **Test Thoroughly**: Test new features as rigorously as the initial release +- **Plan for Data Migration**: If updates change data structures, plan for migrating existing data +- **Coordinate with API Changes** (for integrations): Time major updates to coincide with third-party API changes when possible +- **Provide Migration Paths** (for integrations): Help users transition when third-party services make breaking changes + +## Lifecycle Management Considerations + +### Version Control + +Using a version control system like Git is essential for managing your add-on's lifecycle: + +- **Track Changes**: Keep a history of all code changes +- **Branch Management**: Use branches for features, fixes, and releases +- **Collaboration**: Enable multiple developers to work together +- **Rollback Capability**: Easily revert to previous versions if needed + +### Documentation Management + +Documentation should evolve alongside your add-on: + +- **Code Documentation**: Keep inline code documentation up to date +- **User Documentation**: Update user guides with new features and changes +- **Changelog**: Maintain a detailed changelog of all versions +- **Known Issues**: Document known issues and workarounds +- **API Documentation** (for integrations): Document third-party API versions supported and known limitations + +### Communication with Users + +Maintaining clear communication with users throughout the lifecycle: + +- **Release Announcements**: Inform users about new versions +- **Support Channels**: Provide accessible support options +- **Feedback Collection**: Actively seek and respond to user feedback +- **Roadmap Sharing**: Share your plans for future development + +## Add-on Lifecycle Tools + +Several tools can help manage your add-on's lifecycle: + +1. **Version Control**: GitHub, GitLab, Bitbucket +2. **Issue Tracking**: GitHub Issues, JIRA, Trello +3. **Documentation**: GitHub Wiki, ReadTheDocs, WordPress Codex +4. **Continuous Integration**: GitHub Actions, Travis CI, Jenkins +5. **Testing**: PHPUnit, WP-CLI, Browser Testing Tools + +## Case Studies: Add-on Lifecycle in Action + +Let's look at hypothetical case studies of MainWP add-ons through their lifecycle: + +### Extension Example: Client Reports Pro + +#### Planning +A developer identifies that MainWP users need better reporting capabilities for client sites. They research existing solutions, define key features, and create a development plan for a "Client Reports Pro" extension. + +#### Development +The developer uses the MainWP Development Extension as a starting point, implements the reporting features, creates a database structure for storing report templates, and builds a user interface for creating and scheduling reports. + +#### Testing +The extension is tested with multiple child sites, various WordPress configurations, and different report types. Beta testers provide feedback on usability and feature requests. + +#### Distribution +The developer creates comprehensive documentation, screenshots, and a demo video. They set up a website to sell the extension and establish a support system. + +#### Maintenance +After launch, the developer responds to support requests, fixes bugs, and makes minor improvements based on user feedback. + +#### Updates +Based on user requests, the developer plans and implements a major update that adds PDF export capabilities and more report templates. + +### Integration Example: Analytics Connect + +#### Planning +A developer notices that MainWP users want to see Google Analytics data directly in their MainWP Dashboard. They research the Google Analytics API, authentication requirements, and plan an integration that will connect MainWP sites with Google Analytics accounts. + +#### Development +The developer creates an API client for Google Analytics, implements OAuth authentication, develops data synchronization between MainWP and Google Analytics, and builds dashboard widgets to display analytics data. + +#### Testing +The integration is tested with various Google Analytics account configurations, different permission levels, and edge cases like API rate limiting. Beta testers provide feedback on the authentication process and data visualization. + +#### Distribution +The developer creates documentation explaining how to connect Google Analytics accounts, obtain API credentials, and interpret the analytics data. They create marketing materials highlighting the time-saving benefits of viewing analytics directly in MainWP. + +#### Maintenance +After launch, the developer monitors Google Analytics API changes, responds to authentication issues reported by users, and optimizes API calls to stay within rate limits. + +#### Updates +When Google releases a new Analytics API version, the developer plans and implements support for the new API while maintaining backward compatibility with the old version. + +## Conclusion + +Understanding the MainWP add-on development lifecycle helps you create, distribute, and maintain successful extensions and integrations. By following best practices at each phase, you can create add-ons that provide real value to users and integrate seamlessly with the MainWP ecosystem. + +Whether you're building a standalone extension or integrating with a third-party service, the same lifecycle principles apply, with additional considerations for integrations to ensure reliable connections with external services. + +## Next Steps + +Now that you understand the add-on development lifecycle, you can: + +- [Set Up a Development Environment](../how-to/setup-environment.md) +- [Create a Basic MainWP Extension](../how-to/create-basic-extension.md) (standalone add-on) +- [Create a Basic MainWP Integration](../how-to/create-basic-integration.md) (third-party add-on) +- [Learn About the MainWP Development Extension](../how-to/mainwp-development-extension.md) + +## Related Resources + +- [MainWP Development Extension on GitHub](https://github.com/mainwp/mainwp-development-extension) +- [WordPress Plugin Developer Handbook](https://developer.wordpress.org/plugins/) +- [Semantic Versioning](https://semver.org/) +- [Working with Third-Party APIs](../how-to/third-party-apis.md) +- [API Integration Best Practices](../best-practices/api-integration.md) diff --git a/guides/how-to/actions-filters.md b/guides/how-to/actions-filters.md new file mode 100644 index 0000000..2cd38e6 --- /dev/null +++ b/guides/how-to/actions-filters.md @@ -0,0 +1,597 @@ +# Using MainWP Actions & Filters + +This guide explains how to use MainWP's actions and filters (hooks) to integrate your extension with the MainWP Dashboard and Child plugins. Understanding these hooks is essential for creating powerful, well-integrated extensions. + +## Quick Start for Experienced Developers + +```php +// Hook into MainWP Dashboard actions +add_action('mainwp_pageheader_extensions', function() { + // Add content to extension page header +}); + +// Filter MainWP Dashboard data +add_filter('mainwp_getextensions', function($extensions) { + // Register your extension + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MyExtension', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyExtension\\MyExtension', 'get_instance'), + 'name' => 'My Extension' + ); + return $extensions; +}); + +// Hook into child site actions +add_action('mainwp_child_call', function($action) { + // Handle requests from the dashboard + if ($action == 'my_custom_action') { + // Process the request + } +}); +``` + +Key hook categories: +- Registration hooks (`mainwp_getextensions`) +- UI hooks (`mainwp_pageheader_extensions`, `mainwp_admin_menu`) +- Site management hooks (`mainwp_site_synced`, `mainwp_site_actions`) +- Data hooks (`mainwp_site_sync_data`, `mainwp_get_site_option`) +- Child communication hooks (`mainwp_child_call`, `mainwp_child_init`) + +## Understanding WordPress Hooks + +Before diving into MainWP-specific hooks, it's important to understand the WordPress hooks system: + +- **Actions**: Allow you to add custom functionality at specific points in execution +- **Filters**: Allow you to modify data before it's used by WordPress + +### Actions + +Actions are triggered at specific points during execution and allow you to add custom functionality: + +```php +add_action('hook_name', 'callback_function', 10, 2); + +function callback_function($arg1, $arg2) { + // Do something when the hook is triggered +} +``` + +### Filters + +Filters allow you to modify data before it's used: + +```php +add_filter('hook_name', 'filter_function', 10, 1); + +function filter_function($value) { + // Modify $value + return $modified_value; +} +``` + +## MainWP Dashboard Hooks + +MainWP Dashboard provides numerous hooks for extending its functionality. Here are the most important ones for extension developers: + +### Extension Registration + +The most important hook for any MainWP extension is `mainwp_getextensions`, which registers your extension with the MainWP Dashboard: + +```php +add_filter('mainwp_getextensions', function($extensions) { + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MyExtension', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyExtension\\MyExtension', 'get_instance'), + 'name' => 'My Extension' + ); + return $extensions; +}); +``` + +This tells MainWP: +- The location of your plugin file +- The API identifier for your extension +- That this is a MainWP extension (not a third-party integration) +- The callback function to initialize your extension +- The display name of your extension + +### Admin Menu Integration + +To add menu items to the MainWP Dashboard: + +```php +add_action('mainwp_admin_menu', function() { + add_submenu_page( + 'mainwp_tab', + __('My Extension', 'my-extension'), + __('My Extension', 'my-extension'), + 'read', + 'MyExtension', + array($this, 'render_admin_page') + ); +}); +``` + +### Page Header and Footer + +To add content to the header or footer of your extension's pages: + +```php +add_action('mainwp_pageheader_extensions', function() { + // Add content to the page header + ?> +
+

+
+ +
+

+
+ +
+

+
+ __('My Custom Action', 'my-extension'), + 'url' => admin_url('admin.php?page=MyExtension&site_id=' . $website->id), + 'icon' => 'cog', + ); + return $actions; +}, 10, 2); +``` + +### Site Sync Data + +To add custom data to the site sync process: + +```php +add_filter('mainwp_site_sync_data', function($data, $website) { + // Add custom data to the sync process + $data['my_extension'] = array( + 'custom_field' => 'custom_value', + ); + return $data; +}, 10, 2); +``` + +### After Site Sync + +To perform actions after a site is synced: + +```php +add_action('mainwp_site_synced', function($website, $data) { + // Process data after site sync + if (isset($data['my_extension'])) { + // Process my_extension data + } +}, 10, 2); +``` + +## MainWP Child Hooks + +If your extension needs to interact with child sites, you'll need to use MainWP Child hooks: + +### Handling Dashboard Requests + +To handle requests from the MainWP Dashboard: + +```php +add_action('mainwp_child_call', function($action) { + // Check if this is a request for your extension + if ($action == 'my_extension') { + // Get the specific action + $specific_action = $_POST['specific_action'] ?? ''; + + // Handle the specific action + switch ($specific_action) { + case 'get_data': + // Get and return data + $data = array('result' => 'success', 'data' => 'your_data'); + wp_send_json($data); + break; + case 'update_data': + // Update data + $data = array('result' => 'success', 'message' => 'Data updated'); + wp_send_json($data); + break; + default: + // Handle unknown action + $data = array('result' => 'error', 'message' => 'Unknown action'); + wp_send_json($data); + break; + } + } +}); +``` + +### Child Plugin Initialization + +To initialize your child plugin: + +```php +add_action('mainwp_child_init', function() { + // Initialize your child plugin +}); +``` + +## Communication Between Dashboard and Child Sites + +One of the most powerful features of MainWP is the ability to communicate between the dashboard and child sites. Here's how to implement this in your extension: + +### Sending Requests from Dashboard to Child + +```php +// In your dashboard extension +public function send_request_to_child($website_id, $action, $data = array()) { + // Get the website + $website = MainWP\Dashboard\MainWP_DB::instance()->get_website_by_id($website_id); + if (!$website) { + return array('error' => 'Website not found'); + } + + // Prepare the data + $data['action'] = $action; + + // Send the request + try { + $information = MainWP\Dashboard\MainWP_Connect::fetch_url_authed( + $website, + 'my_extension', + $data + ); + + // Process the response + if (is_array($information) && isset($information['result'])) { + return $information; + } else { + return array('error' => 'Invalid response from child site'); + } + } catch (Exception $e) { + return array('error' => $e->getMessage()); + } +} +``` + +### Handling Requests on the Child Site + +```php +// In your child plugin +add_action('mainwp_child_call', function($action) { + if ($action == 'my_extension') { + // Get the specific action + $specific_action = $_POST['action'] ?? ''; + + // Handle the specific action + switch ($specific_action) { + case 'get_plugin_data': + // Get plugin data + $plugin_data = get_plugin_data(WP_PLUGIN_DIR . '/my-plugin/my-plugin.php'); + wp_send_json(array( + 'result' => 'success', + 'data' => $plugin_data + )); + break; + // Handle other actions + default: + wp_send_json(array( + 'result' => 'error', + 'message' => 'Unknown action' + )); + break; + } + } +}); +``` + +## Common Hook Use Cases + +### Adding a Settings Page + +```php +// Add a settings page to the MainWP Dashboard +add_action('mainwp_admin_menu', function() { + add_submenu_page( + 'mainwp_tab', + __('My Extension Settings', 'my-extension'), + __('My Extension Settings', 'my-extension'), + 'read', + 'MyExtensionSettings', + array($this, 'render_settings_page') + ); +}); + +// Render the settings page +public function render_settings_page() { + // Check if user has permissions + if (!mainwp_current_user_can('read')) { + mainwp_do_not_have_permissions(__('My Extension Settings', 'my-extension')); + return; + } + + // Save settings if form is submitted + if (isset($_POST['submit'])) { + // Verify nonce + check_admin_referer('my_extension_settings_nonce', 'my_extension_settings_nonce'); + + // Save settings + $settings = array( + 'setting1' => sanitize_text_field($_POST['setting1'] ?? ''), + 'setting2' => sanitize_text_field($_POST['setting2'] ?? ''), + ); + update_option('my_extension_settings', $settings); + + // Show success message + ?> +
+ '', + 'setting2' => '', + )); + + // Render settings form + ?> +
+

+
+ + +
+ + +
+ +
+ + +
+ + +
+
+ __('My Extension', 'my-extension'), + 'slug' => 'MyExtension', + 'callback' => array($this, 'render_site_tab'), + ); + return $subpages; +}, 10, 2); + +// Render the custom tab +public function render_site_tab($website) { + // Render tab content + ?> +
+

+

id); ?>

+ +
+ getMessage()); + } +}); +``` + +## Debugging Hooks + +### Check if a Hook is Firing + +To check if a hook is firing, you can add a temporary debug callback: + +```php +add_action('mainwp_hook_name', function() { + error_log('mainwp_hook_name fired at ' . current_time('mysql')); +}); +``` + +### List All Hooks + +To see all hooks that are registered, you can use a plugin like [Query Monitor](https://wordpress.org/plugins/query-monitor/) or add this code: + +```php +add_action('admin_footer', function() { + global $wp_filter; + echo '
';
+    print_r($wp_filter);
+    echo '
'; +}); +``` + +### Check Hook Parameters + +To see what parameters a hook passes, you can use this debug callback: + +```php +add_action('mainwp_hook_name', function() { + $args = func_get_args(); + error_log('mainwp_hook_name parameters: ' . print_r($args, true)); +}, 10, 99); // Accept up to 99 parameters +``` + +## Finding Available Hooks + +MainWP provides many hooks for extension developers. Here are some ways to find them: + +### MainWP Hooks Documentation + +The [MainWP Hooks Documentation](../../mainwp-hooks/) provides a comprehensive list of available hooks, organized by category. + +### Source Code + +You can search the MainWP source code for hooks: + +1. Look for `do_action()` and `apply_filters()` calls in the MainWP Dashboard and Child plugins +2. Check the [MainWP GitHub repositories](https://github.com/mainwp) + +### Hook Categories + +MainWP hooks are generally organized into these categories: + +1. **Dashboard UI Hooks**: For modifying the MainWP Dashboard interface +2. **Site Management Hooks**: For interacting with managed sites +3. **Data Hooks**: For modifying data before it's used or displayed +4. **Communication Hooks**: For handling communication between Dashboard and Child sites +5. **Extension Hooks**: For registering and managing extensions + +## Complete Hook Reference + +For a complete reference of all available hooks, see the [MainWP Hooks Documentation](../../mainwp-hooks/): + +- [MainWP Dashboard Actions](../../mainwp-hooks/dashboard/actions/) +- [MainWP Dashboard Filters](../../mainwp-hooks/dashboard/filters/) +- [MainWP Child Actions](../../mainwp-hooks/child/actions/) +- [MainWP Child Filters](../../mainwp-hooks/child/filters/) + +## Next Steps + +Now that you understand how to use MainWP actions and filters, you can: + +- [Create a Basic MainWP Extension](create-basic-extension.md) that integrates with MainWP +- Learn about [Building Admin Interfaces](admin-interfaces.md) for your extension +- Explore [Data Storage and Retrieval](data-storage.md) for managing extension data + +## Related Resources + +- [WordPress Plugin API Documentation](https://developer.wordpress.org/plugins/hooks/) +- [MainWP Dashboard API Documentation](../../source-code/dashboard/) +- [MainWP Child API Documentation](../../source-code/child/) diff --git a/guides/how-to/admin-interfaces.md b/guides/how-to/admin-interfaces.md new file mode 100644 index 0000000..ba793b7 --- /dev/null +++ b/guides/how-to/admin-interfaces.md @@ -0,0 +1,23 @@ +# Building Admin Interfaces for MainWP Extensions + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for building intuitive admin interfaces for MainWP extensions, including: + +- Adding menu items to the MainWP Dashboard +- Creating settings pages +- Building custom admin pages +- Using MainWP UI components and styles +- Creating dashboard widgets +- Adding custom tabs to individual site pages +- Form handling and validation +- AJAX interactions +- Responsive design considerations + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic MainWP Extension](create-basic-extension.md) +- [Using MainWP Actions & Filters](actions-filters.md) +- [Understanding the MainWP Development Extension](mainwp-development-extension.md) diff --git a/guides/how-to/create-basic-extension.md b/guides/how-to/create-basic-extension.md new file mode 100644 index 0000000..b525f3a --- /dev/null +++ b/guides/how-to/create-basic-extension.md @@ -0,0 +1,348 @@ +# Creating a Basic MainWP Extension + +This guide walks you through the process of creating a basic MainWP extension. By the end, you'll have a functional extension that integrates with the MainWP Dashboard. + +## Quick Start for Experienced Developers + +```php +// 1. Clone the development extension +// git clone https://github.com/mainwp/mainwp-development-extension.git my-extension + +// 2. Rename files and update plugin header +// mainwp-development-extension.php → my-extension.php + +// 3. Update namespace and class names +namespace MyCompany\MyExtension; + +// 4. Register your extension with MainWP +add_filter('mainwp_getextensions', function($extensions) { + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MyExtension', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyExtension\\MyExtension', 'get_instance'), + 'name' => 'My Extension' + ); + return $extensions; +}); + +// 5. Implement core functionality in your main class +class MyExtension { + public static function get_instance() { + static $instance = null; + if (null === $instance) { + $instance = new self(); + } + return $instance; + } + + public function __construct() { + // Hook into MainWP actions and filters + add_action('mainwp_pageheader_extensions', array($this, 'page_header')); + add_action('mainwp_pagefooter_extensions', array($this, 'page_footer')); + } + + // Implement required methods... +} +``` + +## Prerequisites + +Before you begin creating a MainWP extension, ensure you have: + +- A development environment with WordPress and MainWP Dashboard installed (see [Setting Up a Development Environment](setup-environment.md)) +- Basic understanding of WordPress plugin development +- Familiarity with PHP object-oriented programming +- A code editor (like VS Code, PhpStorm, or Sublime Text) + +## Step 1: Plan Your Extension + +Before writing any code, clearly define what your extension will do: + +1. **Purpose**: What problem will your extension solve for MainWP users? +2. **Features**: What specific functionality will it provide? +3. **Integration Points**: How will it interact with the MainWP Dashboard and child sites? +4. **User Interface**: What admin pages, settings, or widgets will it need? + +Having a clear plan will guide your development process and help you create a more focused, useful extension. + +## Step 2: Start with the Development Extension + +MainWP provides a development extension template that includes the basic structure and boilerplate code you need to get started quickly. + +1. Clone or download the MainWP Development Extension from GitHub: + ```bash + git clone https://github.com/mainwp/mainwp-development-extension.git my-extension + ``` + +2. Navigate to your new extension directory: + ```bash + cd my-extension + ``` + +The development extension includes a well-structured codebase with classes for different aspects of extension functionality, making it easier to understand and extend. + +## Step 3: Customize the Plugin Information + +1. Rename the main plugin file from `mainwp-development-extension.php` to match your extension name (e.g., `my-extension.php`). + +2. Update the plugin header information in the main file: + + ```php + /** + * Plugin Name: My Extension for MainWP + * Plugin URI: https://yourwebsite.com/my-extension + * Description: A brief description of what your extension does. + * Version: 1.0 + * Author: Your Name + * Author URI: https://yourwebsite.com + * Text Domain: my-extension + */ + ``` + +3. Update the text domain throughout the plugin to match your extension's slug. + +## Step 4: Update Namespace and Class Names + +1. Change the namespace in all PHP files from `MainWP\Dev` to your own namespace (e.g., `MyCompany\MyExtension`). + +2. Rename the main class and other classes to match your extension name. + +3. Update all references to these classes throughout the codebase. + +For example: + +```php +namespace MyCompany\MyExtension; + +class MyExtension { + // Class implementation +} +``` + +## Step 5: Register Your Extension with MainWP + +MainWP uses a filter to discover and load extensions. Update the `mainwp_getextensions` filter in your main plugin file: + +```php +add_filter('mainwp_getextensions', function($extensions) { + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MyExtension', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyExtension\\MyExtension', 'get_instance'), + 'name' => 'My Extension' + ); + return $extensions; +}); +``` + +This tells MainWP: +- The location of your plugin file +- The API identifier for your extension +- That this is a MainWP extension (not a third-party integration) +- The callback function to initialize your extension +- The display name of your extension + +## Step 6: Implement Core Functionality + +The development extension includes several classes that handle different aspects of extension functionality: + +1. **Main Class** (`class/class-mainwp-development-extension.php`): The core class that initializes your extension and hooks into MainWP. + +2. **Admin Class** (`class/class-mainwp-development-extension-admin.php`): Handles admin pages, settings, and UI elements. + +3. **Database Class** (`class/class-mainwp-development-extension-db.php`): Manages database operations for your extension. + +4. **Utility Class** (`class/class-mainwp-development-extension-utility.php`): Contains helper functions and utilities. + +5. **AJAX Class** (`class/class-mainwp-development-extension-ajax.php`): Handles AJAX requests for your extension. + +Modify these classes to implement your extension's specific functionality. The development extension includes examples and comments to guide you. + +## Step 7: Create Admin Pages + +Most MainWP extensions provide admin pages for configuration and displaying information. The development extension includes examples of how to create these pages. + +1. Register your admin pages in the Admin class: + +```php +public function init_menu() { + add_submenu_page( + 'mainwp_tab', + __('My Extension', 'my-extension'), + __('My Extension', 'my-extension'), + 'read', + 'MyExtension', + array($this, 'render_admin_page') + ); +} +``` + +2. Create the page rendering function: + +```php +public function render_admin_page() { + // Check if user has permissions + if (!mainwp_current_user_can('read')) { + mainwp_do_not_have_permissions(__('My Extension', 'my-extension')); + return; + } + + // Render your admin page content + ?> +
+

+ +
+ 'my_custom_action', 'param' => 'value'); +$website = MainWP\Dashboard\MainWP_DB::instance()->get_website_by_id($website_id); +$information = MainWP\Dashboard\MainWP_Connect::fetch_url_authed($website, 'my_extension', $data); +``` + +2. **Child to Dashboard**: Process requests on the child site. + +You'll need to create a separate child plugin or use the MainWP Child plugin's hooks to handle these requests. + +## Step 9: Test Your Extension + +Thoroughly test your extension to ensure it works correctly: + +1. Install and activate it on a test MainWP Dashboard. +2. Test all features and functionality. +3. Check for any errors or warnings in the browser console and PHP error logs. +4. Test with multiple child sites to ensure compatibility. + +## Step 10: Package Your Extension + +When your extension is ready for distribution: + +1. Remove any development or debugging code. +2. Ensure all text is properly internationalized. +3. Create a readme.txt file with installation and usage instructions. +4. Package your extension as a ZIP file for distribution. + +## Common Integration Points + +Here are some common MainWP hooks you might use in your extension: + +### Actions + +- `mainwp_pageheader_extensions`: Add content to the page header in extension pages +- `mainwp_pagefooter_extensions`: Add content to the page footer in extension pages +- `mainwp_after_header`: Add content after the MainWP header +- `mainwp_before_footer`: Add content before the MainWP footer +- `mainwp_site_synced`: Triggered when a site is synced + +### Filters + +- `mainwp_getextensions`: Register your extension with MainWP +- `mainwp_extension_enabled_check`: Check if your extension is enabled +- `mainwp_extension_available_check`: Check if your extension is available + +For a complete list of available hooks, see the [MainWP Hooks Reference](../../mainwp-hooks/). + +## Example: A Simple "Hello World" Extension + +Here's a minimal example of a MainWP extension that adds a new admin page: + +```php + __FILE__, + 'api' => 'HelloWorld', + 'mainwp' => true, + 'callback' => array('MyCompany\\HelloWorld\\HelloWorld', 'get_instance'), + 'name' => 'Hello World' + ); + return $extensions; +}); + +class HelloWorld { + public static function get_instance() { + static $instance = null; + if (null === $instance) { + $instance = new self(); + } + return $instance; + } + + public function __construct() { + add_action('admin_init', array($this, 'admin_init')); + add_action('mainwp_admin_menu', array($this, 'init_menu')); + } + + public function admin_init() { + // Initialize admin functionality + } + + public function init_menu() { + // Add submenu page to MainWP menu + add_submenu_page( + 'mainwp_tab', + __('Hello World', 'hello-world-mainwp'), + __('Hello World', 'hello-world-mainwp'), + 'read', + 'HelloWorld', + array($this, 'render_admin_page') + ); + } + + public function render_admin_page() { + // Check if user has permissions + if (!mainwp_current_user_can('read')) { + mainwp_do_not_have_permissions(__('Hello World', 'hello-world-mainwp')); + return; + } + + // Render admin page + ?> +
+

+

+
+ __FILE__, + 'api' => 'MyIntegration', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyIntegration\\MyIntegration', 'get_instance'), + 'name' => 'My Integration' + ); + return $extensions; +}); + +// 5. Implement core functionality in your main class +class MyIntegration { + public static function get_instance() { + static $instance = null; + if (null === $instance) { + $instance = new self(); + } + return $instance; + } + + public function __construct() { + // Hook into MainWP actions and filters + add_action('mainwp_pageheader_extensions', array($this, 'page_header')); + add_action('mainwp_pagefooter_extensions', array($this, 'page_footer')); + + // Initialize third-party API connection + $this->init_api_connection(); + } + + private function init_api_connection() { + // Initialize connection to third-party API + // Check if required third-party plugin is active + if ($this->is_third_party_plugin_active()) { + // Set up API credentials + $this->api_key = get_option('my_integration_api_key', ''); + // Initialize API client + $this->api_client = new ApiClient($this->api_key); + } + } + + private function is_third_party_plugin_active() { + // Check if the required third-party plugin is active + return is_plugin_active('third-party-plugin/third-party-plugin.php'); + } + + // Implement required methods... +} +``` + +## Prerequisites + +Before you begin creating a MainWP integration, ensure you have: + +- A development environment with WordPress and MainWP Dashboard installed (see [Setting Up a Development Environment](setup-environment.md)) +- Basic understanding of WordPress plugin development +- Familiarity with PHP object-oriented programming +- A code editor (like VS Code, PhpStorm, or Sublime Text) +- Access to the third-party API or plugin you want to integrate with +- API credentials or documentation for the third-party service + +## Step 1: Plan Your Integration + +Before writing any code, clearly define what your integration will do: + +1. **Purpose**: What problem will your integration solve for MainWP users? +2. **Features**: What specific functionality will it provide? +3. **Third-Party Requirements**: What API or plugin will you integrate with? +4. **Integration Points**: How will it interact with both MainWP and the third-party service? +5. **User Interface**: What admin pages, settings, or widgets will it need? + +Having a clear plan will guide your development process and help you create a more focused, useful integration. + +## Step 2: Start with the Development Extension + +MainWP provides a development extension template that includes the basic structure and boilerplate code you need to get started quickly. + +1. Clone or download the MainWP Development Extension from GitHub: + ```bash + git clone https://github.com/mainwp/mainwp-development-extension.git my-integration + ``` + +2. Navigate to your new integration directory: + ```bash + cd my-integration + ``` + +The development extension includes a well-structured codebase with classes for different aspects of extension functionality, making it easier to understand and extend. + +## Step 3: Customize the Plugin Information + +1. Rename the main plugin file from `mainwp-development-extension.php` to match your integration name (e.g., `my-integration.php`). + +2. Update the plugin header information in the main file: + + ```php + /** + * Plugin Name: My Integration for MainWP + * Plugin URI: https://yourwebsite.com/my-integration + * Description: Integrates MainWP with [Third-Party Service/Plugin]. + * Version: 1.0 + * Author: Your Name + * Author URI: https://yourwebsite.com + * Text Domain: my-integration + * Requires at least: 4.6 + * Requires PHP: 7.0 + * WC requires at least: 3.0 (if integrating with WooCommerce) + * WC tested up to: 6.0 (if integrating with WooCommerce) + */ + ``` + +3. Update the text domain throughout the plugin to match your integration's slug. + +## Step 4: Update Namespace and Class Names + +1. Change the namespace in all PHP files from `MainWP\Dev` to your own namespace (e.g., `MyCompany\MyIntegration`). + +2. Rename the main class and other classes to match your integration name. + +3. Update all references to these classes throughout the codebase. + +For example: + +```php +namespace MyCompany\MyIntegration; + +class MyIntegration { + // Class implementation +} +``` + +## Step 5: Register Your Integration with MainWP + +MainWP uses a filter to discover and load extensions. Update the `mainwp_getextensions` filter in your main plugin file: + +```php +add_filter('mainwp_getextensions', function($extensions) { + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MyIntegration', + 'mainwp' => true, + 'callback' => array('MyCompany\\MyIntegration\\MyIntegration', 'get_instance'), + 'name' => 'My Integration' + ); + return $extensions; +}); +``` + +This tells MainWP: +- The location of your plugin file +- The API identifier for your integration +- That this is a MainWP extension (not a third-party integration) +- The callback function to initialize your integration +- The display name of your integration + +## Step 6: Add Third-Party Integration Code + +This is where your integration differs from a standard extension. You'll need to add code to connect with the third-party API or plugin: + +1. **Check for Third-Party Plugin**: If your integration requires a specific plugin, check if it's installed and activated: + +```php +private function is_third_party_plugin_active() { + // Check if the required third-party plugin is active + if (!function_exists('is_plugin_active')) { + include_once(ABSPATH . 'wp-admin/includes/plugin.php'); + } + return is_plugin_active('third-party-plugin/third-party-plugin.php'); +} +``` + +2. **Initialize API Connection**: Set up the connection to the third-party API: + +```php +private function init_api_connection() { + // Initialize connection to third-party API + if ($this->is_third_party_plugin_active()) { + // Set up API credentials + $this->api_key = get_option('my_integration_api_key', ''); + // Initialize API client + $this->api_client = new ApiClient($this->api_key); + } +} +``` + +3. **Create API Client Class**: Create a dedicated class for handling API communication: + +```php +class ApiClient { + private $api_key; + private $api_url = 'https://api.third-party-service.com/v1/'; + + public function __construct($api_key) { + $this->api_key = $api_key; + } + + public function get_data($endpoint, $params = array()) { + $url = $this->api_url . $endpoint; + $args = array( + 'headers' => array( + 'Authorization' => 'Bearer ' . $this->api_key, + 'Content-Type' => 'application/json' + ), + 'timeout' => 30 + ); + + if (!empty($params)) { + $url = add_query_arg($params, $url); + } + + $response = wp_remote_get($url, $args); + + if (is_wp_error($response)) { + return array('error' => $response->get_error_message()); + } + + $body = wp_remote_retrieve_body($response); + return json_decode($body, true); + } + + public function post_data($endpoint, $data) { + $url = $this->api_url . $endpoint; + $args = array( + 'headers' => array( + 'Authorization' => 'Bearer ' . $this->api_key, + 'Content-Type' => 'application/json' + ), + 'body' => json_encode($data), + 'method' => 'POST', + 'timeout' => 30 + ); + + $response = wp_remote_post($url, $args); + + if (is_wp_error($response)) { + return array('error' => $response->get_error_message()); + } + + $body = wp_remote_retrieve_body($response); + return json_decode($body, true); + } +} +``` + +## Step 7: Create Settings Page for API Credentials + +Most integrations require API credentials or configuration settings: + +```php +public function render_settings_page() { + // Check if user has permissions + if (!mainwp_current_user_can('read')) { + mainwp_do_not_have_permissions(__('My Integration Settings', 'my-integration')); + return; + } + + // Save settings if form is submitted + if (isset($_POST['submit'])) { + // Verify nonce + check_admin_referer('my_integration_settings_nonce', 'my_integration_settings_nonce'); + + // Save API key + $api_key = sanitize_text_field($_POST['api_key'] ?? ''); + update_option('my_integration_api_key', $api_key); + + // Test API connection + $test_result = $this->test_api_connection($api_key); + + if ($test_result['success']) { + ?> +
+ +
+ +
+

+
+ + +
+ + +

+
+ + +
+
+ get_data('test-endpoint'); + + if (isset($response['error'])) { + return array( + 'success' => false, + 'message' => sprintf(__('API connection failed: %s', 'my-integration'), $response['error']) + ); + } + + return array( + 'success' => true, + 'message' => __('API connection successful.', 'my-integration') + ); +} +``` + +## Step 8: Implement Integration Features + +Now implement the specific features of your integration. This will depend on what your integration does, but here are some common patterns: + +### Syncing Data from Third-Party Service to MainWP + +```php +public function sync_third_party_data() { + // Get data from third-party API + $data = $this->api_client->get_data('some-endpoint'); + + if (isset($data['error'])) { + // Handle error + return; + } + + // Process and store the data + update_option('my_integration_synced_data', $data); + update_option('my_integration_last_sync', current_time('mysql')); +} +``` + +### Sending MainWP Data to Third-Party Service + +```php +public function send_data_to_third_party($website_id, $data) { + // Get website details + $website = MainWP\Dashboard\MainWP_DB::instance()->get_website_by_id($website_id); + if (!$website) { + return array('error' => 'Website not found'); + } + + // Prepare data for third-party service + $prepared_data = array( + 'website_name' => $website->name, + 'website_url' => $website->url, + 'custom_data' => $data + ); + + // Send data to third-party API + $response = $this->api_client->post_data('some-endpoint', $prepared_data); + + return $response; +} +``` + +### Adding Integration-Specific UI Elements + +```php +public function render_dashboard_widget() { + // Get synced data + $data = get_option('my_integration_synced_data', array()); + $last_sync = get_option('my_integration_last_sync', ''); + + ?> +
+

+ + +

+ + + + +
+ +
+ +
+ +
+ +

+ + + +
+ + + is_third_party_plugin_active()) { + add_action('admin_notices', function() { + ?> +
+

Third-Party Plugin'); ?>

+
+ =7.0", + "third-party/api-client": "^1.0" + }, + "autoload": { + "psr-4": { + "MyCompany\\MyIntegration\\": "src/" + } + } +} +``` + +2. Install dependencies: + +```bash +composer install --no-dev +``` + +3. Include the Composer autoloader in your main plugin file: + +```php +if (file_exists(__DIR__ . '/vendor/autoload.php')) { + require_once __DIR__ . '/vendor/autoload.php'; +} +``` + +## Step 10: Test Your Integration + +Thoroughly test your integration to ensure it works correctly: + +1. Install and activate it on a test MainWP Dashboard. +2. Configure the API credentials or third-party plugin settings. +3. Test all features and functionality. +4. Check for any errors or warnings in the browser console and PHP error logs. +5. Test with multiple child sites to ensure compatibility. +6. Verify that data is correctly synced between MainWP and the third-party service. + +## Step 11: Package Your Integration + +When your integration is ready for distribution: + +1. Remove any development or debugging code. +2. Ensure all text is properly internationalized. +3. Create a readme.txt file with installation and usage instructions. +4. Package your integration as a ZIP file for distribution. + +## Example: A Simple "Third-Party Service" Integration + +Here's a minimal example of a MainWP integration that connects with a third-party service: + +```php + __FILE__, + 'api' => 'ThirdPartyIntegration', + 'mainwp' => true, + 'callback' => array('MyCompany\\ThirdPartyIntegration\\ThirdPartyIntegration', 'get_instance'), + 'name' => 'Third-Party Service Integration' + ); + return $extensions; +}); + +class ThirdPartyIntegration { + private static $instance = null; + private $api_client = null; + + public static function get_instance() { + if (null === self::$instance) { + self::$instance = new self(); + } + return self::$instance; + } + + public function __construct() { + // Initialize the integration + add_action('admin_init', array($this, 'admin_init')); + add_action('mainwp_admin_menu', array($this, 'init_menu')); + + // Initialize API client + $this->init_api_client(); + } + + public function admin_init() { + // Check for required dependencies + $this->check_required_plugins(); + } + + public function init_menu() { + // Add submenu page to MainWP menu + add_submenu_page( + 'mainwp_tab', + __('Third-Party Service', 'third-party-integration'), + __('Third-Party Service', 'third-party-integration'), + 'read', + 'ThirdPartyIntegration', + array($this, 'render_admin_page') + ); + + // Add settings page + add_submenu_page( + 'mainwp_tab', + __('Third-Party Settings', 'third-party-integration'), + __('Third-Party Settings', 'third-party-integration'), + 'read', + 'ThirdPartyIntegrationSettings', + array($this, 'render_settings_page') + ); + } + + private function init_api_client() { + $api_key = get_option('third_party_integration_api_key', ''); + if (!empty($api_key)) { + $this->api_client = new ApiClient($api_key); + } + } + + private function check_required_plugins() { + if (!function_exists('is_plugin_active')) { + include_once(ABSPATH . 'wp-admin/includes/plugin.php'); + } + + if (!is_plugin_active('third-party-plugin/third-party-plugin.php')) { + add_action('admin_notices', function() { + ?> +
+

Third-Party Plugin'); ?>

+
+ api_client)) { + ?> +
+
+ Third-Party Service'); ?> +
+
+ +
+

+ + + +
+ init_api_client(); + + ?> +
+ +
+

+
+ + +
+ + +

+
+ + +
+
+ api_key = $api_key; + } + + public function get_data($endpoint, $params = array()) { + $url = $this->api_url . $endpoint; + $args = array( + 'headers' => array( + 'Authorization' => 'Bearer ' . $this->api_key, + 'Content-Type' => 'application/json' + ), + 'timeout' => 30 + ); + + if (!empty($params)) { + $url = add_query_arg($params, $url); + } + + $response = wp_remote_get($url, $args); + + if (is_wp_error($response)) { + return array('error' => $response->get_error_message()); + } + + $body = wp_remote_retrieve_body($response); + return json_decode($body, true); + } + + public function post_data($endpoint, $data) { + $url = $this->api_url . $endpoint; + $args = array( + 'headers' => array( + 'Authorization' => 'Bearer ' . $this->api_key, + 'Content-Type' => 'application/json' + ), + 'body' => json_encode($data), + 'method' => 'POST', + 'timeout' => 30 + ); + + $response = wp_remote_post($url, $args); + + if (is_wp_error($response)) { + return array('error' => $response->get_error_message()); + } + + $body = wp_remote_retrieve_body($response); + return json_decode($body, true); + } +} +``` + +## Next Steps + +After creating your basic integration, you might want to explore: + +- [Using MainWP Actions & Filters](actions-filters.md) for deeper integration +- [Building Admin Interfaces](admin-interfaces.md) for more advanced UI elements +- [Working with Third-Party APIs](third-party-apis.md) for more advanced API integration techniques +- [API Integration Best Practices](../best-practices/api-integration.md) for security and performance considerations + +## Related Resources + +- [MainWP Development Extension on GitHub](https://github.com/mainwp/mainwp-development-extension) +- [MainWP Dashboard API Documentation](../../source-code/dashboard/) +- [MainWP Dashboard Hooks](../../mainwp-hooks/dashboard/) +- [WordPress HTTP API Documentation](https://developer.wordpress.org/plugins/http-api/) diff --git a/guides/how-to/data-storage.md b/guides/how-to/data-storage.md new file mode 100644 index 0000000..627846e --- /dev/null +++ b/guides/how-to/data-storage.md @@ -0,0 +1,21 @@ +# Data Storage and Retrieval in MainWP Extensions + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for storing and retrieving data in MainWP extensions, including: + +- Using WordPress options API +- Creating and managing custom database tables +- Transient API for caching +- Storing data for individual sites +- Handling data synchronization between Dashboard and Child sites +- Data validation and sanitization +- Security considerations + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic MainWP Extension](create-basic-extension.md) +- [Using MainWP Actions & Filters](actions-filters.md) +- [Understanding the MainWP Development Extension](mainwp-development-extension.md) diff --git a/guides/how-to/debugging.md b/guides/how-to/debugging.md new file mode 100644 index 0000000..d972fe0 --- /dev/null +++ b/guides/how-to/debugging.md @@ -0,0 +1,22 @@ +# Debugging MainWP Extensions + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover techniques and best practices for debugging MainWP extensions, including: + +- Setting up a proper debugging environment +- Using WordPress debugging constants +- Logging techniques +- Common debugging tools and plugins +- Troubleshooting communication between Dashboard and Child sites +- Debugging AJAX requests +- Performance profiling +- Common issues and solutions + +Check back soon for the complete guide. + +## Related Resources + +- [Setting Up a Development Environment](setup-environment.md) +- [Creating a Basic MainWP Extension](create-basic-extension.md) +- [Using MainWP Actions & Filters](actions-filters.md) diff --git a/guides/how-to/mainwp-development-extension.md b/guides/how-to/mainwp-development-extension.md new file mode 100644 index 0000000..83c0d70 --- /dev/null +++ b/guides/how-to/mainwp-development-extension.md @@ -0,0 +1,490 @@ +# Understanding the MainWP Development Extension + +The MainWP Development Extension is a template provided by MainWP to help developers create new extensions quickly and efficiently. This guide explains the structure and components of the development extension, helping you understand how to use it effectively in your own projects. + +## Quick Start for Experienced Developers + +The MainWP Development Extension follows a standard object-oriented structure: + +- **Main Class** (`MainWP_Development_Extension`): Initializes the extension and hooks into MainWP +- **Admin Class**: Handles admin pages, settings, and UI elements +- **Database Class**: Manages database operations +- **Utility Class**: Contains helper functions +- **AJAX Class**: Handles AJAX requests +- **Overview/Individual Classes**: Manage site overview and individual site pages + +Key files to modify: +1. `mainwp-development-extension.php`: Main plugin file with registration +2. `class/class-mainwp-development-extension.php`: Core functionality +3. `class/class-mainwp-development-extension-admin.php`: Admin interface + +## Repository Overview + +The [MainWP Development Extension](https://github.com/mainwp/mainwp-development-extension) is available on GitHub and serves as a starting point for creating new extensions. It includes: + +- A complete extension structure +- Example code for common MainWP integration points +- Properly formatted code following WordPress coding standards +- Comments explaining key functionality + +## Directory Structure + +``` +mainwp-development-extension/ +├── assets/ +│ ├── css/ +│ │ └── mainwp-development-extension.css +│ ├── images/ +│ └── js/ +│ └── mainwp-development-extension.js +├── class/ +│ ├── class-mainwp-development-extension.php +│ ├── class-mainwp-development-extension-admin.php +│ ├── class-mainwp-development-extension-ajax.php +│ ├── class-mainwp-development-extension-db.php +│ ├── class-mainwp-development-extension-individual.php +│ ├── class-mainwp-development-extension-overview.php +│ └── class-mainwp-development-extension-utility.php +├── includes/ +│ └── functions.php +├── languages/ +│ └── mainwp-development-extension.pot +├── readme.txt +└── mainwp-development-extension.php +``` + +## Key Components + +### Main Plugin File + +The `mainwp-development-extension.php` file is the entry point for your extension. It includes: + +- Plugin header information +- Extension registration with MainWP +- Basic setup and initialization + +```php +/** + * Plugin Name: MainWP Development Extension + * Plugin URI: https://mainwp.com + * Description: MainWP Development Extension example. + * Version: 4.0 + * Author: MainWP + * Author URI: https://mainwp.com + * Documentation URI: https://mainwp.com/help/ + */ + +// Registration with MainWP +add_filter('mainwp_getextensions', function($extensions) { + $extensions[] = array( + 'plugin' => __FILE__, + 'api' => 'MainWP_Development_Extension', + 'mainwp' => true, + 'callback' => array('MainWP_Development_Extension', 'get_instance'), + 'name' => 'Development Extension' + ); + return $extensions; +}); +``` + +### Main Class + +The `class-mainwp-development-extension.php` file contains the main class that initializes your extension and hooks into MainWP. Key features include: + +- Singleton pattern implementation +- Hooks and filters registration +- Class loading and initialization + +```php +class MainWP_Development_Extension { + // Singleton instance + private static $instance = null; + + // Get singleton instance + public static function get_instance() { + if (null === self::$instance) { + self::$instance = new self(); + } + return self::$instance; + } + + // Constructor + public function __construct() { + // Load classes + $this->includes(); + + // Register hooks + $this->setup_hooks(); + } + + // Load required files + private function includes() { + // Load classes and dependencies + } + + // Set up hooks and filters + private function setup_hooks() { + // Register actions and filters + } +} +``` + +### Admin Class + +The `class-mainwp-development-extension-admin.php` file handles the admin interface for your extension, including: + +- Admin menu registration +- Settings pages +- Admin UI elements + +```php +class MainWP_Development_Extension_Admin { + // Initialize admin functionality + public function init() { + // Add admin menu items + add_action('mainwp_admin_menu', array($this, 'init_menu')); + } + + // Register admin menu items + public function init_menu() { + // Add submenu pages + add_submenu_page( + 'mainwp_tab', + __('Development Extension', 'mainwp-development-extension'), + __('Development Extension', 'mainwp-development-extension'), + 'read', + 'DevelopmentExtension', + array($this, 'render_admin_page') + ); + } + + // Render admin page + public function render_admin_page() { + // Display admin interface + } +} +``` + +### Database Class + +The `class-mainwp-development-extension-db.php` file manages database operations for your extension, including: + +- Table creation and management +- Data storage and retrieval +- Database optimization + +```php +class MainWP_Development_Extension_DB { + // Database table name + private $table_name; + + // Constructor + public function __construct() { + global $wpdb; + $this->table_name = $wpdb->prefix . 'mainwp_development_extension'; + } + + // Create database tables + public function create_table() { + global $wpdb; + + // SQL for table creation + $sql = "CREATE TABLE IF NOT EXISTS $this->table_name ( + id int(11) NOT NULL AUTO_INCREMENT, + site_id int(11) NOT NULL, + data text NOT NULL, + created_at datetime NOT NULL, + PRIMARY KEY (id) + ) $wpdb->get_charset_collate();"; + + // Create table + require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); + dbDelta($sql); + } + + // Add data + public function add_data($site_id, $data) { + global $wpdb; + + // Insert data + $wpdb->insert( + $this->table_name, + array( + 'site_id' => $site_id, + 'data' => $data, + 'created_at' => current_time('mysql') + ), + array('%d', '%s', '%s') + ); + + return $wpdb->insert_id; + } + + // Get data + public function get_data($site_id) { + global $wpdb; + + // Retrieve data + return $wpdb->get_results( + $wpdb->prepare( + "SELECT * FROM $this->table_name WHERE site_id = %d", + $site_id + ) + ); + } +} +``` + +### Utility Class + +The `class-mainwp-development-extension-utility.php` file contains helper functions and utilities for your extension: + +```php +class MainWP_Development_Extension_Utility { + // Format data for display + public static function format_data($data) { + // Format and return data + } + + // Validate input + public static function validate_input($input) { + // Validate and sanitize input + } + + // Generate unique ID + public static function generate_id() { + // Generate and return unique ID + } +} +``` + +### AJAX Class + +The `class-mainwp-development-extension-ajax.php` file handles AJAX requests for your extension: + +```php +class MainWP_Development_Extension_Ajax { + // Constructor + public function __construct() { + // Register AJAX handlers + add_action('wp_ajax_mainwp_development_extension_action', array($this, 'ajax_action')); + } + + // Handle AJAX request + public function ajax_action() { + // Verify nonce + check_ajax_referer('mainwp_development_extension_nonce', 'security'); + + // Process request + $action = isset($_POST['action_type']) ? sanitize_text_field($_POST['action_type']) : ''; + + switch ($action) { + case 'get_data': + // Handle get_data action + break; + case 'save_data': + // Handle save_data action + break; + default: + // Handle unknown action + break; + } + + // Return response + wp_send_json_success(array('message' => 'Action completed')); + } +} +``` + +### Overview and Individual Classes + +The development extension includes classes for managing site overview and individual site pages: + +- `class-mainwp-development-extension-overview.php`: Handles the extension's functionality on the MainWP Overview page +- `class-mainwp-development-extension-individual.php`: Handles the extension's functionality on individual site pages + +These classes allow your extension to integrate with MainWP's site management interface. + +## Common Integration Points + +The development extension demonstrates several common integration points with MainWP: + +### Dashboard Menu Integration + +```php +add_action('mainwp_admin_menu', array($this, 'init_menu')); +``` + +### Site Actions + +```php +add_filter('mainwp_site_actions', array($this, 'site_actions'), 10, 2); +``` + +### AJAX Handlers + +```php +add_action('wp_ajax_mainwp_development_extension_action', array($this, 'ajax_action')); +``` + +### Dashboard Widgets + +```php +add_action('mainwp_dashboard_widgets', array($this, 'dashboard_widgets')); +``` + +### Site Sync Data + +```php +add_filter('mainwp_site_sync_data', array($this, 'sync_data'), 10, 2); +``` + +## Customizing the Development Extension + +When using the development extension as a template for your own extension, follow these steps: + +1. **Rename Files and Classes**: Change all file names and class names to match your extension name +2. **Update Namespaces**: Change the namespace from `MainWP\Dev` to your own namespace +3. **Modify Plugin Information**: Update the plugin header with your extension's details +4. **Customize Functionality**: Modify the classes to implement your extension's specific functionality +5. **Update Text Domain**: Change the text domain for internationalization +6. **Customize UI**: Modify the admin interface to match your extension's needs + +## Best Practices + +When working with the MainWP Development Extension, follow these best practices: + +### Maintain the Structure + +The development extension follows a well-organized structure that separates concerns and makes the code maintainable. Try to maintain this structure in your own extension. + +### Use Proper Namespacing + +Use proper PHP namespaces to avoid conflicts with other plugins and extensions: + +```php +namespace MyCompany\MyExtension; +``` + +### Follow WordPress Coding Standards + +Adhere to [WordPress Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/) for consistent, readable code. + +### Implement Proper Error Handling + +Include robust error handling to ensure your extension gracefully handles unexpected situations: + +```php +try { + // Attempt an operation +} catch (Exception $e) { + // Handle the error + error_log('MyExtension Error: ' . $e->getMessage()); + // Display user-friendly message +} +``` + +### Use Prepared SQL Statements + +Always use prepared statements for database queries to prevent SQL injection: + +```php +$wpdb->get_results( + $wpdb->prepare( + "SELECT * FROM $table_name WHERE site_id = %d", + $site_id + ) +); +``` + +### Internationalize Your Extension + +Make your extension translatable by using proper internationalization functions: + +```php +__('Text to translate', 'your-text-domain'); +esc_html__('Text to translate and escape', 'your-text-domain'); +``` + +## Advanced Customization + +### Adding Custom Database Tables + +If your extension requires custom database tables, modify the Database class: + +1. Define your table structure in the `create_table()` method +2. Add methods for CRUD operations on your tables +3. Call `create_table()` during plugin activation + +### Creating Custom Admin Pages + +To add custom admin pages: + +1. Register your pages in the `init_menu()` method of the Admin class +2. Create rendering methods for each page +3. Implement the necessary functionality for each page + +### Extending MainWP Dashboard Widgets + +To add widgets to the MainWP Dashboard: + +1. Hook into the `mainwp_dashboard_widgets` action +2. Register your widget with a unique ID +3. Create a callback function to render the widget content + +```php +public function dashboard_widgets() { + add_meta_box( + 'my_extension_widget', + __('My Extension Widget', 'my-extension'), + array($this, 'render_dashboard_widget'), + 'mainwp_dashboard', + 'normal', + 'default' + ); +} + +public function render_dashboard_widget() { + // Widget content +} +``` + +## Troubleshooting Common Issues + +### Class Not Found Errors + +If you encounter "Class not found" errors: + +1. Check that all file paths in the `includes()` method are correct +2. Ensure you've updated all class references when renaming +3. Verify that your autoloader (if used) is properly configured + +### Database Errors + +For database-related issues: + +1. Check that your table creation SQL is valid +2. Ensure you're using proper data types and prepared statements +3. Verify that your database prefix is correct + +### Integration Issues + +If your extension doesn't integrate properly with MainWP: + +1. Verify that you've registered your extension correctly with the `mainwp_getextensions` filter +2. Check that your callback function returns a valid instance +3. Ensure you're hooking into the correct MainWP actions and filters + +## Next Steps + +Now that you understand the MainWP Development Extension, you can: + +- [Create a Basic MainWP Extension](create-basic-extension.md) using this template +- Learn about [Using MainWP Actions & Filters](actions-filters.md) for deeper integration +- Explore [Building Admin Interfaces](admin-interfaces.md) for your extension + +## Related Resources + +- [MainWP Development Extension on GitHub](https://github.com/mainwp/mainwp-development-extension) +- [MainWP Dashboard API Documentation](../../source-code/dashboard/) +- [MainWP Dashboard Hooks](../../mainwp-hooks/dashboard/) diff --git a/guides/how-to/packaging-distribution.md b/guides/how-to/packaging-distribution.md new file mode 100644 index 0000000..72fc803 --- /dev/null +++ b/guides/how-to/packaging-distribution.md @@ -0,0 +1,23 @@ +# Packaging and Distributing MainWP Extensions + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for packaging and distributing MainWP extensions, including: + +- Preparing your extension for distribution +- Creating a readme.txt file +- Adding screenshots and assets +- Version numbering and changelog management +- Distribution options (MainWP Extensions Directory, your own website, etc.) +- Licensing considerations +- Update mechanisms +- Marketing and promotion strategies +- Supporting your extension + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic MainWP Extension](create-basic-extension.md) +- [Extension Development Lifecycle](../concepts/extension-lifecycle.md) +- [Writing Clean & Maintainable Code](../best-practices/coding-standards.md) diff --git a/guides/how-to/setup-environment.md b/guides/how-to/setup-environment.md new file mode 100644 index 0000000..4146797 --- /dev/null +++ b/guides/how-to/setup-environment.md @@ -0,0 +1,227 @@ +# Setting Up a MainWP Development Environment + +This guide walks you through setting up a development environment for MainWP extension development. A proper development environment will make your development process more efficient and help you avoid common issues. + +## Quick Start for Experienced Developers + +1. **Install Laragon** (or similar local development environment) +2. **Set up WordPress** (latest version) +3. **Install and configure MainWP Dashboard plugin** +4. **Add at least one test child site** (local or remote) +5. **Clone the MainWP Development Extension**: + ```bash + git clone https://github.com/mainwp/mainwp-development-extension.git + ``` +6. **Start developing your extension** + +## Why Use a Local Development Environment? + +Developing MainWP extensions in a local environment offers several advantages: + +- **Speed**: Local development is faster than working on a remote server +- **Safety**: You can experiment without affecting live sites +- **Offline Work**: You can work without an internet connection +- **Version Control**: Easier integration with Git or other version control systems +- **Debugging**: Better access to logs and debugging tools + +## Recommended Development Tools + +### Local Development Environment + +We recommend using [Laragon](https://laragon.org/) for MainWP extension development because it: + +- Is easy to set up and use +- Includes all necessary components (Apache, MySQL, PHP) +- Supports multiple PHP versions +- Includes helpful developer tools +- Makes it easy to create and manage multiple local sites + +Other options include: +- [LocalWP](https://localwp.com/) +- [XAMPP](https://www.apachefriends.org/) +- [MAMP](https://www.mamp.info/) +- [Docker](https://www.docker.com/) with [WordPress containers](https://hub.docker.com/_/wordpress/) + +### Code Editor + +A good code editor will make your development more efficient. We recommend: + +- [Visual Studio Code](https://code.visualstudio.com/) with PHP extensions +- [PhpStorm](https://www.jetbrains.com/phpstorm/) +- [Sublime Text](https://www.sublimetext.com/) + +### Version Control + +Using Git for version control is highly recommended: + +- [Git](https://git-scm.com/) +- [GitHub Desktop](https://desktop.github.com/) (for a user-friendly interface) +- [GitKraken](https://www.gitkraken.com/) + +### Browser Developer Tools + +Modern browsers include developer tools that are essential for debugging: + +- [Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools) +- [Firefox Developer Tools](https://developer.mozilla.org/en-US/docs/Tools) + +## Step-by-Step Setup Guide + +### 1. Install Laragon + +1. Download Laragon from [laragon.org](https://laragon.org/download/) +2. Install Laragon following the installation wizard +3. Launch Laragon + +### 2. Create a WordPress Installation + +1. In Laragon, click "Menu" > "Quick app" > "WordPress" +2. Enter a name for your site (e.g., "mainwp-dev") +3. Laragon will create a new WordPress installation +4. Once complete, click the link to open your new WordPress site +5. Complete the WordPress installation process + +### 3. Install MainWP Dashboard + +1. Log in to your WordPress admin dashboard +2. Go to "Plugins" > "Add New" +3. Search for "MainWP Dashboard" +4. Click "Install Now" and then "Activate" +5. Follow the MainWP setup wizard to configure the dashboard + +### 4. Set Up Test Child Sites + +For a complete development environment, you'll need at least one child site to test your extension with. + +#### Option 1: Create Local Child Sites + +1. In Laragon, create additional WordPress installations for child sites +2. Install and activate the MainWP Child plugin on each site +3. Connect these sites to your MainWP Dashboard + +#### Option 2: Use Existing Remote Sites + +If you have existing WordPress sites, you can use them as test child sites: + +1. Install and activate the MainWP Child plugin on each site +2. Connect these sites to your MainWP Dashboard + +### 5. Clone the MainWP Development Extension + +1. Open a terminal or command prompt +2. Navigate to your WordPress plugins directory: + ```bash + cd path/to/laragon/www/mainwp-dev/wp-content/plugins + ``` +3. Clone the MainWP Development Extension: + ```bash + git clone https://github.com/mainwp/mainwp-development-extension.git + ``` +4. Activate the extension in your WordPress admin dashboard + +### 6. Configure PHP Development Settings + +For effective development and debugging, configure PHP with appropriate settings: + +1. In Laragon, click "Menu" > "PHP" > "php.ini" +2. Ensure the following settings are enabled: + ```ini + display_errors = On + error_reporting = E_ALL + ``` +3. Save the file and restart Laragon + +### 7. Install Additional Development Tools + +#### Composer + +[Composer](https://getcomposer.org/) is a dependency manager for PHP that makes it easy to manage libraries and dependencies: + +1. Laragon includes Composer by default +2. To use it, open Laragon Terminal and run: + ```bash + composer --version + ``` + +#### WP-CLI + +[WP-CLI](https://wp-cli.org/) is a command-line tool for managing WordPress: + +1. Laragon includes WP-CLI by default +2. To use it, open Laragon Terminal and run: + ```bash + wp --version + ``` + +#### Query Monitor + +[Query Monitor](https://wordpress.org/plugins/query-monitor/) is a debugging plugin for WordPress: + +1. In your WordPress admin, go to "Plugins" > "Add New" +2. Search for "Query Monitor" +3. Install and activate the plugin + +## Development Workflow + +Once your environment is set up, here's a recommended workflow for developing MainWP extensions: + +1. **Plan your extension**: Define its purpose, features, and how it will integrate with MainWP +2. **Create a new extension** based on the MainWP Development Extension template +3. **Implement features** incrementally, testing each one as you go +4. **Test thoroughly** with different configurations and child sites +5. **Debug and refine** your code +6. **Package for distribution** when ready + +## Debugging Tips + +### WordPress Debugging + +Enable WordPress debugging by adding these lines to your `wp-config.php` file: + +```php +define('WP_DEBUG', true); +define('WP_DEBUG_LOG', true); +define('WP_DEBUG_DISPLAY', true); +``` + +Debug logs will be saved to `wp-content/debug.log`. + +### MainWP Specific Debugging + +MainWP includes several debugging options: + +1. Go to "MainWP" > "Settings" > "Advanced Options" +2. Enable "Development Mode" for additional debugging information +3. Use the "MainWP Tools" section for diagnostics + +## Common Issues and Solutions + +### Connection Issues Between Dashboard and Child Sites + +If you're having trouble connecting your MainWP Dashboard to child sites: + +1. Ensure both sites are accessible from the internet (or use a tool like [ngrok](https://ngrok.com/) for local sites) +2. Check that the MainWP Child plugin is properly installed and activated +3. Verify that your server meets the [MainWP requirements](https://kb.mainwp.com/docs/mainwp-server-requirements/) +4. Try using the Connection Recovery process in MainWP Dashboard + +### PHP Version Compatibility + +MainWP requires PHP 7.0 or higher. To change PHP versions in Laragon: + +1. Click "Menu" > "PHP" +2. Select the desired PHP version +3. Restart Laragon + +## Next Steps + +Now that your development environment is set up, you're ready to start creating your MainWP extension: + +- [Creating a Basic MainWP Extension](create-basic-extension.md) +- [Understanding the MainWP Development Extension](mainwp-development-extension.md) + +## Related Resources + +- [MainWP Knowledge Base](https://kb.mainwp.com/) +- [WordPress Developer Resources](https://developer.wordpress.org/) +- [PHP Documentation](https://www.php.net/docs.php) diff --git a/guides/how-to/third-party-apis.md b/guides/how-to/third-party-apis.md new file mode 100644 index 0000000..de75f1d --- /dev/null +++ b/guides/how-to/third-party-apis.md @@ -0,0 +1,24 @@ +# Working with Third-Party APIs in MainWP Integrations + +*This guide is a placeholder and will be expanded in the future.* + +This guide will cover best practices for working with third-party APIs in MainWP integrations, including: + +- Designing a robust API client +- Authentication methods (API keys, OAuth, etc.) +- Error handling and retry strategies +- Rate limiting considerations +- Caching API responses +- Handling API versioning +- Synchronizing data between MainWP and third-party services +- Security considerations +- Testing API integrations +- Debugging API issues + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic Integration](create-basic-integration.md) +- [API Integration Best Practices](../best-practices/api-integration.md) +- [Using MainWP Actions & Filters](actions-filters.md) diff --git a/guides/index.md b/guides/index.md new file mode 100644 index 0000000..20ae64e --- /dev/null +++ b/guides/index.md @@ -0,0 +1,106 @@ +# MainWP Developer Guides + +Welcome to the MainWP Developer Guides! This documentation is designed to help you create add-ons for the MainWP platform, whether you're building a standalone extension or integrating with a third-party service. + +## Understanding MainWP Add-on Types + +MainWP uses specific terminology to distinguish between different types of add-ons: + +- **Add-on**: The umbrella term for all MainWP plugins that extend functionality +- **Extension**: An add-on that works WITHOUT requiring a third-party plugin or API +- **Integration**: An add-on that works WITH a third-party plugin or API + +## Which Type Should You Build? + +Use this decision tree to determine whether you should build an Extension or an Integration: + +```mermaid +flowchart TD + A[Do you need to connect with\na third-party service or plugin?] -->|Yes| B[Integration] + A -->|No| C[Extension] + B --> D[Examples: WooCommerce Integration,\nGoogle Analytics Integration] + C --> E[Examples: Advanced Uptime Monitor,\nAdvanced Reports Extension] +``` + +## Who These Guides Are For + +These guides are intended for developers who want to: + +- Create custom extensions for MainWP (standalone add-ons) +- Build integrations with third-party services or plugins +- Customize MainWP functionality for specific needs +- Understand the MainWP architecture and development patterns + +Whether you're new to MainWP development or an experienced developer looking for specific information, you'll find resources tailored to your needs. We've optimized these guides for part-time developers who want to create MainWP add-ons efficiently. + +## Guide Categories + +### [Getting Started](getting-started/) + +Essential information for beginning your MainWP development journey: + +- [Setting Up a Development Environment](how-to/setup-environment.md) +- [Creating a Basic Extension](how-to/create-basic-extension.md) (standalone add-on) +- [Creating a Basic Integration](how-to/create-basic-integration.md) (third-party add-on) +- [Understanding the MainWP Development Extension](how-to/mainwp-development-extension.md) +- [Add-on Development Lifecycle](concepts/extension-lifecycle.md) + +### [Core Development Topics](core-topics/) + +Detailed guides for key development areas: + +- [Building Admin Interfaces](how-to/admin-interfaces.md) +- [Data Storage and Retrieval](how-to/data-storage.md) +- [Using MainWP Actions & Filters](how-to/actions-filters.md) +- [Debugging Add-ons](how-to/debugging.md) +- [Packaging and Distribution](how-to/packaging-distribution.md) +- [Working with Third-Party APIs](how-to/third-party-apis.md) (for Integrations) + +### [Best Practices](best-practices/) + +Recommendations for creating high-quality MainWP add-ons: + +- [Writing Clean & Maintainable Code](best-practices/coding-standards.md) +- [Security Considerations](best-practices/security.md) +- [Performance Optimization](best-practices/performance.md) +- [Documentation Standards](best-practices/documentation.md) +- [API Integration Best Practices](best-practices/api-integration.md) + +### [Reference](reference/) + +Technical reference material: + +- [Common Hooks Reference](reference/common-hooks.md) +- [Add-on API Reference](reference/extension-api.md) +- [MainWP Dashboard Integration Points](reference/dashboard-integration.md) +- [Child Site Communication](reference/child-site-communication.md) +- [Third-Party API Integration Patterns](reference/api-integration-patterns.md) + +## Additional Resources + +- [MainWP Dashboard API Documentation](../source-code/dashboard/) +- [MainWP Child API Documentation](../source-code/child/) +- [MainWP Dashboard Hooks](../mainwp-hooks/dashboard/) +- [MainWP Child Hooks](../mainwp-hooks/child/) +- [MainWP Development Extension on GitHub](https://github.com/mainwp/mainwp-development-extension) +- [MainWP API Client PHP on GitHub](https://github.com/mainwp/mainwp-api-client-php) + +## How to Use These Guides + +Each guide is structured to provide information at different levels of detail: + +- **Quick Start** sections provide essential information for experienced developers +- **Detailed Explanations** help new developers understand concepts thoroughly +- **Code Examples** demonstrate practical implementation with copy-paste snippets +- **Reference Links** connect to API documentation and source code +- **Troubleshooting Tips** help you overcome common challenges + +We've designed these guides with part-time developers in mind. If you're creating a MainWP add-on as a side project, you'll find: + +- Clear, concise guides that respect your time constraints +- Separate pathways for Extension and Integration development +- Ready-to-use code snippets that you can adapt for your needs +- Practical implementation guidance focused on results +- Common pitfalls and their solutions to avoid getting stuck + +Use the navigation to find the specific information you need, or follow the guides sequentially for a comprehensive learning path. diff --git a/guides/reference/api-integration-patterns.md b/guides/reference/api-integration-patterns.md new file mode 100644 index 0000000..df8612f --- /dev/null +++ b/guides/reference/api-integration-patterns.md @@ -0,0 +1,31 @@ +# Third-Party API Integration Patterns + +*This guide is a placeholder and will be expanded in the future.* + +This guide will provide a reference for common patterns and approaches when integrating third-party APIs with MainWP, including: + +- Common API integration architectures +- Authentication patterns (API keys, OAuth flows, JWT) +- Data synchronization patterns +- Webhook handling +- Polling vs. push notifications +- Error handling strategies +- Caching strategies +- Rate limiting management +- Pagination handling +- Batch processing + +Each pattern will include: +- Description and purpose +- Implementation examples +- Advantages and disadvantages +- Best practices +- Common pitfalls + +Check back soon for the complete guide. + +## Related Resources + +- [Creating a Basic Integration](../how-to/create-basic-integration.md) +- [Working with Third-Party APIs](../how-to/third-party-apis.md) +- [API Integration Best Practices](../best-practices/api-integration.md) diff --git a/guides/reference/common-hooks.md b/guides/reference/common-hooks.md new file mode 100644 index 0000000..9103923 --- /dev/null +++ b/guides/reference/common-hooks.md @@ -0,0 +1,19 @@ +# Common Hooks Reference + +*This guide is a placeholder and will be expanded in the future.* + +This guide will provide a reference for the most commonly used MainWP hooks (actions and filters), organized by functionality. It will include: + +- Hook name and type (action or filter) +- Description and purpose +- Parameters +- Example usage +- Related hooks + +Check back soon for the complete guide. + +## Related Resources + +- [MainWP Dashboard Hooks](../../mainwp-hooks/dashboard/) +- [MainWP Child Hooks](../../mainwp-hooks/child/) +- [Using MainWP Actions & Filters](../how-to/actions-filters.md) diff --git a/index.html b/index.html index 9b32275..0a03921 100644 --- a/index.html +++ b/index.html @@ -141,28 +141,28 @@

Developer Resources

-
+
+

Developer Guides

+

Comprehensive guides for MainWP extension development.

+ View Guides +
+ +

Getting Started

-

Guides for developers new to MainWP extension development.

- Coming Soon +

Learn how to set up your development environment and create your first extension.

+ Get Started
-
-

Code Examples

-

Practical code examples for common MainWP development tasks.

- Coming Soon -
- -
-

Best Practices

-

Recommended approaches and patterns for MainWP development.

- Coming Soon -
- -
+

Extension Development

-

Comprehensive guide to building MainWP extensions.

- Coming Soon +

Detailed guides for creating and customizing MainWP extensions.

+ Learn More +
+ +
+

Actions & Filters

+

Learn how to use MainWP hooks to integrate your extensions.

+ View Guide
diff --git a/mainwp-hooks-old/child/actions/backups-restoration/index.md b/mainwp-hooks-old/child/actions/backups-restoration/index.md new file mode 100644 index 0000000..1c3c57e --- /dev/null +++ b/mainwp-hooks-old/child/actions/backups-restoration/index.md @@ -0,0 +1,477 @@ +# Backups & Restoration Actions + +Hooks for backup creation, management, and restoration processes. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_reports_backwpup_backup`](#mainwp_reports_backwpup_backup) - Create BackWPup MainWP Client Reports log. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_reports_backupwordpress_backup`](#mainwp_reports_backupwordpress_backup) - Add BackUpWordPress data to the reports database table. +- [`mainwp_reports_wptimecapsule_backup`](#mainwp_reports_wptimecapsule_backup) - Add WP Time Capsule data to the reports database table. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Backupbuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_backup`](#mainwp_backup) - Save backup stream. +- [`{$event}`](#event) - Backup now. +- [`itsec_has_external_backup`](#itsec_has_external_backup) - Check if backup exists. +- [`itsec_scheduled_external_backup`](#itsec_scheduled_external_backup) - Check if there is a shedualed backup. +- [`is_any_staging_process_going_on`](#is_any_staging_process_going_on) - Get backup process progress. +- [`get_bbu_note_view`](#get_bbu_note_view) - Get backup process progress. +- [`staging_status_wptc`](#staging_status_wptc) - Get backup process progress. +- [`is_restore_to_staging_wptc`](#is_restore_to_staging_wptc) - Start the restore process. +- [`get_restore_to_staging_request_wptc`](#get_restore_to_staging_request_wptc) - Start the restore process. +- [`check_requirements_auto_backup_wptc`](#check_requirements_auto_backup_wptc) - Save the WP Time Capsule settings - backups section. +- [`updraft_backupnow_options`](#updraft_backupnow_options) - *Arguments* +- [`updraftplus_accept_archivename`](#updraftplus_accept_archivename) - Restore all downloaded backups from history. +- [`updraftplus_importforeign_backupable_plus_db`](#updraftplus_importforeign_backupable_plus_db) - Restore all downloaded backups from history. +- [`updraftplus_https_to_http_additional_warning`](#updraftplus_https_to_http_additional_warning) - *Arguments* +- [`updraftplus_http_to_https_additional_warning`](#updraftplus_http_to_https_additional_warning) - *Arguments* +- [`updraftplus_migrator_addon_link`](#updraftplus_migrator_addon_link) - *Arguments* +- [`updraftplus_com_link`](#updraftplus_com_link) - *Arguments* +- [`updraftplus_accept_archivename`](#updraftplus_accept_archivename) - Build existing backups table. +- [`updraftplus_showbackup_date`](#updraftplus_showbackup_date) - Date label. +- [`updraftplus_msg_unfinishedbackup`](#updraftplus_msg_unfinishedbackup) - *Arguments* +- [`updraftplus_dirlist_sanitize_text_field()`](#updraftplus_dirlist_sanitize_text_field()) - Check disk space used. +- [`updraftplus_print_active_job_continue`](#updraftplus_print_active_job_continue) - *Arguments* +- [`wpvivid_get_mainwp_sync_data`](#wpvivid_get_mainwp_sync_data) - Sync other data from $data[] and merge with $information[] + +## Hook Details + +### `mainwp_reports_backwpup_backup` + +*Create BackWPup MainWP Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backup_type` | | +`$backup_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 320](class/class-mainwp-child-back-wp-up.php#L320-L409) + + + +### `mainwp_child_reports_log` + +*Add support for the reporting system.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backupwordpress'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-wordpress.php](class/class-mainwp-child-back-up-wordpress.php), [line 303](class/class-mainwp-child-back-up-wordpress.php#L303-L313) + + + +### `mainwp_reports_backupwordpress_backup` + +*Add BackUpWordPress data to the reports database table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$destination` | | +`$message` | | +`'finished'` | | +`$backup_type` | | +`$date` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-wordpress.php](class/class-mainwp-child-back-up-wordpress.php), [line 319](class/class-mainwp-child-back-up-wordpress.php#L319-L358) + + + +### `mainwp_reports_wptimecapsule_backup` + +*Add WP Time Capsule data to the reports database table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backup_type` | | +`$backup_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1014](class/class-mainwp-child-timecapsule.php#L1014-L1068) + + + +### `mainwp_child_reports_log` + +*Backupbuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backupbuddy'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 163](class/class-mainwp-child-back-up-buddy.php#L163-L170) + + + +### `mainwp_reports_backupbuddy_backup` + +*Create BackupBuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backupType` | | +`$finish_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 176](class/class-mainwp-child-back-up-buddy.php#L176-L267) + + + +### `mainwp_reports_backupbuddy_backup` + +*Create BackupBuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backupType` | | +`$finish_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 176](class/class-mainwp-child-back-up-buddy.php#L176-L291) + + + +### `mainwp_backup` + +*Save backup stream.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$destination` | | +`$message` | | +`$size` | | +`$status` | | +`$type` | | + +Source: [../sources/mainwp-child/class/class-mainwp-client-report.php](class/class-mainwp-client-report.php), [line 195](class/class-mainwp-client-report.php#L195-L208) + + + +### `{$event}` + +*Backup now.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`apply_filters($options, array())` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1101](class/class-mainwp-child-updraft-plus-backups.php#L1101-L1136) + + + +### `itsec_has_external_backup` + +*Check if backup exists.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$has_backup` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-ithemes-security.php](class/class-mainwp-child-ithemes-security.php), [line 680](class/class-mainwp-child-ithemes-security.php#L680-L688) + + + +### `itsec_scheduled_external_backup` + +*Check if there is a shedualed backup.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sceduled_backup` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-ithemes-security.php](class/class-mainwp-child-ithemes-security.php), [line 691](class/class-mainwp-child-ithemes-security.php#L691-L699) + + + +### `is_any_staging_process_going_on` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L530) + + + +### `get_bbu_note_view` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L549) + + + +### `staging_status_wptc` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L550) + + + +### `is_restore_to_staging_wptc` + +*Start the restore process.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 615](class/class-mainwp-child-timecapsule.php#L615-L622) + + + +### `get_restore_to_staging_request_wptc` + +*Start the restore process.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 615](class/class-mainwp-child-timecapsule.php#L615-L623) + + + +### `check_requirements_auto_backup_wptc` + +*Save the WP Time Capsule settings - backups section.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1674](class/class-mainwp-child-timecapsule.php#L1674-L1699) + + + +### `updraft_backupnow_options` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$options` | | +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1136](class/class-mainwp-child-updraft-plus-backups.php#L1136-L1136) + + + +### `updraftplus_accept_archivename` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L1980) + + + +### `updraftplus_importforeign_backupable_plus_db` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($backupable_plus_db, array($foreign_known[$backups[$timestamp]['meta_foreign']], &$mess, &$warn, &$err))` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L1996) + + + +### `updraftplus_https_to_http_additional_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('This restoration will work if you still have an SSL certificate (i.e. can use https) to access the site. Otherwise, you will want to use %s to search/replace the site address so that the site can be visited without https.', 'updraftplus'), '' . esc_html__('the migrator add-on', 'updraftplus') . '')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2634](class/class-mainwp-child-updraft-plus-backups.php#L2634-L2634) + + + +### `updraftplus_http_to_https_additional_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('As long as your web hosting allows http (i.e. non-SSL access) or will forward requests to https (which is almost always the case), this is no problem. If that is not yet set up, then you should set it up, or use %s so that the non-https links are automatically replaced.', 'updraftplus'), apply_filters('' . esc_html__('the migrator add-on', 'updraftplus') . ''))` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2636](class/class-mainwp-child-updraft-plus-backups.php#L2636-L2636) + + + +### `updraftplus_migrator_addon_link` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('the migrator add-on', 'updraftplus') . ''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2636](class/class-mainwp-child-updraft-plus-backups.php#L2636-L2636) + + + +### `updraftplus_com_link` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'https://updraftplus.com/faqs/tell-me-more-about-the-search-and-replace-site-location-in-the-database-option/'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2648](class/class-mainwp-child-updraft-plus-backups.php#L2648-L2648) + + + +### `updraftplus_accept_archivename` + +*Build existing backups table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3006](class/class-mainwp-child-updraft-plus-backups.php#L3006-L3043) + + + +### `updraftplus_showbackup_date` + +*Date label.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pretty_date` | `string` | Pretty date. +`$backup` | `string` | Type of backup. +`$jobdata` | `array` | Job data. +`(int) $key` | | +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3192](class/class-mainwp-child-updraft-plus-backups.php#L3192-L3204) + + + +### `updraftplus_msg_unfinishedbackup` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'
' . esc_html__('(Not finished)', 'updraftplus') . ''` | | +`$jobdata` | | +`$nonce` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3206](class/class-mainwp-child-updraft-plus-backups.php#L3206-L3206) + + + +### `updraftplus_dirlist_sanitize_text_field()` + +*Check disk space used.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$basedir` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3499](class/class-mainwp-child-updraft-plus-backups.php#L3499-L3521) + + + +### `updraftplus_print_active_job_continue` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$is_oneshot` | | +`$next_resumption` | | +`$jobdata` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3736](class/class-mainwp-child-updraft-plus-backups.php#L3736-L3736) + + + +### `wpvivid_get_mainwp_sync_data` + +*Sync other data from $data[] and merge with $information[]* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | Stores the returned information. + +Source: [../sources/mainwp-child/class/class-mainwp-child-wpvivid-backuprestore.php](class/class-mainwp-child-wpvivid-backuprestore.php), [line 91](class/class-mainwp-child-wpvivid-backuprestore.php#L91-L107) + + + diff --git a/mainwp-hooks-old/child/actions/connection-authentication/index.md b/mainwp-hooks-old/child/actions/connection-authentication/index.md new file mode 100644 index 0000000..d2cd9a4 --- /dev/null +++ b/mainwp-hooks-old/child/actions/connection-authentication/index.md @@ -0,0 +1,114 @@ +# Connection & Authentication Actions + +Hooks for establishing and managing connections between Dashboard and Child sites. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`wp_logout`](#wp_logout) - Method parse_login_required() +- [`wp_logout`](#wp_logout) - Method parse_login_required() +- [`wp_logout`](#wp_logout) - Method login() +- [`wp_login`](#wp_login) - Method login() +- [`mainwp_child_authed_download_params`](#mainwp_child_authed_download_params) - Method where_authed_redirect() +- [`https_local_ssl_verify`](#https_local_ssl_verify) - *Arguments* +- [`mainwp_create_post_custom_author`](#mainwp_create_post_custom_author) - Update post data. + +## Hook Details + +### `wp_logout` + +*Method parse_login_required()* + +Check if the login process is required. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 652](class/class-mainwp-connect.php#L652-L680) + + + +### `wp_logout` + +*Method parse_login_required()* + +Check if the login process is required. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 652](class/class-mainwp-connect.php#L652-L710) + + + +### `wp_logout` + +*Method login()* + +The login process handler. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1021](class/class-mainwp-connect.php#L1021-L1058) + + + +### `wp_login` + +*Method login()* + +The login process handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user->user_login` | | + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1021](class/class-mainwp-connect.php#L1021-L1066) + + + +### `mainwp_child_authed_download_params` + +*Method where_authed_redirect()* + +Safe redirect to wanted location. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$auth_dl` | | + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 821](class/class-mainwp-connect.php#L821-L847) + + + +### `https_local_ssl_verify` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information-base.php](class/class-mainwp-child-server-information-base.php), [line 702](class/class-mainwp-child-server-information-base.php#L702-L702) + + + +### `mainwp_create_post_custom_author` + +*Update post data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$new_post_id` | `string` | New post ID. + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 968](class/class-mainwp-child-posts.php#L968-L1012) + + + diff --git a/mainwp-hooks-old/child/actions/content-handling/index.md b/mainwp-hooks-old/child/actions/content-handling/index.md new file mode 100644 index 0000000..95656a9 --- /dev/null +++ b/mainwp-hooks-old/child/actions/content-handling/index.md @@ -0,0 +1,174 @@ +# Content Handling Actions + +Hooks for managing content on Child sites. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`wphb_clear_page_cache`](#wphb_clear_page_cache) - Purge WP Hummingbird cache. +- [`run_gpi`](#run_gpi) - Method do_check_pages() +- [`mainwp_child_after_newpost`](#mainwp_child_after_newpost) - Build New Post. +- [`comment_email`](#comment_email) - Get recent comments. +- [`mainwp_child_extra_execution`](#mainwp_child_extra_execution) - Filter 'mainwp_child_extra_execution' +- [`wpvivid_handle_mainwp_action`](#wpvivid_handle_mainwp_action) - Post MainWP data. +- [`mainwp-child-init-subpages`](#mainwp-child-init-subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp_child_init_subpages`](#mainwp_child_init_subpages) - Initiate MainWP Child Plugin pages. +- [`error_log_mainwp_logs`](#error_log_mainwp_logs) - Render the error log content. +- [`error_log_mainwp_lines`](#error_log_mainwp_lines) - Render the error log content. + +## Hook Details + +### `wphb_clear_page_cache` + +*Purge WP Hummingbird cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 741](class/class-mainwp-child-cache-purge.php#L741-L756) + + + +### `run_gpi` + +*Method do_check_pages()* + +Check or force re-check pages page speed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forceRecheck` | `bool` | If true, force recheck process, if false, just regular check. + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 429](class/class-mainwp-child-pagespeed.php#L429-L445) + + + +### `mainwp_child_after_newpost` + +*Build New Post.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$result` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 373](class/class-mainwp-child-posts.php#L373-L405) + + + +### `comment_email` + +*Get recent comments.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$comment->comment_author_email` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-comments.php](class/class-mainwp-child-comments.php), [line 200](class/class-mainwp-child-comments.php#L200-L229) + + + +### `mainwp_child_extra_execution` + +*Filter 'mainwp_child_extra_execution'* + +Additional functions to execute through the filter. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | An array containing the synchronization information. +`$post` | `mixed` | Contains the POST request. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-callable.php](class/class-mainwp-child-callable.php), [line 745](class/class-mainwp-child-callable.php#L745-L755) + + + +### `wpvivid_handle_mainwp_action` + +*Post MainWP data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$data` | `string` | Data to post. + +Source: [../sources/mainwp-child/class/class-mainwp-child-wpvivid-backuprestore.php](class/class-mainwp-child-wpvivid-backuprestore.php), [line 225](class/class-mainwp-child-wpvivid-backuprestore.php#L225-L239) + + + +### `mainwp-child-init-subpages` + +*Initiate MainWP Child Plugin pages.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.1'` | | +`'mainwp_child_init_subpages'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 230](class/class-mainwp-pages.php#L230-L246) + + + +### `mainwp_child_init_subpages` + +*Initiate MainWP Child Plugin pages.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$all_subpages` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 230](class/class-mainwp-pages.php#L230-L247) + + + +### `error_log_mainwp_logs` + +*Render the error log content.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($error_log)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information.php](class/class-mainwp-child-server-information.php), [line 1089](class/class-mainwp-child-server-information.php#L1089-L1107) + + + +### `error_log_mainwp_lines` + +*Render the error log content.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information.php](class/class-mainwp-child-server-information.php), [line 1089](class/class-mainwp-child-server-information.php#L1089-L1108) + + + diff --git a/mainwp-hooks-old/child/actions/index.md b/mainwp-hooks-old/child/actions/index.md new file mode 100644 index 0000000..e1c5db6 --- /dev/null +++ b/mainwp-hooks-old/child/actions/index.md @@ -0,0 +1,155 @@ +# MainWP Child Actions + +This section provides documentation for all action hooks available in the MainWP Child plugin. + +## Categories + +- [Connection & Authentication](connection-authentication/index.md) (7 hooks) +- [Updates & Maintenance](updates-maintenance/index.md) (38 hooks) +- [Content Handling](content-handling/index.md) (10 hooks) +- [User Operations](user-operations/index.md) (9 hooks) +- [Backups & Restoration](backups-restoration/index.md) (30 hooks) +- [Security & Monitoring](security-monitoring/index.md) (16 hooks) +- [System & Settings](system-settings/index.md) (5 hooks) +- [Miscellaneous](misc/index.md) (23 hooks) + +## All Actions (Alphabetical) + +- [`active_plugins`](updates-maintenance/index.md#active_plugins) - *Arguments* +- [`active_plugins`](updates-maintenance/index.md#active_plugins) - *Arguments* +- [`admin_enqueue_scripts`](security-monitoring/index.md#admin_enqueue_scripts) - Method is_asset_in_admin() +- [`check_passwords`](security-monitoring/index.md#check_passwords) - Edit existing user. +- [`check_requirements_auto_backup_wptc`](backups-restoration/index.md#check_requirements_auto_backup_wptc) - Save the WP Time Capsule settings - backups section. +- [`comment_email`](content-handling/index.md#comment_email) - Get recent comments. +- [`deprecated_hook_run`](system-settings/index.md#deprecated_hook_run) - Support old WP version 4.0. +- [`error_log_mainwp_lines`](content-handling/index.md#error_log_mainwp_lines) - Render the error log content. +- [`error_log_mainwp_logs`](content-handling/index.md#error_log_mainwp_logs) - Render the error log content. +- [`get_backup_before_update_setting_wptc`](updates-maintenance/index.md#get_backup_before_update_setting_wptc) - Get backup process progress. +- [`get_bbu_note_view`](backups-restoration/index.md#get_bbu_note_view) - Get backup process progress. +- [`get_restore_to_staging_request_wptc`](backups-restoration/index.md#get_restore_to_staging_request_wptc) - Start the restore process. +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method save_settings() +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method do_check_pages() +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method get_sync_data() +- [`https_local_ssl_verify`](connection-authentication/index.md#https_local_ssl_verify) - *Arguments* +- [`illegal_user_logins`](user-operations/index.md#illegal_user_logins) - Edit existing user. +- [`is_any_staging_process_going_on`](backups-restoration/index.md#is_any_staging_process_going_on) - Get backup process progress. +- [`is_restore_to_staging_wptc`](backups-restoration/index.md#is_restore_to_staging_wptc) - Start the restore process. +- [`itsec_has_external_backup`](backups-restoration/index.md#itsec_has_external_backup) - Check if backup exists. +- [`itsec_scheduled_external_backup`](backups-restoration/index.md#itsec_scheduled_external_backup) - Check if there is a shedualed backup. +- [`mainwp-child-get-total-size`](updates-maintenance/index.md#mainwp-child-get-total-size) - Get total size of Child Site installation. +- [`mainwp-child-init-subpages`](content-handling/index.md#mainwp-child-init-subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp-site-sync-others-data`](misc/index.md#mainwp-site-sync-others-data) - Get other stats data. +- [`mainwp_backup`](backups-restoration/index.md#mainwp_backup) - Save backup stream. +- [`mainwp_before_post_update`](updates-maintenance/index.md#mainwp_before_post_update) - Hook: `mainwp_before_post_update` +- [`mainwp_branding_role_cap_enable_contact_form`](user-operations/index.md#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_branding_role_cap_enable_contact_form`](user-operations/index.md#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_child_actions_save_data`](user-operations/index.md#mainwp_child_actions_save_data) - Log handler. +- [`mainwp_child_actions_saved_number_of_days`](security-monitoring/index.md#mainwp_child_actions_saved_number_of_days) - Method to check actions data. +- [`mainwp_child_after_newpost`](content-handling/index.md#mainwp_child_after_newpost) - Build New Post. +- [`mainwp_child_after_update`](updates-maintenance/index.md#mainwp_child_after_update) - Method to_update_plugins() +- [`mainwp_child_after_update`](updates-maintenance/index.md#mainwp_child_after_update) - Method to_upgrade_themes() +- [`mainwp_child_authed_download_params`](connection-authentication/index.md#mainwp_child_authed_download_params) - Method where_authed_redirect() +- [`mainwp_child_before_send_close_message`](misc/index.md#mainwp_child_before_send_close_message) - Action: process before send close message. +- [`mainwp_child_before_send_feedback_message`](misc/index.md#mainwp_child_before_send_feedback_message) - Action: process send feedback message. +- [`mainwp_child_before_update`](updates-maintenance/index.md#mainwp_child_before_update) - Method to_update_plugins() +- [`mainwp_child_before_update`](updates-maintenance/index.md#mainwp_child_before_update) - Method to_upgrade_themes() +- [`mainwp_child_before_update_plugin_theme`](updates-maintenance/index.md#mainwp_child_before_update_plugin_theme) - Action before update plugin, theme. +- [`mainwp_child_before_update_wp`](updates-maintenance/index.md#mainwp_child_before_update_wp) - Action before update WP. +- [`mainwp_child_branding_init_options`](system-settings/index.md#mainwp_child_branding_init_options) - Filter 'mainwp_child_branding_init_options' +- [`mainwp_child_contact_support_mail_headers`](misc/index.md#mainwp_child_contact_support_mail_headers) - Send support email. +- [`mainwp_child_db_updater_sync_data`](updates-maintenance/index.md#mainwp_child_db_updater_sync_data) - Get sync data. +- [`mainwp_child_deactivation`](updates-maintenance/index.md#mainwp_child_deactivation) - Method deactivation() +- [`mainwp_child_extra_execution`](content-handling/index.md#mainwp_child_extra_execution) - Filter 'mainwp_child_extra_execution' +- [`mainwp_child_forced_get_total_size`](updates-maintenance/index.md#mainwp_child_forced_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_get_total_size`](updates-maintenance/index.md#mainwp_child_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_hide_update_notice`](updates-maintenance/index.md#mainwp_child_hide_update_notice) - After admin bar render. +- [`mainwp_child_hide_update_notice`](updates-maintenance/index.md#mainwp_child_hide_update_notice) - Admin footer text. +- [`mainwp_child_init_subpages`](content-handling/index.md#mainwp_child_init_subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp_child_install_plugin_theme`](updates-maintenance/index.md#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](updates-maintenance/index.md#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](updates-maintenance/index.md#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](updates-maintenance/index.md#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_mu_plugin_enabled`](updates-maintenance/index.md#mainwp_child_mu_plugin_enabled) - Method deactivation() +- [`mainwp_child_mu_plugin_enabled`](updates-maintenance/index.md#mainwp_child_mu_plugin_enabled) - Method delete_connection_data() +- [`mainwp_child_plugin_action`](updates-maintenance/index.md#mainwp_child_plugin_action) - Method delete_plugins() +- [`mainwp_child_plugin_health_check_max_plugins_to_batch`](updates-maintenance/index.md#mainwp_child_plugin_health_check_max_plugins_to_batch) - *Arguments* +- [`mainwp_child_plugin_row_meta`](updates-maintenance/index.md#mainwp_child_plugin_row_meta) - MainWP Child Plugin meta data. +- [`mainwp_child_reports_log`](system-settings/index.md#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](system-settings/index.md#mainwp_child_reports_log) - Method do_site_stats() +- [`mainwp_child_reports_log`](misc/index.md#mainwp_child_reports_log) - Record BackWPup MainWP Child Reports log. +- [`mainwp_child_reports_log`](backups-restoration/index.md#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](backups-restoration/index.md#mainwp_child_reports_log) - Backupbuddy Client Reports log. +- [`mainwp_child_site_stats`](misc/index.md#mainwp_child_site_stats) - Get Child Site Stats. +- [`mainwp_child_theme_action`](updates-maintenance/index.md#mainwp_child_theme_action) - Method theme_action() +- [`mainwp_child_theme_health_check_max_themes_to_batch`](updates-maintenance/index.md#mainwp_child_theme_health_check_max_themes_to_batch) - *Arguments* +- [`mainwp_child_unique_id`](misc/index.md#mainwp_child_unique_id) - Method get_site_unique_id() +- [`mainwp_child_woocom_get_data`](misc/index.md#mainwp_child_woocom_get_data) - Get Woocommerce reports old. +- [`mainwp_child_woocom_report_data`](misc/index.md#mainwp_child_woocom_report_data) - Woocommerce report data. +- [`mainwp_child_woocom_sync_data`](misc/index.md#mainwp_child_woocom_sync_data) - Sync Woocommerce data. +- [`mainwp_create_post_custom_author`](connection-authentication/index.md#mainwp_create_post_custom_author) - Update post data. +- [`mainwp_reports_backupbuddy_backup`](backups-restoration/index.md#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](backups-restoration/index.md#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupwordpress_backup`](backups-restoration/index.md#mainwp_reports_backupwordpress_backup) - Add BackUpWordPress data to the reports database table. +- [`mainwp_reports_backwpup_backup`](backups-restoration/index.md#mainwp_reports_backwpup_backup) - Create BackWPup MainWP Client Reports log. +- [`mainwp_reports_maintenance`](updates-maintenance/index.md#mainwp_reports_maintenance) - Method maintenance_db() +- [`mainwp_reports_sucuri_scan`](security-monitoring/index.md#mainwp_reports_sucuri_scan) - Save sucuri stream. +- [`mainwp_reports_wordfence_scan`](security-monitoring/index.md#mainwp_reports_wordfence_scan) - Method do_reports_log() +- [`mainwp_reports_wptimecapsule_backup`](backups-restoration/index.md#mainwp_reports_wptimecapsule_backup) - Add WP Time Capsule data to the reports database table. +- [`mainwp_site_sync_others_data`](misc/index.md#mainwp_site_sync_others_data) - Get other stats data. +- [`mwp_premium_perform_update`](updates-maintenance/index.md#mwp_premium_perform_update) - Method upgrade_plugin() +- [`mwp_premium_perform_update`](updates-maintenance/index.md#mwp_premium_perform_update) - Method upgrade_theme() +- [`mwp_premium_update_check`](updates-maintenance/index.md#mwp_premium_update_check) - Check for premium updates. +- [`mwp_premium_update_notification`](updates-maintenance/index.md#mwp_premium_update_notification) - Check for premium updates. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Filter whether the user who generated the nonce is logged out. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Create security nounce without session. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Verify nonce without session. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Method create_nonce_without_session() +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Method verify_nonce_without_session() +- [`phpmailer_init`](security-monitoring/index.md#phpmailer_init) - Check destination email. +- [`plugins_api`](updates-maintenance/index.md#plugins_api) - Method to_update_plugins() +- [`rt_nginx_helper_purge_all`](misc/index.md#rt_nginx_helper_purge_all) - Purge Nginx Helper cache. +- [`run_gpi`](content-handling/index.md#run_gpi) - Method do_check_pages() +- [`sanitize_file_name`](misc/index.md#sanitize_file_name) - Filters a sanitized filename string. +- [`sanitize_file_name_chars`](misc/index.md#sanitize_file_name_chars) - Filters the list of characters to remove from a filename. +- [`save_settings_revision_limit_wptc`](system-settings/index.md#save_settings_revision_limit_wptc) - Save the WP Time Capsule settings - backups section. +- [`staging_status_wptc`](backups-restoration/index.md#staging_status_wptc) - Get backup process progress. +- [`swis_clear_complete_cache`](updates-maintenance/index.md#swis_clear_complete_cache) - Purge Swis Performance plugin cache. +- [`update_white_labling_settings_wptc`](updates-maintenance/index.md#update_white_labling_settings_wptc) - Process the sigin response info. +- [`updraft_backupnow_options`](backups-restoration/index.md#updraft_backupnow_options) - *Arguments* +- [`updraftplus_accept_archivename`](backups-restoration/index.md#updraftplus_accept_archivename) - Restore all downloaded backups from history. +- [`updraftplus_accept_archivename`](backups-restoration/index.md#updraftplus_accept_archivename) - Build existing backups table. +- [`updraftplus_checkzip_end_{$type}`](security-monitoring/index.md#updraftplus_checkzip_end_type) - Restore all downloaded backups from history. +- [`updraftplus_checkzip_{$type}`](security-monitoring/index.md#updraftplus_checkzip_type) - Restore all downloaded backups from history. +- [`updraftplus_com_link`](backups-restoration/index.md#updraftplus_com_link) - *Arguments* +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange_www_append_warning`](security-monitoring/index.md#updraftplus_dbscan_urlchange_www_append_warning) - *Arguments* +- [`updraftplus_dirlist_sanitize_text_field()`](backups-restoration/index.md#updraftplus_dirlist_sanitize_text_field()) - Check disk space used. +- [`updraftplus_http_to_https_additional_warning`](backups-restoration/index.md#updraftplus_http_to_https_additional_warning) - *Arguments* +- [`updraftplus_https_to_http_additional_warning`](backups-restoration/index.md#updraftplus_https_to_http_additional_warning) - *Arguments* +- [`updraftplus_importforeign_backupable_plus_db`](backups-restoration/index.md#updraftplus_importforeign_backupable_plus_db) - Restore all downloaded backups from history. +- [`updraftplus_migrator_addon_link`](backups-restoration/index.md#updraftplus_migrator_addon_link) - *Arguments* +- [`updraftplus_msg_unfinishedbackup`](backups-restoration/index.md#updraftplus_msg_unfinishedbackup) - *Arguments* +- [`updraftplus_print_active_job_continue`](backups-restoration/index.md#updraftplus_print_active_job_continue) - *Arguments* +- [`updraftplus_showbackup_date`](backups-restoration/index.md#updraftplus_showbackup_date) - Date label. +- [`user_profile_update_errors`](updates-maintenance/index.md#user_profile_update_errors) - Edit existing user. +- [`woocommerce_dashboard_status_widget_sales_query`](misc/index.md#woocommerce_dashboard_status_widget_sales_query) - *Arguments* +- [`woocommerce_hide_{$name}_notice`](updates-maintenance/index.md#woocommerce_hide_name_notice) - Hide a single notice. +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`wp_login`](connection-authentication/index.md#wp_login) - Method login() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method parse_login_required() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method parse_login_required() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method login() +- [`wpfc_clear_all_cache`](misc/index.md#wpfc_clear_all_cache) - Purge WP Fastest Cache. +- [`wphb_clear_page_cache`](content-handling/index.md#wphb_clear_page_cache) - Purge WP Hummingbird cache. +- [`wpvivid_get_mainwp_sync_data`](backups-restoration/index.md#wpvivid_get_mainwp_sync_data) - Sync other data from $data[] and merge with $information[] +- [`wpvivid_handle_mainwp_action`](content-handling/index.md#wpvivid_handle_mainwp_action) - Post MainWP data. +- [`{$event}`](backups-restoration/index.md#event) - Backup now. +- [`{$hook_name}`](misc/index.md#hook_name) - Support old WP version 4.0. diff --git a/mainwp-hooks-old/child/actions/misc/index.md b/mainwp-hooks-old/child/actions/misc/index.md new file mode 100644 index 0000000..02e472c --- /dev/null +++ b/mainwp-hooks-old/child/actions/misc/index.md @@ -0,0 +1,372 @@ +# Miscellaneous Actions + +Miscellaneous hooks that don't fit into other categories. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Record BackWPup MainWP Child Reports log. +- [`mainwp_child_site_stats`](#mainwp_child_site_stats) - Get Child Site Stats. +- [`mainwp_child_before_send_feedback_message`](#mainwp_child_before_send_feedback_message) - Action: process send feedback message. +- [`mainwp_child_before_send_close_message`](#mainwp_child_before_send_close_message) - Action: process before send close message. +- [`rt_nginx_helper_purge_all`](#rt_nginx_helper_purge_all) - Purge Nginx Helper cache. +- [`wpfc_clear_all_cache`](#wpfc_clear_all_cache) - Purge WP Fastest Cache. +- [`{$hook_name}`](#hook_name) - Support old WP version 4.0. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_sync_data`](#mainwp_child_woocom_sync_data) - Sync Woocommerce data. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_report_data`](#mainwp_child_woocom_report_data) - Woocommerce report data. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_dashboard_status_widget_sales_query`](#woocommerce_dashboard_status_widget_sales_query) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_get_data`](#mainwp_child_woocom_get_data) - Get Woocommerce reports old. +- [`sanitize_file_name_chars`](#sanitize_file_name_chars) - Filters the list of characters to remove from a filename. +- [`sanitize_file_name`](#sanitize_file_name) - Filters a sanitized filename string. +- [`mainwp-site-sync-others-data`](#mainwp-site-sync-others-data) - Get other stats data. +- [`mainwp_site_sync_others_data`](#mainwp_site_sync_others_data) - Get other stats data. +- [`mainwp_child_unique_id`](#mainwp_child_unique_id) - Method get_site_unique_id() +- [`mainwp_child_contact_support_mail_headers`](#mainwp_child_contact_support_mail_headers) - Send support email. + +## Hook Details + +### `mainwp_child_reports_log` + +*Record BackWPup MainWP Child Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backwpup'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 307](class/class-mainwp-child-back-wp-up.php#L307-L314) + + + +### `mainwp_child_site_stats` + +*Get Child Site Stats.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 141](class/class-mainwp-child-stats.php#L141-L358) + + + +### `mainwp_child_before_send_feedback_message` + +*Action: process send feedback message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | | +`$action` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1` | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 72](class/class-mainwp-helper.php#L72-L77) + + + +### `mainwp_child_before_send_close_message` + +*Action: process before send close message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | | +`$action` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 94](class/class-mainwp-helper.php#L94-L99) + + + +### `rt_nginx_helper_purge_all` + +*Purge Nginx Helper cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 716](class/class-mainwp-child-cache-purge.php#L716-L729) + + + +### `wpfc_clear_all_cache` + +*Purge WP Fastest Cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 818](class/class-mainwp-child-cache-purge.php#L818-L831) + + + +### `{$hook_name}` + +*Support old WP version 4.0.* + +Fires functions attached to a deprecated filter hook. + +When a filter hook is deprecated, the apply_filters() call is replaced with +apply_filters_deprecated(), which triggers a deprecation notice and then fires +the original filter hook. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | `array` | Array of additional function arguments to be passed to apply_filters(). + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 169](includes/functions.php#L169-L189) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 145](class/class-mainwp-child-woocommerce-status.php#L145-L145) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 168](class/class-mainwp-child-woocommerce-status.php#L168-L168) + + + +### `mainwp_child_woocom_sync_data` + +*Sync Woocommerce data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 113](class/class-mainwp-child-woocommerce-status.php#L113-L213) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 258](class/class-mainwp-child-woocommerce-status.php#L258-L258) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 277](class/class-mainwp-child-woocommerce-status.php#L277-L277) + + + +### `mainwp_child_woocom_report_data` + +*Woocommerce report data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 220](class/class-mainwp-child-woocommerce-status.php#L220-L319) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 522](class/class-mainwp-child-woocommerce-status.php#L522-L522) + + + +### `woocommerce_dashboard_status_widget_sales_query` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$query` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 527](class/class-mainwp-child-woocommerce-status.php#L527-L527) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 536](class/class-mainwp-child-woocommerce-status.php#L536-L536) + + + +### `mainwp_child_woocom_get_data` + +*Get Woocommerce reports old.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 490](class/class-mainwp-child-woocommerce-status.php#L490-L585) + + + +### `sanitize_file_name_chars` + +*Filters the list of characters to remove from a filename.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$special_chars` | `string[]` | Array of characters to remove. +`$filename_raw` | `string` | The original filename to be sanitized. + +**Changelog** + +Version | Description +------- | ----------- +`2.8.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-misc.php](class/class-mainwp-child-misc.php), [line 557](class/class-mainwp-child-misc.php#L557-L565) + + + +### `sanitize_file_name` + +*Filters a sanitized filename string.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$filename` | `string` | Sanitized filename. +`$filename_raw` | `string` | The filename prior to sanitization. + +**Changelog** + +Version | Description +------- | ----------- +`2.8.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-misc.php](class/class-mainwp-child-misc.php), [line 572](class/class-mainwp-child-misc.php#L572-L580) + + + +### `mainwp-site-sync-others-data` + +*Get other stats data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($information, $othersData)` | | +`'4.0.7.1'` | | +`'mainwp_site_sync_others_data'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 466](class/class-mainwp-child-stats.php#L466-L482) + + + +### `mainwp_site_sync_others_data` + +*Get other stats data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | Child Site Stats array. +`$othersData` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 466](class/class-mainwp-child-stats.php#L466-L483) + + + +### `mainwp_child_unique_id` + +*Method get_site_unique_id()* + +Get site unique id. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uniqueId` | | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 744](class/class-mainwp-helper.php#L744-L757) + + + +### `mainwp_child_contact_support_mail_headers` + +*Send support email.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$headers` | | +`$email` | | +`$from` | | + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 740](class/class-mainwp-utility.php#L740-L774) + + + diff --git a/mainwp-hooks-old/child/actions/security-monitoring/index.md b/mainwp-hooks-old/child/actions/security-monitoring/index.md new file mode 100644 index 0000000..9507828 --- /dev/null +++ b/mainwp-hooks-old/child/actions/security-monitoring/index.md @@ -0,0 +1,274 @@ +# Security & Monitoring Actions + +Hooks related to security checks, uptime monitoring, and site health. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`phpmailer_init`](#phpmailer_init) - Check destination email. +- [`mainwp_reports_sucuri_scan`](#mainwp_reports_sucuri_scan) - Save sucuri stream. +- [`mainwp_reports_wordfence_scan`](#mainwp_reports_wordfence_scan) - Method do_reports_log() +- [`updraftplus_checkzip_{$type}`](#updraftplus_checkzip_type) - Restore all downloaded backups from history. +- [`updraftplus_checkzip_end_{$type}`](#updraftplus_checkzip_end_type) - Restore all downloaded backups from history. +- [`check_passwords`](#check_passwords) - Edit existing user. +- [`admin_enqueue_scripts`](#admin_enqueue_scripts) - Method is_asset_in_admin() +- [`mainwp_child_actions_saved_number_of_days`](#mainwp_child_actions_saved_number_of_days) - Method to check actions data. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange_www_append_warning`](#updraftplus_dbscan_urlchange_www_append_warning) - *Arguments* +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse database file. +- [`gpi_check_status`](#gpi_check_status) - Method save_settings() +- [`gpi_check_status`](#gpi_check_status) - Method do_check_pages() +- [`gpi_check_status`](#gpi_check_status) - Method get_sync_data() + +## Hook Details + +### `phpmailer_init` + +*Check destination email.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$phpmailer)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1311](class/class-mainwp-child-back-wp-up.php#L1311-L1363) + + + +### `mainwp_reports_sucuri_scan` + +*Save sucuri stream.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$result` | | +`$scan_status` | | +`$scan_data` | | +`$scan_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-client-report.php](class/class-mainwp-client-report.php), [line 179](class/class-mainwp-client-report.php#L179-L191) + + + +### `mainwp_reports_wordfence_scan` + +*Method do_reports_log()* + +Add Wordfence data to the reports reports database table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$ctime` | | +`$details` | | +`$result` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wordfence.php](class/class-mainwp-child-wordfence.php), [line 309](class/class-mainwp-child-wordfence.php#L309-L371) + + + +### `updraftplus_checkzip_{$type}` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($updraft_dir . '/' . $file, &$mess, &$warn, &$err)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L2036) + + + +### `updraftplus_checkzip_end_{$type}` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$mess, &$warn, &$err)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L2040) + + + +### `check_passwords` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user->user_login, &$pass1, &$pass2)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L395) + + + +### `admin_enqueue_scripts` + +*Method is_asset_in_admin()* + +Check if the CSS/JS file is loaded in admin or not. + + +Source: [../sources/mainwp-child/class/class-mainwp-child-html-regression.php](class/class-mainwp-child-html-regression.php), [line 224](class/class-mainwp-child-html-regression.php#L224-L238) + + + +### `mainwp_child_actions_saved_number_of_days` + +*Method to check actions data.* + +Clear old the action info. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$days_number` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-actions.php](class/class-mainwp-child-actions.php), [line 251](class/class-mainwp-child-actions.php#L251-L264) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse old database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('Warning: %s', 'updraftplus'), '' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . '')` | | +`$old_siteurl` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2216](class/class-mainwp-child-updraft-plus-backups.php#L2216-L2367) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse old database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('Warning: %s', 'updraftplus'), '' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . '')` | | +`$old_home` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2216](class/class-mainwp-child-updraft-plus-backups.php#L2216-L2377) + + + +### `updraftplus_dbscan_urlchange_www_append_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2639](class/class-mainwp-child-updraft-plus-backups.php#L2639-L2639) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . ''` | | +`$old_siteurl` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2472](class/class-mainwp-child-updraft-plus-backups.php#L2472-L2645) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . ''` | | +`$old_home` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2472](class/class-mainwp-child-updraft-plus-backups.php#L2472-L2664) + + + +### `gpi_check_status` + +*Method save_settings()* + +Save the plugin settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 252](class/class-mainwp-child-pagespeed.php#L252-L265) + + + +### `gpi_check_status` + +*Method do_check_pages()* + +Check or force re-check pages page speed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 429](class/class-mainwp-child-pagespeed.php#L429-L441) + + + +### `gpi_check_status` + +*Method get_sync_data()* + +Get the Google Pagespeed Insights plugin data and store it in the sync request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 452](class/class-mainwp-child-pagespeed.php#L452-L471) + + + diff --git a/mainwp-hooks-old/child/actions/system-settings/index.md b/mainwp-hooks-old/child/actions/system-settings/index.md new file mode 100644 index 0000000..a9f05c7 --- /dev/null +++ b/mainwp-hooks-old/child/actions/system-settings/index.md @@ -0,0 +1,109 @@ +# System & Settings Actions + +Hooks related to general settings and system configuration. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`deprecated_hook_run`](#deprecated_hook_run) - Support old WP version 4.0. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Method do_site_stats() +- [`save_settings_revision_limit_wptc`](#save_settings_revision_limit_wptc) - Save the WP Time Capsule settings - backups section. +- [`mainwp_child_branding_init_options`](#mainwp_child_branding_init_options) - Filter 'mainwp_child_branding_init_options' + +## Hook Details + +### `deprecated_hook_run` + +*Support old WP version 4.0.* + +Fires functions attached to a deprecated filter hook. + +When a filter hook is deprecated, the apply_filters() call is replaced with +apply_filters_deprecated(), which triggers a deprecation notice and then fires +the original filter hook. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$hook_name` | `string` | The name of the filter hook. +`$replacement` | `string` | Optional. The hook that should have been used. Default empty. +`$version` | `string` | The version of WordPress that deprecated the hook. +`$message` | `string` | Optional. A message regarding the change. Default empty. + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 169](includes/functions.php#L169-L188) + + + +### `mainwp_child_reports_log` + +*Add support for the reporting system.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wptimecapsule'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 998](class/class-mainwp-child-timecapsule.php#L998-L1008) + + + +### `mainwp_child_reports_log` + +*Method do_site_stats()* + +Add support for the reporting system. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wordfence'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wordfence.php](class/class-mainwp-child-wordfence.php), [line 300](class/class-mainwp-child-wordfence.php#L300-L306) + + + +### `save_settings_revision_limit_wptc` + +*Save the WP Time Capsule settings - backups section.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data['revision_limit']` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1674](class/class-mainwp-child-timecapsule.php#L1674-L1702) + + + +### `mainwp_child_branding_init_options` + +*Filter 'mainwp_child_branding_init_options'* + +Set custom branding setting through the filter. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 106](class/class-mainwp-child-branding.php#L106-L113) + + + diff --git a/mainwp-hooks-old/child/actions/updates-maintenance/index.md b/mainwp-hooks-old/child/actions/updates-maintenance/index.md new file mode 100644 index 0000000..240f691 --- /dev/null +++ b/mainwp-hooks-old/child/actions/updates-maintenance/index.md @@ -0,0 +1,629 @@ +# Updates & Maintenance Actions + +Hooks for managing updates to plugins, themes, and WordPress core. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`update_white_labling_settings_wptc`](#update_white_labling_settings_wptc) - Process the sigin response info. +- [`mainwp_child_plugin_action`](#mainwp_child_plugin_action) - Method delete_plugins() +- [`mainwp_child_theme_action`](#mainwp_child_theme_action) - Method theme_action() +- [`mainwp_child_installPluginTheme`](#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](#mainwp_child_install_plugin_theme) - Method after_installed() +- [`woocommerce_hide_{$name}_notice`](#woocommerce_hide_name_notice) - Hide a single notice. +- [`user_profile_update_errors`](#user_profile_update_errors) - Edit existing user. +- [`mainwp_reports_maintenance`](#mainwp_reports_maintenance) - Method maintenance_db() +- [`mainwp_child_before_update_plugin_theme`](#mainwp_child_before_update_plugin_theme) - Action before update plugin, theme. +- [`mainwp_child_before_update`](#mainwp_child_before_update) - Method to_update_plugins() +- [`mainwp_child_after_update`](#mainwp_child_after_update) - Method to_update_plugins() +- [`mainwp_child_before_update`](#mainwp_child_before_update) - Method to_upgrade_themes() +- [`mainwp_child_after_update`](#mainwp_child_after_update) - Method to_upgrade_themes() +- [`mainwp_child_before_update_wp`](#mainwp_child_before_update_wp) - Action before update WP. +- [`swis_clear_complete_cache`](#swis_clear_complete_cache) - Purge Swis Performance plugin cache. +- [`mainwp_child_deactivation`](#mainwp_child_deactivation) - Method deactivation() +- [`mainwp_before_post_update`](#mainwp_before_post_update) - Hook: `mainwp_before_post_update` +- [`mainwp_child_plugin_health_check_max_plugins_to_batch`](#mainwp_child_plugin_health_check_max_plugins_to_batch) - *Arguments* +- [`active_plugins`](#active_plugins) - *Arguments* +- [`active_plugins`](#active_plugins) - *Arguments* +- [`get_backup_before_update_setting_wptc`](#get_backup_before_update_setting_wptc) - Get backup process progress. +- [`mainwp_child_theme_health_check_max_themes_to_batch`](#mainwp_child_theme_health_check_max_themes_to_batch) - *Arguments* +- [`mainwp_child_hide_update_notice`](#mainwp_child_hide_update_notice) - After admin bar render. +- [`mainwp_child_hide_update_notice`](#mainwp_child_hide_update_notice) - Admin footer text. +- [`mwp_premium_update_check`](#mwp_premium_update_check) - Check for premium updates. +- [`mwp_premium_update_notification`](#mwp_premium_update_notification) - Check for premium updates. +- [`mainwp-child-get-total-size`](#mainwp-child-get-total-size) - Get total size of Child Site installation. +- [`mainwp_child_get_total_size`](#mainwp_child_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_forced_get_total_size`](#mainwp_child_forced_get_total_size) - Get total size of Child Site installation. +- [`mwp_premium_perform_update`](#mwp_premium_perform_update) - Method upgrade_plugin() +- [`plugins_api`](#plugins_api) - Method to_update_plugins() +- [`mwp_premium_perform_update`](#mwp_premium_perform_update) - Method upgrade_theme() +- [`mainwp_child_plugin_row_meta`](#mainwp_child_plugin_row_meta) - MainWP Child Plugin meta data. +- [`mainwp_child_mu_plugin_enabled`](#mainwp_child_mu_plugin_enabled) - Method deactivation() +- [`mainwp_child_mu_plugin_enabled`](#mainwp_child_mu_plugin_enabled) - Method delete_connection_data() +- [`mainwp_child_db_updater_sync_data`](#mainwp_child_db_updater_sync_data) - Get sync data. + +## Hook Details + +### `update_white_labling_settings_wptc` + +*Process the sigin response info.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cust_req_info` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1233](class/class-mainwp-child-timecapsule.php#L1233-L1257) + + + +### `mainwp_child_plugin_action` + +*Method delete_plugins()* + +Delete a plugin from the Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 158](class/class-mainwp-child-install.php#L158-L219) + + + +### `mainwp_child_theme_action` + +*Method theme_action()* + +Theme Activate, Deactivate & Delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 230](class/class-mainwp-child-install.php#L230-L324) + + + +### `mainwp_child_installPluginTheme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($args)` | | +`'4.0.7.1'` | | +`'mainwp_child_install_plugin_theme'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L531) + + + +### `mainwp_child_install_plugin_theme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L532) + + + +### `mainwp_child_installPluginTheme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($args)` | | +`'4.0.7.1'` | | +`'mainwp_child_install_plugin_theme'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L555) + + + +### `mainwp_child_install_plugin_theme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L556) + + + +### `woocommerce_hide_{$name}_notice` + +*Hide a single notice.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-db-updater-wc.php](class/class-mainwp-child-db-updater-wc.php), [line 222](class/class-mainwp-child-db-updater-wc.php#L222-L230) + + + +### `user_profile_update_errors` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$errors, $update, &$user)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L434) + + + +### `mainwp_reports_maintenance` + +*Method maintenance_db()* + +Child site database maintenance. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$log_time` | | +`$details` | | +`$result` | | +`$max_revisions` | `int` | Maximum revisions to keep. + +Source: [../sources/mainwp-child/class/class-mainwp-child-maintenance.php](class/class-mainwp-child-maintenance.php), [line 92](class/class-mainwp-child-maintenance.php#L92-L198) + + + +### `mainwp_child_before_update_plugin_theme` + +*Action before update plugin, theme.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 115](class/class-mainwp-child-updates.php#L115-L120) + + + +### `mainwp_child_before_update` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`$plugins` | `array` | An array containing plugins to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L374) + + + +### `mainwp_child_after_update` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`$result` | | +`$plugins` | `array` | An array containing plugins to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L379) + + + +### `mainwp_child_before_update` + +*Method to_upgrade_themes()* + +Complete the themes update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`$themes` | `array` | An array containing themes to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 547](class/class-mainwp-child-updates.php#L547-L583) + + + +### `mainwp_child_after_update` + +*Method to_upgrade_themes()* + +Complete the themes update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`$result` | | +`$themes` | `array` | An array containing themes to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 547](class/class-mainwp-child-updates.php#L547-L589) + + + +### `mainwp_child_before_update_wp` + +*Action before update WP.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 1171](class/class-mainwp-child-updates.php#L1171-L1176) + + + +### `swis_clear_complete_cache` + +*Purge Swis Performance plugin cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 369](class/class-mainwp-child-cache-purge.php#L369-L389) + + + +### `mainwp_child_deactivation` + +*Method deactivation()* + +Deactivate the MainWP Child plugin. + + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 460](class/class-mainwp-child.php#L460-L477) + + + +### `mainwp_before_post_update` + +*Hook: `mainwp_before_post_update`* + +Runs before creating or updating a post via MainWP dashboard. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$new_post` | `array` | � Post data array. +`$post_custom` | `array` | � Post custom meta data. +`$post_category` | `string` | � Post categories. +`$post_tags` | `string` | � Post tags. +`$others` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 777](class/class-mainwp-child-posts.php#L777-L787) + +## Filters + + + +### `mainwp_child_plugin_health_check_max_plugins_to_batch` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-plugins-check.php](class/class-mainwp-child-plugins-check.php), [line 286](class/class-mainwp-child-plugins-check.php#L286-L286) + + + +### `active_plugins` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`get_option('active_plugins')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wp-seopress.php](class/class-mainwp-child-wp-seopress.php), [line 59](class/class-mainwp-child-wp-seopress.php#L59-L59) + + + +### `active_plugins` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`get_option('active_plugins')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wp-seopress.php](class/class-mainwp-child-wp-seopress.php), [line 77](class/class-mainwp-child-wp-seopress.php#L77-L77) + + + +### `get_backup_before_update_setting_wptc` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L548) + + + +### `mainwp_child_theme_health_check_max_themes_to_batch` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-themes-check.php](class/class-mainwp-child-themes-check.php), [line 253](class/class-mainwp-child-themes-check.php#L253-L253) + + + +### `mainwp_child_hide_update_notice` + +*After admin bar render.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding-render.php](class/class-mainwp-child-branding-render.php), [line 207](class/class-mainwp-child-branding-render.php#L207-L211) + + + +### `mainwp_child_hide_update_notice` + +*Admin footer text.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding-render.php](class/class-mainwp-child-branding-render.php), [line 261](class/class-mainwp-child-branding-render.php#L261-L265) + + + +### `mwp_premium_update_check` + +*Check for premium updates.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 685](class/class-mainwp-child-stats.php#L685-L697) + + + +### `mwp_premium_update_notification` + +*Check for premium updates.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 685](class/class-mainwp-child-stats.php#L685-L708) + + + +### `mainwp-child-get-total-size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(true)` | | +`'4.0.7.1'` | | +`'mainwp_child_get_total_size'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L955) + + + +### `mainwp_child_get_total_size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$get_file_size` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L956) + + + +### `mainwp_child_forced_get_total_size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L957) + + + +### `mwp_premium_perform_update` + +*Method upgrade_plugin()* + +Initiate the plugin update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 188](class/class-mainwp-child-updates.php#L188-L271) + + + +### `plugins_api` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`'plugin_information'` | | +`array('slug' => $plugin)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L393) + + + +### `mwp_premium_perform_update` + +*Method upgrade_theme()* + +Execute themes updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 464](class/class-mainwp-child-updates.php#L464-L521) + + + +### `mainwp_child_plugin_row_meta` + +*MainWP Child Plugin meta data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugin_meta` | `array` | Plugin meta. +`$plugin_file` | `string` | Plugin file. +`$mainWPChild->plugin_slug` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 295](class/class-mainwp-pages.php#L295-L315) + + + +### `mainwp_child_mu_plugin_enabled` + +*Method deactivation()* + +Deactivate the MainWP Child plugin. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 460](class/class-mainwp-child.php#L460-L471) + + + +### `mainwp_child_mu_plugin_enabled` + +*Method delete_connection_data()* + +Delete connection data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 481](class/class-mainwp-child.php#L481-L491) + + + +### `mainwp_child_db_updater_sync_data` + +*Get sync data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-db-updater.php](class/class-mainwp-child-db-updater.php), [line 100](class/class-mainwp-child-db-updater.php#L100-L104) + + +

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0

+ + + diff --git a/mainwp-hooks-old/child/actions/user-operations/index.md b/mainwp-hooks-old/child/actions/user-operations/index.md new file mode 100644 index 0000000..fb4d56d --- /dev/null +++ b/mainwp-hooks-old/child/actions/user-operations/index.md @@ -0,0 +1,186 @@ +# User Operations Actions + +Hooks related to user management on Child sites. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Filter whether the user who generated the nonce is logged out. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Create security nounce without session. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Verify nonce without session. +- [`mainwp_child_actions_save_data`](#mainwp_child_actions_save_data) - Log handler. +- [`mainwp_branding_role_cap_enable_contact_form`](#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_branding_role_cap_enable_contact_form`](#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`illegal_user_logins`](#illegal_user_logins) - Edit existing user. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Method create_nonce_without_session() +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Method verify_nonce_without_session() + +## Hook Details + +### `nonce_user_logged_out` + +*Filter whether the user who generated the nonce is logged out.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | `int` | ID of the nonce-owning user. +`$action` | `string` | The nonce action. + +**Changelog** + +Version | Description +------- | ----------- +`3.5.0` | + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 34](includes/functions.php#L34-L42) + + + +### `nonce_user_logged_out` + +*Create security nounce without session.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `int` | Action performing. + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1074](class/class-mainwp-child-back-wp-up.php#L1074-L1085) + + + +### `nonce_user_logged_out` + +*Verify nonce without session.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `int` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1093](class/class-mainwp-child-back-wp-up.php#L1093-L1106) + + + +### `mainwp_child_actions_save_data` + +*Log handler.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$context` | `string` | Context of the event. +`$action` | `string` | Action of the event. +`$args` | `array` | sprintf (and extra) arguments to use. +`$message` | `string` | sprintf-ready error message string. +`$user_id` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-actions.php](class/class-mainwp-child-actions.php), [line 721](class/class-mainwp-child-actions.php#L721-L761) + + + +### `mainwp_branding_role_cap_enable_contact_form` + +*Filter 'mainwp_branding_role_cap_enable_contact_form'* + +Manage the support form visibility. Set false to hide the support form page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 560](class/class-mainwp-child-branding.php#L560-L567) + + + +### `mainwp_branding_role_cap_enable_contact_form` + +*Filter 'mainwp_branding_role_cap_enable_contact_form'* + +Manage the support form visibility. Set false to hide the support form page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 1163](class/class-mainwp-child-branding.php#L1163-L1170) + + + +### `illegal_user_logins` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L418) + + + +### `nonce_user_logged_out` + +*Method create_nonce_without_session()* + +Create nonce without session. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `mixed` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 812](class/class-mainwp-utility.php#L812-L825) + + + +### `nonce_user_logged_out` + +*Method verify_nonce_without_session()* + +Verify nonce without session. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `mixed` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 834](class/class-mainwp-utility.php#L834-L849) + + + diff --git a/mainwp-hooks-old/child/filters/backups-restoration/index.md b/mainwp-hooks-old/child/filters/backups-restoration/index.md new file mode 100644 index 0000000..76c8f0a --- /dev/null +++ b/mainwp-hooks-old/child/filters/backups-restoration/index.md @@ -0,0 +1,477 @@ +# Backups & Restoration Filters + +Hooks for backup creation, management, and restoration processes. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_reports_backwpup_backup`](#mainwp_reports_backwpup_backup) - Create BackWPup MainWP Client Reports log. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_reports_backupwordpress_backup`](#mainwp_reports_backupwordpress_backup) - Add BackUpWordPress data to the reports database table. +- [`mainwp_reports_wptimecapsule_backup`](#mainwp_reports_wptimecapsule_backup) - Add WP Time Capsule data to the reports database table. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Backupbuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_backup`](#mainwp_backup) - Save backup stream. +- [`{$event}`](#event) - Backup now. +- [`itsec_has_external_backup`](#itsec_has_external_backup) - Check if backup exists. +- [`itsec_scheduled_external_backup`](#itsec_scheduled_external_backup) - Check if there is a shedualed backup. +- [`is_any_staging_process_going_on`](#is_any_staging_process_going_on) - Get backup process progress. +- [`get_bbu_note_view`](#get_bbu_note_view) - Get backup process progress. +- [`staging_status_wptc`](#staging_status_wptc) - Get backup process progress. +- [`is_restore_to_staging_wptc`](#is_restore_to_staging_wptc) - Start the restore process. +- [`get_restore_to_staging_request_wptc`](#get_restore_to_staging_request_wptc) - Start the restore process. +- [`check_requirements_auto_backup_wptc`](#check_requirements_auto_backup_wptc) - Save the WP Time Capsule settings - backups section. +- [`updraft_backupnow_options`](#updraft_backupnow_options) - *Arguments* +- [`updraftplus_accept_archivename`](#updraftplus_accept_archivename) - Restore all downloaded backups from history. +- [`updraftplus_importforeign_backupable_plus_db`](#updraftplus_importforeign_backupable_plus_db) - Restore all downloaded backups from history. +- [`updraftplus_https_to_http_additional_warning`](#updraftplus_https_to_http_additional_warning) - *Arguments* +- [`updraftplus_http_to_https_additional_warning`](#updraftplus_http_to_https_additional_warning) - *Arguments* +- [`updraftplus_migrator_addon_link`](#updraftplus_migrator_addon_link) - *Arguments* +- [`updraftplus_com_link`](#updraftplus_com_link) - *Arguments* +- [`updraftplus_accept_archivename`](#updraftplus_accept_archivename) - Build existing backups table. +- [`updraftplus_showbackup_date`](#updraftplus_showbackup_date) - Date label. +- [`updraftplus_msg_unfinishedbackup`](#updraftplus_msg_unfinishedbackup) - *Arguments* +- [`updraftplus_dirlist_sanitize_text_field()`](#updraftplus_dirlist_sanitize_text_field()) - Check disk space used. +- [`updraftplus_print_active_job_continue`](#updraftplus_print_active_job_continue) - *Arguments* +- [`wpvivid_get_mainwp_sync_data`](#wpvivid_get_mainwp_sync_data) - Sync other data from $data[] and merge with $information[] + +## Hook Details + +### `mainwp_reports_backwpup_backup` + +*Create BackWPup MainWP Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backup_type` | | +`$backup_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 320](class/class-mainwp-child-back-wp-up.php#L320-L409) + + + +### `mainwp_child_reports_log` + +*Add support for the reporting system.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backupwordpress'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-wordpress.php](class/class-mainwp-child-back-up-wordpress.php), [line 303](class/class-mainwp-child-back-up-wordpress.php#L303-L313) + + + +### `mainwp_reports_backupwordpress_backup` + +*Add BackUpWordPress data to the reports database table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$destination` | | +`$message` | | +`'finished'` | | +`$backup_type` | | +`$date` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-wordpress.php](class/class-mainwp-child-back-up-wordpress.php), [line 319](class/class-mainwp-child-back-up-wordpress.php#L319-L358) + + + +### `mainwp_reports_wptimecapsule_backup` + +*Add WP Time Capsule data to the reports database table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backup_type` | | +`$backup_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1014](class/class-mainwp-child-timecapsule.php#L1014-L1068) + + + +### `mainwp_child_reports_log` + +*Backupbuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backupbuddy'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 163](class/class-mainwp-child-back-up-buddy.php#L163-L170) + + + +### `mainwp_reports_backupbuddy_backup` + +*Create BackupBuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backupType` | | +`$finish_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 176](class/class-mainwp-child-back-up-buddy.php#L176-L267) + + + +### `mainwp_reports_backupbuddy_backup` + +*Create BackupBuddy Client Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$backupType` | | +`$finish_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-up-buddy.php](class/class-mainwp-child-back-up-buddy.php), [line 176](class/class-mainwp-child-back-up-buddy.php#L176-L291) + + + +### `mainwp_backup` + +*Save backup stream.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$destination` | | +`$message` | | +`$size` | | +`$status` | | +`$type` | | + +Source: [../sources/mainwp-child/class/class-mainwp-client-report.php](class/class-mainwp-client-report.php), [line 195](class/class-mainwp-client-report.php#L195-L208) + + + +### `{$event}` + +*Backup now.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`apply_filters($options, array())` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1101](class/class-mainwp-child-updraft-plus-backups.php#L1101-L1136) + + + +### `itsec_has_external_backup` + +*Check if backup exists.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$has_backup` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-ithemes-security.php](class/class-mainwp-child-ithemes-security.php), [line 680](class/class-mainwp-child-ithemes-security.php#L680-L688) + + + +### `itsec_scheduled_external_backup` + +*Check if there is a shedualed backup.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sceduled_backup` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-ithemes-security.php](class/class-mainwp-child-ithemes-security.php), [line 691](class/class-mainwp-child-ithemes-security.php#L691-L699) + + + +### `is_any_staging_process_going_on` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L530) + + + +### `get_bbu_note_view` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L549) + + + +### `staging_status_wptc` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L550) + + + +### `is_restore_to_staging_wptc` + +*Start the restore process.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 615](class/class-mainwp-child-timecapsule.php#L615-L622) + + + +### `get_restore_to_staging_request_wptc` + +*Start the restore process.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 615](class/class-mainwp-child-timecapsule.php#L615-L623) + + + +### `check_requirements_auto_backup_wptc` + +*Save the WP Time Capsule settings - backups section.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1674](class/class-mainwp-child-timecapsule.php#L1674-L1699) + + + +### `updraft_backupnow_options` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$options` | | +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1136](class/class-mainwp-child-updraft-plus-backups.php#L1136-L1136) + + + +### `updraftplus_accept_archivename` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L1980) + + + +### `updraftplus_importforeign_backupable_plus_db` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($backupable_plus_db, array($foreign_known[$backups[$timestamp]['meta_foreign']], &$mess, &$warn, &$err))` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L1996) + + + +### `updraftplus_https_to_http_additional_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('This restoration will work if you still have an SSL certificate (i.e. can use https) to access the site. Otherwise, you will want to use %s to search/replace the site address so that the site can be visited without https.', 'updraftplus'), '' . esc_html__('the migrator add-on', 'updraftplus') . '')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2634](class/class-mainwp-child-updraft-plus-backups.php#L2634-L2634) + + + +### `updraftplus_http_to_https_additional_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('As long as your web hosting allows http (i.e. non-SSL access) or will forward requests to https (which is almost always the case), this is no problem. If that is not yet set up, then you should set it up, or use %s so that the non-https links are automatically replaced.', 'updraftplus'), apply_filters('' . esc_html__('the migrator add-on', 'updraftplus') . ''))` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2636](class/class-mainwp-child-updraft-plus-backups.php#L2636-L2636) + + + +### `updraftplus_migrator_addon_link` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('the migrator add-on', 'updraftplus') . ''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2636](class/class-mainwp-child-updraft-plus-backups.php#L2636-L2636) + + + +### `updraftplus_com_link` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'https://updraftplus.com/faqs/tell-me-more-about-the-search-and-replace-site-location-in-the-database-option/'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2648](class/class-mainwp-child-updraft-plus-backups.php#L2648-L2648) + + + +### `updraftplus_accept_archivename` + +*Build existing backups table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3006](class/class-mainwp-child-updraft-plus-backups.php#L3006-L3043) + + + +### `updraftplus_showbackup_date` + +*Date label.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pretty_date` | `string` | Pretty date. +`$backup` | `string` | Type of backup. +`$jobdata` | `array` | Job data. +`(int) $key` | | +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3192](class/class-mainwp-child-updraft-plus-backups.php#L3192-L3204) + + + +### `updraftplus_msg_unfinishedbackup` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'
' . esc_html__('(Not finished)', 'updraftplus') . ''` | | +`$jobdata` | | +`$nonce` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3206](class/class-mainwp-child-updraft-plus-backups.php#L3206-L3206) + + + +### `updraftplus_dirlist_sanitize_text_field()` + +*Check disk space used.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$basedir` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3499](class/class-mainwp-child-updraft-plus-backups.php#L3499-L3521) + + + +### `updraftplus_print_active_job_continue` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$is_oneshot` | | +`$next_resumption` | | +`$jobdata` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 3736](class/class-mainwp-child-updraft-plus-backups.php#L3736-L3736) + + + +### `wpvivid_get_mainwp_sync_data` + +*Sync other data from $data[] and merge with $information[]* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | Stores the returned information. + +Source: [../sources/mainwp-child/class/class-mainwp-child-wpvivid-backuprestore.php](class/class-mainwp-child-wpvivid-backuprestore.php), [line 91](class/class-mainwp-child-wpvivid-backuprestore.php#L91-L107) + + + diff --git a/mainwp-hooks-old/child/filters/connection-authentication/index.md b/mainwp-hooks-old/child/filters/connection-authentication/index.md new file mode 100644 index 0000000..7574ac7 --- /dev/null +++ b/mainwp-hooks-old/child/filters/connection-authentication/index.md @@ -0,0 +1,114 @@ +# Connection & Authentication Filters + +Hooks for establishing and managing connections between Dashboard and Child sites. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`wp_logout`](#wp_logout) - Method parse_login_required() +- [`wp_logout`](#wp_logout) - Method parse_login_required() +- [`wp_logout`](#wp_logout) - Method login() +- [`wp_login`](#wp_login) - Method login() +- [`mainwp_child_authed_download_params`](#mainwp_child_authed_download_params) - Method where_authed_redirect() +- [`https_local_ssl_verify`](#https_local_ssl_verify) - *Arguments* +- [`mainwp_create_post_custom_author`](#mainwp_create_post_custom_author) - Update post data. + +## Hook Details + +### `wp_logout` + +*Method parse_login_required()* + +Check if the login process is required. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 652](class/class-mainwp-connect.php#L652-L680) + + + +### `wp_logout` + +*Method parse_login_required()* + +Check if the login process is required. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 652](class/class-mainwp-connect.php#L652-L710) + + + +### `wp_logout` + +*Method login()* + +The login process handler. + + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1021](class/class-mainwp-connect.php#L1021-L1058) + + + +### `wp_login` + +*Method login()* + +The login process handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user->user_login` | | + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1021](class/class-mainwp-connect.php#L1021-L1066) + + + +### `mainwp_child_authed_download_params` + +*Method where_authed_redirect()* + +Safe redirect to wanted location. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$auth_dl` | | + +Source: [../sources/mainwp-child/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 821](class/class-mainwp-connect.php#L821-L847) + + + +### `https_local_ssl_verify` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information-base.php](class/class-mainwp-child-server-information-base.php), [line 702](class/class-mainwp-child-server-information-base.php#L702-L702) + + + +### `mainwp_create_post_custom_author` + +*Update post data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$new_post_id` | `string` | New post ID. + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 968](class/class-mainwp-child-posts.php#L968-L1012) + + + diff --git a/mainwp-hooks-old/child/filters/content-handling/index.md b/mainwp-hooks-old/child/filters/content-handling/index.md new file mode 100644 index 0000000..1784f68 --- /dev/null +++ b/mainwp-hooks-old/child/filters/content-handling/index.md @@ -0,0 +1,174 @@ +# Content Handling Filters + +Hooks for managing content on Child sites. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`wphb_clear_page_cache`](#wphb_clear_page_cache) - Purge WP Hummingbird cache. +- [`run_gpi`](#run_gpi) - Method do_check_pages() +- [`mainwp_child_after_newpost`](#mainwp_child_after_newpost) - Build New Post. +- [`comment_email`](#comment_email) - Get recent comments. +- [`mainwp_child_extra_execution`](#mainwp_child_extra_execution) - Filter 'mainwp_child_extra_execution' +- [`wpvivid_handle_mainwp_action`](#wpvivid_handle_mainwp_action) - Post MainWP data. +- [`mainwp-child-init-subpages`](#mainwp-child-init-subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp_child_init_subpages`](#mainwp_child_init_subpages) - Initiate MainWP Child Plugin pages. +- [`error_log_mainwp_logs`](#error_log_mainwp_logs) - Render the error log content. +- [`error_log_mainwp_lines`](#error_log_mainwp_lines) - Render the error log content. + +## Hook Details + +### `wphb_clear_page_cache` + +*Purge WP Hummingbird cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 741](class/class-mainwp-child-cache-purge.php#L741-L756) + + + +### `run_gpi` + +*Method do_check_pages()* + +Check or force re-check pages page speed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forceRecheck` | `bool` | If true, force recheck process, if false, just regular check. + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 429](class/class-mainwp-child-pagespeed.php#L429-L445) + + + +### `mainwp_child_after_newpost` + +*Build New Post.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$result` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 373](class/class-mainwp-child-posts.php#L373-L405) + + + +### `comment_email` + +*Get recent comments.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$comment->comment_author_email` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-comments.php](class/class-mainwp-child-comments.php), [line 200](class/class-mainwp-child-comments.php#L200-L229) + + + +### `mainwp_child_extra_execution` + +*Filter 'mainwp_child_extra_execution'* + +Additional functions to execute through the filter. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | An array containing the synchronization information. +`$post` | `mixed` | Contains the POST request. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-callable.php](class/class-mainwp-child-callable.php), [line 745](class/class-mainwp-child-callable.php#L745-L755) + + + +### `wpvivid_handle_mainwp_action` + +*Post MainWP data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$data` | `string` | Data to post. + +Source: [../sources/mainwp-child/class/class-mainwp-child-wpvivid-backuprestore.php](class/class-mainwp-child-wpvivid-backuprestore.php), [line 225](class/class-mainwp-child-wpvivid-backuprestore.php#L225-L239) + + + +### `mainwp-child-init-subpages` + +*Initiate MainWP Child Plugin pages.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.1'` | | +`'mainwp_child_init_subpages'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 230](class/class-mainwp-pages.php#L230-L246) + + + +### `mainwp_child_init_subpages` + +*Initiate MainWP Child Plugin pages.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$all_subpages` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 230](class/class-mainwp-pages.php#L230-L247) + + + +### `error_log_mainwp_logs` + +*Render the error log content.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($error_log)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information.php](class/class-mainwp-child-server-information.php), [line 1089](class/class-mainwp-child-server-information.php#L1089-L1107) + + + +### `error_log_mainwp_lines` + +*Render the error log content.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-server-information.php](class/class-mainwp-child-server-information.php), [line 1089](class/class-mainwp-child-server-information.php#L1089-L1108) + + + diff --git a/mainwp-hooks-old/child/filters/index.md b/mainwp-hooks-old/child/filters/index.md new file mode 100644 index 0000000..af0078d --- /dev/null +++ b/mainwp-hooks-old/child/filters/index.md @@ -0,0 +1,155 @@ +# MainWP Child Filters + +This section provides documentation for all filter hooks available in the MainWP Child plugin. + +## Categories + +- [Connection & Authentication](connection-authentication/index.md) (7 hooks) +- [Updates & Maintenance](updates-maintenance/index.md) (38 hooks) +- [Content Handling](content-handling/index.md) (10 hooks) +- [User Operations](user-operations/index.md) (9 hooks) +- [Backups & Restoration](backups-restoration/index.md) (30 hooks) +- [Security & Monitoring](security-monitoring/index.md) (16 hooks) +- [System & Settings](system-settings/index.md) (5 hooks) +- [Miscellaneous](misc/index.md) (23 hooks) + +## All Filters (Alphabetical) + +- [`active_plugins`](updates-maintenance/index.md#active_plugins) - *Arguments* +- [`active_plugins`](updates-maintenance/index.md#active_plugins) - *Arguments* +- [`admin_enqueue_scripts`](security-monitoring/index.md#admin_enqueue_scripts) - Method is_asset_in_admin() +- [`check_passwords`](security-monitoring/index.md#check_passwords) - Edit existing user. +- [`check_requirements_auto_backup_wptc`](backups-restoration/index.md#check_requirements_auto_backup_wptc) - Save the WP Time Capsule settings - backups section. +- [`comment_email`](content-handling/index.md#comment_email) - Get recent comments. +- [`deprecated_hook_run`](system-settings/index.md#deprecated_hook_run) - Support old WP version 4.0. +- [`error_log_mainwp_lines`](content-handling/index.md#error_log_mainwp_lines) - Render the error log content. +- [`error_log_mainwp_logs`](content-handling/index.md#error_log_mainwp_logs) - Render the error log content. +- [`get_backup_before_update_setting_wptc`](updates-maintenance/index.md#get_backup_before_update_setting_wptc) - Get backup process progress. +- [`get_bbu_note_view`](backups-restoration/index.md#get_bbu_note_view) - Get backup process progress. +- [`get_restore_to_staging_request_wptc`](backups-restoration/index.md#get_restore_to_staging_request_wptc) - Start the restore process. +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method save_settings() +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method do_check_pages() +- [`gpi_check_status`](security-monitoring/index.md#gpi_check_status) - Method get_sync_data() +- [`https_local_ssl_verify`](connection-authentication/index.md#https_local_ssl_verify) - *Arguments* +- [`illegal_user_logins`](user-operations/index.md#illegal_user_logins) - Edit existing user. +- [`is_any_staging_process_going_on`](backups-restoration/index.md#is_any_staging_process_going_on) - Get backup process progress. +- [`is_restore_to_staging_wptc`](backups-restoration/index.md#is_restore_to_staging_wptc) - Start the restore process. +- [`itsec_has_external_backup`](backups-restoration/index.md#itsec_has_external_backup) - Check if backup exists. +- [`itsec_scheduled_external_backup`](backups-restoration/index.md#itsec_scheduled_external_backup) - Check if there is a shedualed backup. +- [`mainwp-child-get-total-size`](updates-maintenance/index.md#mainwp-child-get-total-size) - Get total size of Child Site installation. +- [`mainwp-child-init-subpages`](content-handling/index.md#mainwp-child-init-subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp-site-sync-others-data`](misc/index.md#mainwp-site-sync-others-data) - Get other stats data. +- [`mainwp_backup`](backups-restoration/index.md#mainwp_backup) - Save backup stream. +- [`mainwp_before_post_update`](updates-maintenance/index.md#mainwp_before_post_update) - Hook: `mainwp_before_post_update` +- [`mainwp_branding_role_cap_enable_contact_form`](user-operations/index.md#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_branding_role_cap_enable_contact_form`](user-operations/index.md#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_child_actions_save_data`](user-operations/index.md#mainwp_child_actions_save_data) - Log handler. +- [`mainwp_child_actions_saved_number_of_days`](security-monitoring/index.md#mainwp_child_actions_saved_number_of_days) - Method to check actions data. +- [`mainwp_child_after_newpost`](content-handling/index.md#mainwp_child_after_newpost) - Build New Post. +- [`mainwp_child_after_update`](updates-maintenance/index.md#mainwp_child_after_update) - Method to_update_plugins() +- [`mainwp_child_after_update`](updates-maintenance/index.md#mainwp_child_after_update) - Method to_upgrade_themes() +- [`mainwp_child_authed_download_params`](connection-authentication/index.md#mainwp_child_authed_download_params) - Method where_authed_redirect() +- [`mainwp_child_before_send_close_message`](misc/index.md#mainwp_child_before_send_close_message) - Action: process before send close message. +- [`mainwp_child_before_send_feedback_message`](misc/index.md#mainwp_child_before_send_feedback_message) - Action: process send feedback message. +- [`mainwp_child_before_update`](updates-maintenance/index.md#mainwp_child_before_update) - Method to_update_plugins() +- [`mainwp_child_before_update`](updates-maintenance/index.md#mainwp_child_before_update) - Method to_upgrade_themes() +- [`mainwp_child_before_update_plugin_theme`](updates-maintenance/index.md#mainwp_child_before_update_plugin_theme) - Action before update plugin, theme. +- [`mainwp_child_before_update_wp`](updates-maintenance/index.md#mainwp_child_before_update_wp) - Action before update WP. +- [`mainwp_child_branding_init_options`](system-settings/index.md#mainwp_child_branding_init_options) - Filter 'mainwp_child_branding_init_options' +- [`mainwp_child_contact_support_mail_headers`](misc/index.md#mainwp_child_contact_support_mail_headers) - Send support email. +- [`mainwp_child_db_updater_sync_data`](updates-maintenance/index.md#mainwp_child_db_updater_sync_data) - Get sync data. +- [`mainwp_child_deactivation`](updates-maintenance/index.md#mainwp_child_deactivation) - Method deactivation() +- [`mainwp_child_extra_execution`](content-handling/index.md#mainwp_child_extra_execution) - Filter 'mainwp_child_extra_execution' +- [`mainwp_child_forced_get_total_size`](updates-maintenance/index.md#mainwp_child_forced_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_get_total_size`](updates-maintenance/index.md#mainwp_child_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_hide_update_notice`](updates-maintenance/index.md#mainwp_child_hide_update_notice) - After admin bar render. +- [`mainwp_child_hide_update_notice`](updates-maintenance/index.md#mainwp_child_hide_update_notice) - Admin footer text. +- [`mainwp_child_init_subpages`](content-handling/index.md#mainwp_child_init_subpages) - Initiate MainWP Child Plugin pages. +- [`mainwp_child_install_plugin_theme`](updates-maintenance/index.md#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](updates-maintenance/index.md#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](updates-maintenance/index.md#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](updates-maintenance/index.md#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_mu_plugin_enabled`](updates-maintenance/index.md#mainwp_child_mu_plugin_enabled) - Method deactivation() +- [`mainwp_child_mu_plugin_enabled`](updates-maintenance/index.md#mainwp_child_mu_plugin_enabled) - Method delete_connection_data() +- [`mainwp_child_plugin_action`](updates-maintenance/index.md#mainwp_child_plugin_action) - Method delete_plugins() +- [`mainwp_child_plugin_health_check_max_plugins_to_batch`](updates-maintenance/index.md#mainwp_child_plugin_health_check_max_plugins_to_batch) - *Arguments* +- [`mainwp_child_plugin_row_meta`](updates-maintenance/index.md#mainwp_child_plugin_row_meta) - MainWP Child Plugin meta data. +- [`mainwp_child_reports_log`](system-settings/index.md#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](system-settings/index.md#mainwp_child_reports_log) - Method do_site_stats() +- [`mainwp_child_reports_log`](misc/index.md#mainwp_child_reports_log) - Record BackWPup MainWP Child Reports log. +- [`mainwp_child_reports_log`](backups-restoration/index.md#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](backups-restoration/index.md#mainwp_child_reports_log) - Backupbuddy Client Reports log. +- [`mainwp_child_site_stats`](misc/index.md#mainwp_child_site_stats) - Get Child Site Stats. +- [`mainwp_child_theme_action`](updates-maintenance/index.md#mainwp_child_theme_action) - Method theme_action() +- [`mainwp_child_theme_health_check_max_themes_to_batch`](updates-maintenance/index.md#mainwp_child_theme_health_check_max_themes_to_batch) - *Arguments* +- [`mainwp_child_unique_id`](misc/index.md#mainwp_child_unique_id) - Method get_site_unique_id() +- [`mainwp_child_woocom_get_data`](misc/index.md#mainwp_child_woocom_get_data) - Get Woocommerce reports old. +- [`mainwp_child_woocom_report_data`](misc/index.md#mainwp_child_woocom_report_data) - Woocommerce report data. +- [`mainwp_child_woocom_sync_data`](misc/index.md#mainwp_child_woocom_sync_data) - Sync Woocommerce data. +- [`mainwp_create_post_custom_author`](connection-authentication/index.md#mainwp_create_post_custom_author) - Update post data. +- [`mainwp_reports_backupbuddy_backup`](backups-restoration/index.md#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupbuddy_backup`](backups-restoration/index.md#mainwp_reports_backupbuddy_backup) - Create BackupBuddy Client Reports log. +- [`mainwp_reports_backupwordpress_backup`](backups-restoration/index.md#mainwp_reports_backupwordpress_backup) - Add BackUpWordPress data to the reports database table. +- [`mainwp_reports_backwpup_backup`](backups-restoration/index.md#mainwp_reports_backwpup_backup) - Create BackWPup MainWP Client Reports log. +- [`mainwp_reports_maintenance`](updates-maintenance/index.md#mainwp_reports_maintenance) - Method maintenance_db() +- [`mainwp_reports_sucuri_scan`](security-monitoring/index.md#mainwp_reports_sucuri_scan) - Save sucuri stream. +- [`mainwp_reports_wordfence_scan`](security-monitoring/index.md#mainwp_reports_wordfence_scan) - Method do_reports_log() +- [`mainwp_reports_wptimecapsule_backup`](backups-restoration/index.md#mainwp_reports_wptimecapsule_backup) - Add WP Time Capsule data to the reports database table. +- [`mainwp_site_sync_others_data`](misc/index.md#mainwp_site_sync_others_data) - Get other stats data. +- [`mwp_premium_perform_update`](updates-maintenance/index.md#mwp_premium_perform_update) - Method upgrade_plugin() +- [`mwp_premium_perform_update`](updates-maintenance/index.md#mwp_premium_perform_update) - Method upgrade_theme() +- [`mwp_premium_update_check`](updates-maintenance/index.md#mwp_premium_update_check) - Check for premium updates. +- [`mwp_premium_update_notification`](updates-maintenance/index.md#mwp_premium_update_notification) - Check for premium updates. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Filter whether the user who generated the nonce is logged out. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Create security nounce without session. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Verify nonce without session. +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Method create_nonce_without_session() +- [`nonce_user_logged_out`](user-operations/index.md#nonce_user_logged_out) - Method verify_nonce_without_session() +- [`phpmailer_init`](security-monitoring/index.md#phpmailer_init) - Check destination email. +- [`plugins_api`](updates-maintenance/index.md#plugins_api) - Method to_update_plugins() +- [`rt_nginx_helper_purge_all`](misc/index.md#rt_nginx_helper_purge_all) - Purge Nginx Helper cache. +- [`run_gpi`](content-handling/index.md#run_gpi) - Method do_check_pages() +- [`sanitize_file_name`](misc/index.md#sanitize_file_name) - Filters a sanitized filename string. +- [`sanitize_file_name_chars`](misc/index.md#sanitize_file_name_chars) - Filters the list of characters to remove from a filename. +- [`save_settings_revision_limit_wptc`](system-settings/index.md#save_settings_revision_limit_wptc) - Save the WP Time Capsule settings - backups section. +- [`staging_status_wptc`](backups-restoration/index.md#staging_status_wptc) - Get backup process progress. +- [`swis_clear_complete_cache`](updates-maintenance/index.md#swis_clear_complete_cache) - Purge Swis Performance plugin cache. +- [`update_white_labling_settings_wptc`](updates-maintenance/index.md#update_white_labling_settings_wptc) - Process the sigin response info. +- [`updraft_backupnow_options`](backups-restoration/index.md#updraft_backupnow_options) - *Arguments* +- [`updraftplus_accept_archivename`](backups-restoration/index.md#updraftplus_accept_archivename) - Restore all downloaded backups from history. +- [`updraftplus_accept_archivename`](backups-restoration/index.md#updraftplus_accept_archivename) - Build existing backups table. +- [`updraftplus_checkzip_end_{$type}`](security-monitoring/index.md#updraftplus_checkzip_end_type) - Restore all downloaded backups from history. +- [`updraftplus_checkzip_{$type}`](security-monitoring/index.md#updraftplus_checkzip_type) - Restore all downloaded backups from history. +- [`updraftplus_com_link`](backups-restoration/index.md#updraftplus_com_link) - *Arguments* +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange`](security-monitoring/index.md#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange_www_append_warning`](security-monitoring/index.md#updraftplus_dbscan_urlchange_www_append_warning) - *Arguments* +- [`updraftplus_dirlist_sanitize_text_field()`](backups-restoration/index.md#updraftplus_dirlist_sanitize_text_field()) - Check disk space used. +- [`updraftplus_http_to_https_additional_warning`](backups-restoration/index.md#updraftplus_http_to_https_additional_warning) - *Arguments* +- [`updraftplus_https_to_http_additional_warning`](backups-restoration/index.md#updraftplus_https_to_http_additional_warning) - *Arguments* +- [`updraftplus_importforeign_backupable_plus_db`](backups-restoration/index.md#updraftplus_importforeign_backupable_plus_db) - Restore all downloaded backups from history. +- [`updraftplus_migrator_addon_link`](backups-restoration/index.md#updraftplus_migrator_addon_link) - *Arguments* +- [`updraftplus_msg_unfinishedbackup`](backups-restoration/index.md#updraftplus_msg_unfinishedbackup) - *Arguments* +- [`updraftplus_print_active_job_continue`](backups-restoration/index.md#updraftplus_print_active_job_continue) - *Arguments* +- [`updraftplus_showbackup_date`](backups-restoration/index.md#updraftplus_showbackup_date) - Date label. +- [`user_profile_update_errors`](updates-maintenance/index.md#user_profile_update_errors) - Edit existing user. +- [`woocommerce_dashboard_status_widget_sales_query`](misc/index.md#woocommerce_dashboard_status_widget_sales_query) - *Arguments* +- [`woocommerce_hide_{$name}_notice`](updates-maintenance/index.md#woocommerce_hide_name_notice) - Hide a single notice. +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](misc/index.md#woocommerce_reports_order_statuses) - *Arguments* +- [`wp_login`](connection-authentication/index.md#wp_login) - Method login() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method parse_login_required() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method parse_login_required() +- [`wp_logout`](connection-authentication/index.md#wp_logout) - Method login() +- [`wpfc_clear_all_cache`](misc/index.md#wpfc_clear_all_cache) - Purge WP Fastest Cache. +- [`wphb_clear_page_cache`](content-handling/index.md#wphb_clear_page_cache) - Purge WP Hummingbird cache. +- [`wpvivid_get_mainwp_sync_data`](backups-restoration/index.md#wpvivid_get_mainwp_sync_data) - Sync other data from $data[] and merge with $information[] +- [`wpvivid_handle_mainwp_action`](content-handling/index.md#wpvivid_handle_mainwp_action) - Post MainWP data. +- [`{$event}`](backups-restoration/index.md#event) - Backup now. +- [`{$hook_name}`](misc/index.md#hook_name) - Support old WP version 4.0. diff --git a/mainwp-hooks-old/child/filters/misc/index.md b/mainwp-hooks-old/child/filters/misc/index.md new file mode 100644 index 0000000..cf1c608 --- /dev/null +++ b/mainwp-hooks-old/child/filters/misc/index.md @@ -0,0 +1,372 @@ +# Miscellaneous Filters + +Miscellaneous hooks that don't fit into other categories. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Record BackWPup MainWP Child Reports log. +- [`mainwp_child_site_stats`](#mainwp_child_site_stats) - Get Child Site Stats. +- [`mainwp_child_before_send_feedback_message`](#mainwp_child_before_send_feedback_message) - Action: process send feedback message. +- [`mainwp_child_before_send_close_message`](#mainwp_child_before_send_close_message) - Action: process before send close message. +- [`rt_nginx_helper_purge_all`](#rt_nginx_helper_purge_all) - Purge Nginx Helper cache. +- [`wpfc_clear_all_cache`](#wpfc_clear_all_cache) - Purge WP Fastest Cache. +- [`{$hook_name}`](#hook_name) - Support old WP version 4.0. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_sync_data`](#mainwp_child_woocom_sync_data) - Sync Woocommerce data. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_report_data`](#mainwp_child_woocom_report_data) - Woocommerce report data. +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`woocommerce_dashboard_status_widget_sales_query`](#woocommerce_dashboard_status_widget_sales_query) - *Arguments* +- [`woocommerce_reports_order_statuses`](#woocommerce_reports_order_statuses) - *Arguments* +- [`mainwp_child_woocom_get_data`](#mainwp_child_woocom_get_data) - Get Woocommerce reports old. +- [`sanitize_file_name_chars`](#sanitize_file_name_chars) - Filters the list of characters to remove from a filename. +- [`sanitize_file_name`](#sanitize_file_name) - Filters a sanitized filename string. +- [`mainwp-site-sync-others-data`](#mainwp-site-sync-others-data) - Get other stats data. +- [`mainwp_site_sync_others_data`](#mainwp_site_sync_others_data) - Get other stats data. +- [`mainwp_child_unique_id`](#mainwp_child_unique_id) - Method get_site_unique_id() +- [`mainwp_child_contact_support_mail_headers`](#mainwp_child_contact_support_mail_headers) - Send support email. + +## Hook Details + +### `mainwp_child_reports_log` + +*Record BackWPup MainWP Child Reports log.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'backwpup'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 307](class/class-mainwp-child-back-wp-up.php#L307-L314) + + + +### `mainwp_child_site_stats` + +*Get Child Site Stats.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 141](class/class-mainwp-child-stats.php#L141-L358) + + + +### `mainwp_child_before_send_feedback_message` + +*Action: process send feedback message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | | +`$action` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1` | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 72](class/class-mainwp-helper.php#L72-L77) + + + +### `mainwp_child_before_send_close_message` + +*Action: process before send close message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | | +`$action` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 94](class/class-mainwp-helper.php#L94-L99) + + + +### `rt_nginx_helper_purge_all` + +*Purge Nginx Helper cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 716](class/class-mainwp-child-cache-purge.php#L716-L729) + + + +### `wpfc_clear_all_cache` + +*Purge WP Fastest Cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 818](class/class-mainwp-child-cache-purge.php#L818-L831) + + + +### `{$hook_name}` + +*Support old WP version 4.0.* + +Fires functions attached to a deprecated filter hook. + +When a filter hook is deprecated, the apply_filters() call is replaced with +apply_filters_deprecated(), which triggers a deprecation notice and then fires +the original filter hook. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | `array` | Array of additional function arguments to be passed to apply_filters(). + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 169](includes/functions.php#L169-L189) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 145](class/class-mainwp-child-woocommerce-status.php#L145-L145) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 168](class/class-mainwp-child-woocommerce-status.php#L168-L168) + + + +### `mainwp_child_woocom_sync_data` + +*Sync Woocommerce data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 113](class/class-mainwp-child-woocommerce-status.php#L113-L213) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 258](class/class-mainwp-child-woocommerce-status.php#L258-L258) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 277](class/class-mainwp-child-woocommerce-status.php#L277-L277) + + + +### `mainwp_child_woocom_report_data` + +*Woocommerce report data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 220](class/class-mainwp-child-woocommerce-status.php#L220-L319) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 522](class/class-mainwp-child-woocommerce-status.php#L522-L522) + + + +### `woocommerce_dashboard_status_widget_sales_query` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$query` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 527](class/class-mainwp-child-woocommerce-status.php#L527-L527) + + + +### `woocommerce_reports_order_statuses` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('completed', 'processing', 'on-hold')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 536](class/class-mainwp-child-woocommerce-status.php#L536-L536) + + + +### `mainwp_child_woocom_get_data` + +*Get Woocommerce reports old.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-woocommerce-status.php](class/class-mainwp-child-woocommerce-status.php), [line 490](class/class-mainwp-child-woocommerce-status.php#L490-L585) + + + +### `sanitize_file_name_chars` + +*Filters the list of characters to remove from a filename.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$special_chars` | `string[]` | Array of characters to remove. +`$filename_raw` | `string` | The original filename to be sanitized. + +**Changelog** + +Version | Description +------- | ----------- +`2.8.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-misc.php](class/class-mainwp-child-misc.php), [line 557](class/class-mainwp-child-misc.php#L557-L565) + + + +### `sanitize_file_name` + +*Filters a sanitized filename string.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$filename` | `string` | Sanitized filename. +`$filename_raw` | `string` | The filename prior to sanitization. + +**Changelog** + +Version | Description +------- | ----------- +`2.8.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-misc.php](class/class-mainwp-child-misc.php), [line 572](class/class-mainwp-child-misc.php#L572-L580) + + + +### `mainwp-site-sync-others-data` + +*Get other stats data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($information, $othersData)` | | +`'4.0.7.1'` | | +`'mainwp_site_sync_others_data'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 466](class/class-mainwp-child-stats.php#L466-L482) + + + +### `mainwp_site_sync_others_data` + +*Get other stats data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | `array` | Child Site Stats array. +`$othersData` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 466](class/class-mainwp-child-stats.php#L466-L483) + + + +### `mainwp_child_unique_id` + +*Method get_site_unique_id()* + +Get site unique id. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uniqueId` | | + +Source: [../sources/mainwp-child/class/class-mainwp-helper.php](class/class-mainwp-helper.php), [line 744](class/class-mainwp-helper.php#L744-L757) + + + +### `mainwp_child_contact_support_mail_headers` + +*Send support email.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$headers` | | +`$email` | | +`$from` | | + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 740](class/class-mainwp-utility.php#L740-L774) + + + diff --git a/mainwp-hooks-old/child/filters/security-monitoring/index.md b/mainwp-hooks-old/child/filters/security-monitoring/index.md new file mode 100644 index 0000000..6f8c136 --- /dev/null +++ b/mainwp-hooks-old/child/filters/security-monitoring/index.md @@ -0,0 +1,274 @@ +# Security & Monitoring Filters + +Hooks related to security checks, uptime monitoring, and site health. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`phpmailer_init`](#phpmailer_init) - Check destination email. +- [`mainwp_reports_sucuri_scan`](#mainwp_reports_sucuri_scan) - Save sucuri stream. +- [`mainwp_reports_wordfence_scan`](#mainwp_reports_wordfence_scan) - Method do_reports_log() +- [`updraftplus_checkzip_{$type}`](#updraftplus_checkzip_type) - Restore all downloaded backups from history. +- [`updraftplus_checkzip_end_{$type}`](#updraftplus_checkzip_end_type) - Restore all downloaded backups from history. +- [`check_passwords`](#check_passwords) - Edit existing user. +- [`admin_enqueue_scripts`](#admin_enqueue_scripts) - Method is_asset_in_admin() +- [`mainwp_child_actions_saved_number_of_days`](#mainwp_child_actions_saved_number_of_days) - Method to check actions data. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse old database file. +- [`updraftplus_dbscan_urlchange_www_append_warning`](#updraftplus_dbscan_urlchange_www_append_warning) - *Arguments* +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse database file. +- [`updraftplus_dbscan_urlchange`](#updraftplus_dbscan_urlchange) - Analyse database file. +- [`gpi_check_status`](#gpi_check_status) - Method save_settings() +- [`gpi_check_status`](#gpi_check_status) - Method do_check_pages() +- [`gpi_check_status`](#gpi_check_status) - Method get_sync_data() + +## Hook Details + +### `phpmailer_init` + +*Check destination email.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$phpmailer)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1311](class/class-mainwp-child-back-wp-up.php#L1311-L1363) + + + +### `mainwp_reports_sucuri_scan` + +*Save sucuri stream.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$result` | | +`$scan_status` | | +`$scan_data` | | +`$scan_time` | | + +Source: [../sources/mainwp-child/class/class-mainwp-client-report.php](class/class-mainwp-client-report.php), [line 179](class/class-mainwp-client-report.php#L179-L191) + + + +### `mainwp_reports_wordfence_scan` + +*Method do_reports_log()* + +Add Wordfence data to the reports reports database table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$ctime` | | +`$details` | | +`$result` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wordfence.php](class/class-mainwp-child-wordfence.php), [line 309](class/class-mainwp-child-wordfence.php#L309-L371) + + + +### `updraftplus_checkzip_{$type}` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($updraft_dir . '/' . $file, &$mess, &$warn, &$err)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L2036) + + + +### `updraftplus_checkzip_end_{$type}` + +*Restore all downloaded backups from history.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$mess, &$warn, &$err)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 1898](class/class-mainwp-child-updraft-plus-backups.php#L1898-L2040) + + + +### `check_passwords` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user->user_login, &$pass1, &$pass2)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L395) + + + +### `admin_enqueue_scripts` + +*Method is_asset_in_admin()* + +Check if the CSS/JS file is loaded in admin or not. + + +Source: [../sources/mainwp-child/class/class-mainwp-child-html-regression.php](class/class-mainwp-child-html-regression.php), [line 224](class/class-mainwp-child-html-regression.php#L224-L238) + + + +### `mainwp_child_actions_saved_number_of_days` + +*Method to check actions data.* + +Clear old the action info. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$days_number` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-actions.php](class/class-mainwp-child-actions.php), [line 251](class/class-mainwp-child-actions.php#L251-L264) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse old database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('Warning: %s', 'updraftplus'), '' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . '')` | | +`$old_siteurl` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2216](class/class-mainwp-child-updraft-plus-backups.php#L2216-L2367) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse old database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`sprintf(esc_html__('Warning: %s', 'updraftplus'), '' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . '')` | | +`$old_home` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2216](class/class-mainwp-child-updraft-plus-backups.php#L2216-L2377) + + + +### `updraftplus_dbscan_urlchange_www_append_warning` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2639](class/class-mainwp-child-updraft-plus-backups.php#L2639-L2639) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . ''` | | +`$old_siteurl` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2472](class/class-mainwp-child-updraft-plus-backups.php#L2472-L2645) + + + +### `updraftplus_dbscan_urlchange` + +*Analyse database file.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'' . esc_html__('This backup set is from a different site - this is not a restoration, but a migration. You need the Migrator add-on in order to make this work.', 'updraftplus') . ''` | | +`$old_home` | | +`$res` | `string` | UpdraftPlus response. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updraft-plus-backups.php](class/class-mainwp-child-updraft-plus-backups.php), [line 2472](class/class-mainwp-child-updraft-plus-backups.php#L2472-L2664) + + + +### `gpi_check_status` + +*Method save_settings()* + +Save the plugin settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 252](class/class-mainwp-child-pagespeed.php#L252-L265) + + + +### `gpi_check_status` + +*Method do_check_pages()* + +Check or force re-check pages page speed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 429](class/class-mainwp-child-pagespeed.php#L429-L441) + + + +### `gpi_check_status` + +*Method get_sync_data()* + +Get the Google Pagespeed Insights plugin data and store it in the sync request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-pagespeed.php](class/class-mainwp-child-pagespeed.php), [line 452](class/class-mainwp-child-pagespeed.php#L452-L471) + + + diff --git a/mainwp-hooks-old/child/filters/system-settings/index.md b/mainwp-hooks-old/child/filters/system-settings/index.md new file mode 100644 index 0000000..11389b9 --- /dev/null +++ b/mainwp-hooks-old/child/filters/system-settings/index.md @@ -0,0 +1,109 @@ +# System & Settings Filters + +Hooks related to general settings and system configuration. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`deprecated_hook_run`](#deprecated_hook_run) - Support old WP version 4.0. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Add support for the reporting system. +- [`mainwp_child_reports_log`](#mainwp_child_reports_log) - Method do_site_stats() +- [`save_settings_revision_limit_wptc`](#save_settings_revision_limit_wptc) - Save the WP Time Capsule settings - backups section. +- [`mainwp_child_branding_init_options`](#mainwp_child_branding_init_options) - Filter 'mainwp_child_branding_init_options' + +## Hook Details + +### `deprecated_hook_run` + +*Support old WP version 4.0.* + +Fires functions attached to a deprecated filter hook. + +When a filter hook is deprecated, the apply_filters() call is replaced with +apply_filters_deprecated(), which triggers a deprecation notice and then fires +the original filter hook. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$hook_name` | `string` | The name of the filter hook. +`$replacement` | `string` | Optional. The hook that should have been used. Default empty. +`$version` | `string` | The version of WordPress that deprecated the hook. +`$message` | `string` | Optional. A message regarding the change. Default empty. + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 169](includes/functions.php#L169-L188) + + + +### `mainwp_child_reports_log` + +*Add support for the reporting system.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wptimecapsule'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 998](class/class-mainwp-child-timecapsule.php#L998-L1008) + + + +### `mainwp_child_reports_log` + +*Method do_site_stats()* + +Add support for the reporting system. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wordfence'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wordfence.php](class/class-mainwp-child-wordfence.php), [line 300](class/class-mainwp-child-wordfence.php#L300-L306) + + + +### `save_settings_revision_limit_wptc` + +*Save the WP Time Capsule settings - backups section.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data['revision_limit']` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1674](class/class-mainwp-child-timecapsule.php#L1674-L1702) + + + +### `mainwp_child_branding_init_options` + +*Filter 'mainwp_child_branding_init_options'* + +Set custom branding setting through the filter. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 106](class/class-mainwp-child-branding.php#L106-L113) + + + diff --git a/mainwp-hooks-old/child/filters/updates-maintenance/index.md b/mainwp-hooks-old/child/filters/updates-maintenance/index.md new file mode 100644 index 0000000..c30efe5 --- /dev/null +++ b/mainwp-hooks-old/child/filters/updates-maintenance/index.md @@ -0,0 +1,629 @@ +# Updates & Maintenance Filters + +Hooks for managing updates to plugins, themes, and WordPress core. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`update_white_labling_settings_wptc`](#update_white_labling_settings_wptc) - Process the sigin response info. +- [`mainwp_child_plugin_action`](#mainwp_child_plugin_action) - Method delete_plugins() +- [`mainwp_child_theme_action`](#mainwp_child_theme_action) - Method theme_action() +- [`mainwp_child_installPluginTheme`](#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](#mainwp_child_install_plugin_theme) - Method after_installed() +- [`mainwp_child_installPluginTheme`](#mainwp_child_installPluginTheme) - Method after_installed() +- [`mainwp_child_install_plugin_theme`](#mainwp_child_install_plugin_theme) - Method after_installed() +- [`woocommerce_hide_{$name}_notice`](#woocommerce_hide_name_notice) - Hide a single notice. +- [`user_profile_update_errors`](#user_profile_update_errors) - Edit existing user. +- [`mainwp_reports_maintenance`](#mainwp_reports_maintenance) - Method maintenance_db() +- [`mainwp_child_before_update_plugin_theme`](#mainwp_child_before_update_plugin_theme) - Action before update plugin, theme. +- [`mainwp_child_before_update`](#mainwp_child_before_update) - Method to_update_plugins() +- [`mainwp_child_after_update`](#mainwp_child_after_update) - Method to_update_plugins() +- [`mainwp_child_before_update`](#mainwp_child_before_update) - Method to_upgrade_themes() +- [`mainwp_child_after_update`](#mainwp_child_after_update) - Method to_upgrade_themes() +- [`mainwp_child_before_update_wp`](#mainwp_child_before_update_wp) - Action before update WP. +- [`swis_clear_complete_cache`](#swis_clear_complete_cache) - Purge Swis Performance plugin cache. +- [`mainwp_child_deactivation`](#mainwp_child_deactivation) - Method deactivation() +- [`mainwp_before_post_update`](#mainwp_before_post_update) - Hook: `mainwp_before_post_update` +- [`mainwp_child_plugin_health_check_max_plugins_to_batch`](#mainwp_child_plugin_health_check_max_plugins_to_batch) - *Arguments* +- [`active_plugins`](#active_plugins) - *Arguments* +- [`active_plugins`](#active_plugins) - *Arguments* +- [`get_backup_before_update_setting_wptc`](#get_backup_before_update_setting_wptc) - Get backup process progress. +- [`mainwp_child_theme_health_check_max_themes_to_batch`](#mainwp_child_theme_health_check_max_themes_to_batch) - *Arguments* +- [`mainwp_child_hide_update_notice`](#mainwp_child_hide_update_notice) - After admin bar render. +- [`mainwp_child_hide_update_notice`](#mainwp_child_hide_update_notice) - Admin footer text. +- [`mwp_premium_update_check`](#mwp_premium_update_check) - Check for premium updates. +- [`mwp_premium_update_notification`](#mwp_premium_update_notification) - Check for premium updates. +- [`mainwp-child-get-total-size`](#mainwp-child-get-total-size) - Get total size of Child Site installation. +- [`mainwp_child_get_total_size`](#mainwp_child_get_total_size) - Get total size of Child Site installation. +- [`mainwp_child_forced_get_total_size`](#mainwp_child_forced_get_total_size) - Get total size of Child Site installation. +- [`mwp_premium_perform_update`](#mwp_premium_perform_update) - Method upgrade_plugin() +- [`plugins_api`](#plugins_api) - Method to_update_plugins() +- [`mwp_premium_perform_update`](#mwp_premium_perform_update) - Method upgrade_theme() +- [`mainwp_child_plugin_row_meta`](#mainwp_child_plugin_row_meta) - MainWP Child Plugin meta data. +- [`mainwp_child_mu_plugin_enabled`](#mainwp_child_mu_plugin_enabled) - Method deactivation() +- [`mainwp_child_mu_plugin_enabled`](#mainwp_child_mu_plugin_enabled) - Method delete_connection_data() +- [`mainwp_child_db_updater_sync_data`](#mainwp_child_db_updater_sync_data) - Get sync data. + +## Hook Details + +### `update_white_labling_settings_wptc` + +*Process the sigin response info.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cust_req_info` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 1233](class/class-mainwp-child-timecapsule.php#L1233-L1257) + + + +### `mainwp_child_plugin_action` + +*Method delete_plugins()* + +Delete a plugin from the Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 158](class/class-mainwp-child-install.php#L158-L219) + + + +### `mainwp_child_theme_action` + +*Method theme_action()* + +Theme Activate, Deactivate & Delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 230](class/class-mainwp-child-install.php#L230-L324) + + + +### `mainwp_child_installPluginTheme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($args)` | | +`'4.0.7.1'` | | +`'mainwp_child_install_plugin_theme'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L531) + + + +### `mainwp_child_install_plugin_theme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L532) + + + +### `mainwp_child_installPluginTheme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($args)` | | +`'4.0.7.1'` | | +`'mainwp_child_install_plugin_theme'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L555) + + + +### `mainwp_child_install_plugin_theme` + +*Method after_installed()* + +After plugin or theme has been installed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-install.php](class/class-mainwp-child-install.php), [line 486](class/class-mainwp-child-install.php#L486-L556) + + + +### `woocommerce_hide_{$name}_notice` + +*Hide a single notice.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-db-updater-wc.php](class/class-mainwp-child-db-updater-wc.php), [line 222](class/class-mainwp-child-db-updater-wc.php#L222-L230) + + + +### `user_profile_update_errors` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(&$errors, $update, &$user)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L434) + + + +### `mainwp_reports_maintenance` + +*Method maintenance_db()* + +Child site database maintenance. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$message` | | +`$log_time` | | +`$details` | | +`$result` | | +`$max_revisions` | `int` | Maximum revisions to keep. + +Source: [../sources/mainwp-child/class/class-mainwp-child-maintenance.php](class/class-mainwp-child-maintenance.php), [line 92](class/class-mainwp-child-maintenance.php#L92-L198) + + + +### `mainwp_child_before_update_plugin_theme` + +*Action before update plugin, theme.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 115](class/class-mainwp-child-updates.php#L115-L120) + + + +### `mainwp_child_before_update` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`$plugins` | `array` | An array containing plugins to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L374) + + + +### `mainwp_child_after_update` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`$result` | | +`$plugins` | `array` | An array containing plugins to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L379) + + + +### `mainwp_child_before_update` + +*Method to_upgrade_themes()* + +Complete the themes update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`$themes` | `array` | An array containing themes to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 547](class/class-mainwp-child-updates.php#L547-L583) + + + +### `mainwp_child_after_update` + +*Method to_upgrade_themes()* + +Complete the themes update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`$result` | | +`$themes` | `array` | An array containing themes to be updated. + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 547](class/class-mainwp-child-updates.php#L547-L589) + + + +### `mainwp_child_before_update_wp` + +*Action before update WP.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 1171](class/class-mainwp-child-updates.php#L1171-L1176) + + + +### `swis_clear_complete_cache` + +*Purge Swis Performance plugin cache.* + + +Source: [../sources/mainwp-child/class/class-mainwp-child-cache-purge.php](class/class-mainwp-child-cache-purge.php), [line 369](class/class-mainwp-child-cache-purge.php#L369-L389) + + + +### `mainwp_child_deactivation` + +*Method deactivation()* + +Deactivate the MainWP Child plugin. + + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 460](class/class-mainwp-child.php#L460-L477) + + + +### `mainwp_before_post_update` + +*Hook: `mainwp_before_post_update`* + +Runs before creating or updating a post via MainWP dashboard. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$new_post` | `array` | � Post data array. +`$post_custom` | `array` | � Post custom meta data. +`$post_category` | `string` | � Post categories. +`$post_tags` | `string` | � Post tags. +`$others` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-posts.php](class/class-mainwp-child-posts.php), [line 777](class/class-mainwp-child-posts.php#L777-L787) + +## Filters + + + +### `mainwp_child_plugin_health_check_max_plugins_to_batch` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-plugins-check.php](class/class-mainwp-child-plugins-check.php), [line 286](class/class-mainwp-child-plugins-check.php#L286-L286) + + + +### `active_plugins` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`get_option('active_plugins')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wp-seopress.php](class/class-mainwp-child-wp-seopress.php), [line 59](class/class-mainwp-child-wp-seopress.php#L59-L59) + + + +### `active_plugins` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`get_option('active_plugins')` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-wp-seopress.php](class/class-mainwp-child-wp-seopress.php), [line 77](class/class-mainwp-child-wp-seopress.php#L77-L77) + + + +### `get_backup_before_update_setting_wptc` + +*Get backup process progress.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-timecapsule.php](class/class-mainwp-child-timecapsule.php), [line 497](class/class-mainwp-child-timecapsule.php#L497-L548) + + + +### `mainwp_child_theme_health_check_max_themes_to_batch` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-themes-check.php](class/class-mainwp-child-themes-check.php), [line 253](class/class-mainwp-child-themes-check.php#L253-L253) + + + +### `mainwp_child_hide_update_notice` + +*After admin bar render.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding-render.php](class/class-mainwp-child-branding-render.php), [line 207](class/class-mainwp-child-branding-render.php#L207-L211) + + + +### `mainwp_child_hide_update_notice` + +*Admin footer text.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding-render.php](class/class-mainwp-child-branding-render.php), [line 261](class/class-mainwp-child-branding-render.php#L261-L265) + + + +### `mwp_premium_update_check` + +*Check for premium updates.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 685](class/class-mainwp-child-stats.php#L685-L697) + + + +### `mwp_premium_update_notification` + +*Check for premium updates.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 685](class/class-mainwp-child-stats.php#L685-L708) + + + +### `mainwp-child-get-total-size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(true)` | | +`'4.0.7.1'` | | +`'mainwp_child_get_total_size'` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L955) + + + +### `mainwp_child_get_total_size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$get_file_size` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L956) + + + +### `mainwp_child_forced_get_total_size` + +*Get total size of Child Site installation.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-stats.php](class/class-mainwp-child-stats.php), [line 945](class/class-mainwp-child-stats.php#L945-L957) + + + +### `mwp_premium_perform_update` + +*Method upgrade_plugin()* + +Initiate the plugin update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 188](class/class-mainwp-child-updates.php#L188-L271) + + + +### `plugins_api` + +*Method to_update_plugins()* + +Complete the plugins update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`'plugin_information'` | | +`array('slug' => $plugin)` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 356](class/class-mainwp-child-updates.php#L356-L393) + + + +### `mwp_premium_perform_update` + +*Method upgrade_theme()* + +Execute themes updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-updates.php](class/class-mainwp-child-updates.php), [line 464](class/class-mainwp-child-updates.php#L464-L521) + + + +### `mainwp_child_plugin_row_meta` + +*MainWP Child Plugin meta data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugin_meta` | `array` | Plugin meta. +`$plugin_file` | `string` | Plugin file. +`$mainWPChild->plugin_slug` | | + +Source: [../sources/mainwp-child/class/class-mainwp-pages.php](class/class-mainwp-pages.php), [line 295](class/class-mainwp-pages.php#L295-L315) + + + +### `mainwp_child_mu_plugin_enabled` + +*Method deactivation()* + +Deactivate the MainWP Child plugin. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 460](class/class-mainwp-child.php#L460-L471) + + + +### `mainwp_child_mu_plugin_enabled` + +*Method delete_connection_data()* + +Delete connection data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child.php](class/class-mainwp-child.php), [line 481](class/class-mainwp-child.php#L481-L491) + + + +### `mainwp_child_db_updater_sync_data` + +*Get sync data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-db-updater.php](class/class-mainwp-child-db-updater.php), [line 100](class/class-mainwp-child-db-updater.php#L100-L104) + + +

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0

+ + + diff --git a/mainwp-hooks-old/child/filters/user-operations/index.md b/mainwp-hooks-old/child/filters/user-operations/index.md new file mode 100644 index 0000000..25fe3b7 --- /dev/null +++ b/mainwp-hooks-old/child/filters/user-operations/index.md @@ -0,0 +1,186 @@ +# User Operations Filters + +Hooks related to user management on Child sites. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Child Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Filter whether the user who generated the nonce is logged out. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Create security nounce without session. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Verify nonce without session. +- [`mainwp_child_actions_save_data`](#mainwp_child_actions_save_data) - Log handler. +- [`mainwp_branding_role_cap_enable_contact_form`](#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`mainwp_branding_role_cap_enable_contact_form`](#mainwp_branding_role_cap_enable_contact_form) - Filter 'mainwp_branding_role_cap_enable_contact_form' +- [`illegal_user_logins`](#illegal_user_logins) - Edit existing user. +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Method create_nonce_without_session() +- [`nonce_user_logged_out`](#nonce_user_logged_out) - Method verify_nonce_without_session() + +## Hook Details + +### `nonce_user_logged_out` + +*Filter whether the user who generated the nonce is logged out.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | `int` | ID of the nonce-owning user. +`$action` | `string` | The nonce action. + +**Changelog** + +Version | Description +------- | ----------- +`3.5.0` | + +Source: [../sources/mainwp-child/includes/functions.php](includes/functions.php), [line 34](includes/functions.php#L34-L42) + + + +### `nonce_user_logged_out` + +*Create security nounce without session.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `int` | Action performing. + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1074](class/class-mainwp-child-back-wp-up.php#L1074-L1085) + + + +### `nonce_user_logged_out` + +*Verify nonce without session.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `int` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-child-back-wp-up.php](class/class-mainwp-child-back-wp-up.php), [line 1093](class/class-mainwp-child-back-wp-up.php#L1093-L1106) + + + +### `mainwp_child_actions_save_data` + +*Log handler.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$context` | `string` | Context of the event. +`$action` | `string` | Action of the event. +`$args` | `array` | sprintf (and extra) arguments to use. +`$message` | `string` | sprintf-ready error message string. +`$user_id` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-actions.php](class/class-mainwp-child-actions.php), [line 721](class/class-mainwp-child-actions.php#L721-L761) + + + +### `mainwp_branding_role_cap_enable_contact_form` + +*Filter 'mainwp_branding_role_cap_enable_contact_form'* + +Manage the support form visibility. Set false to hide the support form page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 560](class/class-mainwp-child-branding.php#L560-L567) + + + +### `mainwp_branding_role_cap_enable_contact_form` + +*Filter 'mainwp_branding_role_cap_enable_contact_form'* + +Manage the support form visibility. Set false to hide the support form page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-child/class/class-mainwp-child-branding.php](class/class-mainwp-child-branding.php), [line 1163](class/class-mainwp-child-branding.php#L1163-L1170) + + + +### `illegal_user_logins` + +*Edit existing user.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-child/class/class-mainwp-child-users.php](class/class-mainwp-child-users.php), [line 303](class/class-mainwp-child-users.php#L303-L418) + + + +### `nonce_user_logged_out` + +*Method create_nonce_without_session()* + +Create nonce without session. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `mixed` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 812](class/class-mainwp-utility.php#L812-L825) + + + +### `nonce_user_logged_out` + +*Method verify_nonce_without_session()* + +Verify nonce without session. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$uid` | | +`$action` | `mixed` | Action to perform. + +Source: [../sources/mainwp-child/class/class-mainwp-utility.php](class/class-mainwp-utility.php), [line 834](class/class-mainwp-utility.php#L834-L849) + + + diff --git a/mainwp-hooks-old/child/index.md b/mainwp-hooks-old/child/index.md index fb573aa..01d8738 100644 --- a/mainwp-hooks-old/child/index.md +++ b/mainwp-hooks-old/child/index.md @@ -4,63 +4,30 @@ This section provides documentation for all hooks (actions and filters) availabl ## Actions -[Child Actions](actions.md) allow you to add custom functionality at specific points in the MainWP Child execution. Actions are triggered at specific points during the execution of MainWP Child, and you can use them to add your own functionality. +[Child Actions](actions/index.md) allow you to add custom functionality at specific points in the MainWP Child execution. -Common use cases for Child actions include: -- Adding custom functionality to the Child site -- Performing additional tasks when the Child site is connected to a Dashboard -- Extending the Child plugin with custom features -- Integrating with other plugins or services on the Child site +### Action Categories + +- [Connection & Authentication](actions/connection-authentication/index.md) (7 hooks) - Hooks for establishing and managing connections between Dashboard and Child sites. +- [Updates & Maintenance](actions/updates-maintenance/index.md) (38 hooks) - Hooks for managing updates to plugins, themes, and WordPress core. +- [Content Handling](actions/content-handling/index.md) (10 hooks) - Hooks for managing content on Child sites. +- [User Operations](actions/user-operations/index.md) (9 hooks) - Hooks related to user management on Child sites. +- [Backups & Restoration](actions/backups-restoration/index.md) (30 hooks) - Hooks for backup creation, management, and restoration processes. +- [Security & Monitoring](actions/security-monitoring/index.md) (16 hooks) - Hooks related to security checks, uptime monitoring, and site health. +- [System & Settings](actions/system-settings/index.md) (5 hooks) - Hooks related to general settings and system configuration. +- [Miscellaneous](actions/misc/index.md) (23 hooks) - Miscellaneous hooks that don't fit into other categories. ## Filters -[Child Filters](filters.md) allow you to modify data or output at specific points in the MainWP Child execution. Filters are used to modify data before it is used or sent back to the Dashboard. +[Child Filters](filters/index.md) allow you to modify data or output at specific points in the MainWP Child execution. -Common use cases for Child filters include: -- Modifying the data sent to the Dashboard -- Changing how requests from the Dashboard are processed -- Customizing the behavior of Child features -- Adding or removing functionality from the Child plugin +### Filter Categories -## Examples - -### Using Child Actions - -```php -// Add custom functionality after the Child plugin is loaded -add_action('mainwp_child_loaded', 'my_custom_child_functionality'); - -function my_custom_child_functionality() { - // Your custom code here - // This will run after the MainWP Child plugin is fully loaded -} -``` - -### Using Child Filters - -```php -// Modify the site info sent to the Dashboard -add_filter('mainwp_child_site_info', 'my_custom_site_info'); - -function my_custom_site_info($site_info) { - // Add custom information to the site info - $site_info['custom_data'] = 'Custom value'; - - return $site_info; -} -``` - -## Security Considerations - -When working with MainWP Child hooks, it's important to consider security implications: - -1. **Authentication**: Always ensure that requests are properly authenticated before performing sensitive operations. -2. **Data Validation**: Validate and sanitize all data, especially data received from external sources. -3. **Capability Checks**: Use WordPress capability checks to ensure users have appropriate permissions. -4. **Nonce Verification**: Use nonces to protect against CSRF attacks. - -## Related Resources - -- [MainWP Developer Documentation](https://mainwp.dev/) -- [MainWP Child GitHub Repository](https://github.com/mainwp/mainwp-child) -- [WordPress Plugin Developer Handbook](https://developer.wordpress.org/plugins/) +- [Connection & Authentication](filters/connection-authentication/index.md) (7 hooks) - Hooks for establishing and managing connections between Dashboard and Child sites. +- [Updates & Maintenance](filters/updates-maintenance/index.md) (38 hooks) - Hooks for managing updates to plugins, themes, and WordPress core. +- [Content Handling](filters/content-handling/index.md) (10 hooks) - Hooks for managing content on Child sites. +- [User Operations](filters/user-operations/index.md) (9 hooks) - Hooks related to user management on Child sites. +- [Backups & Restoration](filters/backups-restoration/index.md) (30 hooks) - Hooks for backup creation, management, and restoration processes. +- [Security & Monitoring](filters/security-monitoring/index.md) (16 hooks) - Hooks related to security checks, uptime monitoring, and site health. +- [System & Settings](filters/system-settings/index.md) (5 hooks) - Hooks related to general settings and system configuration. +- [Miscellaneous](filters/misc/index.md) (23 hooks) - Miscellaneous hooks that don't fit into other categories. diff --git a/mainwp-hooks-old/dashboard/actions/api-remote/index.md b/mainwp-hooks-old/dashboard/actions/api-remote/index.md new file mode 100644 index 0000000..8655a2e --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/api-remote/index.md @@ -0,0 +1,770 @@ +# API & Remote Communication Actions + +Hooks for API endpoints and remote communication with child sites. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`cloudways_api_form_top`](#cloudways_api_form_top) - Action: cloudways_api_form_top +- [`cloudways_api_form_bottom`](#cloudways_api_form_bottom) - Action: cloudways_api_form_bottom +- [`gridpane_api_form_top`](#gridpane_api_form_top) - Action: gridpane_api_form_top +- [`gridpane_api_form_bottom`](#gridpane_api_form_bottom) - Action: gridpane_api_form_bottom +- [`vultr_api_form_top`](#vultr_api_form_top) - Action: vultr_api_form_top +- [`vultr_api_form_bottom`](#vultr_api_form_bottom) - Action: vultr_api_form_bottom +- [`linode_api_form_top`](#linode_api_form_top) - Action: linode_api_form_top +- [`linode_api_form_bottom`](#linode_api_form_bottom) - Action: linode_api_form_bottom +- [`digitalocean_api_form_top`](#digitalocean_api_form_top) - Action: digitalocean_api_form_top +- [`digitalocean_api_form_bottom`](#digitalocean_api_form_bottom) - Action: digitalocean_api_form_bottom +- [`cpanel_api_form`](#cpanel_api_form) - Action: cpanel_api_form +- [`cpanel_api_form_bottom`](#cpanel_api_form_bottom) - Action: cpanel_api_form_bottom +- [`plesk_api_form_top`](#plesk_api_form_top) - Action: plesk_api_form_top +- [`plesk_api_form_bottom`](#plesk_api_form_bottom) - Action: plesk_api_form_bottom +- [`kinsta_api_form_top`](#kinsta_api_form_top) - Action: kinsta_api_form_top +- [`kinsta_api_form_bottom`](#kinsta_api_form_bottom) - Action: kinsta_api_form_bottom +- [`rest_api_form_top`](#rest_api_form_top) - Action: rest_api_form_top +- [`rest_api_form_bottom`](#rest_api_form_bottom) - Action: rest_api_form_bottom +- [`mainwp_rest_api_help_item`](#mainwp_rest_api_help_item) - Action: mainwp_rest_api_help_item +- [`mainwp_is_rest_api_request`](#mainwp_is_rest_api_request) - Whether this is a REST API request. +- [`mainwp_rest_is_request_to_rest_api`](#mainwp_rest_is_request_to_rest_api) - Check if is request to our REST API. +- [`mainwp_rest_api_v2_enabled`](#mainwp_rest_api_v2_enabled) - Hook into WordPress ready to init the REST API as needed. +- [`mainwp_rest_api_get_rest_namespaces`](#mainwp_rest_api_get_rest_namespaces) - Get API namespaces - new namespaces should be registered here. +- [`mainwp_rest_api_disabled`](#mainwp_rest_api_disabled) - Method is_rest_api_enabled() +- [`mainwp_rest_batch_items_limit`](#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_{$type}_object_query`](#mainwp_rest_type_object_query) - Filter the query arguments for a request. +- [`mainwp_rest_collection_params`](#mainwp_rest_collection_params) - Filter collection parameters for the controller. +- [`mainwp_rest_batch_items_limit`](#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_prepare_site`](#mainwp_rest_prepare_site) - Filterobject returned from the REST API. +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Fetch uptime urls. +- [`mainwp_remote_destination_info`](#mainwp_remote_destination_info) - Method mainwp_backup_upload_checkstatus() +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method try visit. +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method fetch_urls_authed() +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method fetch_url_site() +- [`mainwp_rest_api_enabled`](#mainwp_rest_api_enabled) - Method init_rest_api() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_all_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_client_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_site_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_costs_callback() +- [`mainwp_rest_cost_collection_params`](#mainwp_rest_cost_collection_params) - Filter collection parameters. +- [`mainwp_rest_prepare_cost`](#mainwp_rest_prepare_cost) - Filter product reviews object returned from the REST API. +- [`https_local_ssl_verify`](#https_local_ssl_verify) - *Arguments* + +## Hook Details + +### `cloudways_api_form_top` + +*Action: cloudways_api_form_top* + +Fires at the top of CloudWays API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 274](modules/api-backups/classes/class-api-backups-settings.php#L274-L281) + + + +### `cloudways_api_form_bottom` + +*Action: cloudways_api_form_bottom* + +Fires at the bottom of CloudWays API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 317](modules/api-backups/classes/class-api-backups-settings.php#L317-L324) + + + +### `gridpane_api_form_top` + +*Action: gridpane_api_form_top* + +Fires at the top of GridPane API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 350](modules/api-backups/classes/class-api-backups-settings.php#L350-L357) + + + +### `gridpane_api_form_bottom` + +*Action: gridpane_api_form_bottom* + +Fires at the bottom of GridPane API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 383](modules/api-backups/classes/class-api-backups-settings.php#L383-L390) + + + +### `vultr_api_form_top` + +*Action: vultr_api_form_top* + +Fires at the top of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 417](modules/api-backups/classes/class-api-backups-settings.php#L417-L424) + + + +### `vultr_api_form_bottom` + +*Action: vultr_api_form_bottom* + +Fires at the bottom of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 450](modules/api-backups/classes/class-api-backups-settings.php#L450-L457) + + + +### `linode_api_form_top` + +*Action: linode_api_form_top* + +Fires at the top of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 483](modules/api-backups/classes/class-api-backups-settings.php#L483-L490) + + + +### `linode_api_form_bottom` + +*Action: linode_api_form_bottom* + +Fires at the bottom of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 518](modules/api-backups/classes/class-api-backups-settings.php#L518-L525) + + + +### `digitalocean_api_form_top` + +*Action: digitalocean_api_form_top* + +Fires at the top of DigitalOcean API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 551](modules/api-backups/classes/class-api-backups-settings.php#L551-L558) + + + +### `digitalocean_api_form_bottom` + +*Action: digitalocean_api_form_bottom* + +Fires at the bottom of DigitalOcean API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 586](modules/api-backups/classes/class-api-backups-settings.php#L586-L593) + + + +### `cpanel_api_form` + +*Action: cpanel_api_form* + +Fires at the top of cPanel API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 618](modules/api-backups/classes/class-api-backups-settings.php#L618-L625) + + + +### `cpanel_api_form_bottom` + +*Action: cpanel_api_form_bottom* + +Fires at the bottom of cPanel API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 685](modules/api-backups/classes/class-api-backups-settings.php#L685-L692) + + + +### `plesk_api_form_top` + +*Action: plesk_api_form_top* + +Fires at the top of Plesk API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 718](modules/api-backups/classes/class-api-backups-settings.php#L718-L725) + + + +### `plesk_api_form_bottom` + +*Action: plesk_api_form_bottom* + +Fires at the bottom of Plesk API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 762](modules/api-backups/classes/class-api-backups-settings.php#L762-L769) + + + +### `kinsta_api_form_top` + +*Action: kinsta_api_form_top* + +Fires at the top of Kinsta API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 795](modules/api-backups/classes/class-api-backups-settings.php#L795-L802) + + + +### `kinsta_api_form_bottom` + +*Action: kinsta_api_form_bottom* + +Fires at the bottom of Kinsta API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 851](modules/api-backups/classes/class-api-backups-settings.php#L851-L858) + + + +### `rest_api_form_top` + +*Action: rest_api_form_top* + +Fires at the top of REST API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 850](pages/page-mainwp-rest-api-page.php#L850-L857) + + + +### `rest_api_form_bottom` + +*Action: rest_api_form_bottom* + +Fires at the bottom of REST API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 936](pages/page-mainwp-rest-api-page.php#L936-L943) + + + +### `mainwp_rest_api_help_item` + +*Action: mainwp_rest_api_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the REST API page. + +Suggested HTML markup: + +

Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 1260](pages/page-mainwp-rest-api-page.php#L1260-L1271) + + + +### `mainwp_is_rest_api_request` + +*Whether this is a REST API request.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$is_rest_api_request` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1.1` | + +Source: [../sources/mainwp-dashboard/includes/class-mainwp-setup.php](includes/class-mainwp-setup.php), [line 81](includes/class-mainwp-setup.php#L81-L86) + + + +### `mainwp_rest_is_request_to_rest_api` + +*Check if is request to our REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_api || $extension_api` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-authentication.php](includes/rest-api/class-mainwp-rest-authentication.php), [line 89](includes/rest-api/class-mainwp-rest-authentication.php#L89-L108) + + + +### `mainwp_rest_api_v2_enabled` + +*Hook into WordPress ready to init the REST API as needed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-server.php](includes/rest-api/class-mainwp-rest-server.php), [line 47](includes/rest-api/class-mainwp-rest-server.php#L47-L51) + + + +### `mainwp_rest_api_get_rest_namespaces` + +*Get API namespaces - new namespaces should be registered here.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('mainwp/v2' => $this->get_v2_controllers())` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-server.php](includes/rest-api/class-mainwp-rest-server.php), [line 89](includes/rest-api/class-mainwp-rest-server.php#L89-L100) + + + +### `mainwp_rest_api_disabled` + +*Method is_rest_api_enabled()* + +Check if Enabled the REST API. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 92](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L92-L99) + + + +### `mainwp_rest_batch_items_limit` + +*Check batch limit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | +`$this->get_normalized_rest_base()` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 189](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L189-L196) + + + +### `mainwp_rest_{$type}_object_query` + +*Filter the query arguments for a request.* + +Enables adding extra arguments or setting defaults for a post +collection request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | `array` | Key value array of query var to query value. +`$request` | `\WP_REST_Request` | The request used. + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 406](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L406-L415) + + + +### `mainwp_rest_collection_params` + +*Filter collection parameters for the controller.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | | +`$this` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 1384](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L1384-L1390) + + + +### `mainwp_rest_batch_items_limit` + +*Check batch limit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | +`$this->get_normalized_rest_base()` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php), [line 471](includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php#L471-L478) + + + +### `mainwp_rest_prepare_site` + +*Filterobject returned from the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The object. +`$item` | `mixed` | The object used to create response. +`$request` | `\WP_REST_Request` | Request object. + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2346](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2346-L2353) + + + +### `mainwp_curl_http_version` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L497) + + + +### `mainwp_remote_destination_info` + +*Method mainwp_backup_upload_checkstatus()* + +Check upload status + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`isset($_POST['remote_destination']) ? sanitize_text_field(wp_unslash($_POST['remote_destination'])) : ''` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-backup-handler.php](class/class-mainwp-post-backup-handler.php), [line 376](class/class-mainwp-post-backup-handler.php#L376-L391) + + + +### `mainwp_curl_http_version` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`false` | | +`$url` | `string` | Child Site URL. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L101) + + + +### `mainwp_curl_http_version` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L894) + + + +### `mainwp_curl_http_version` + +*Method fetch_url_site()* + +M Fetch URL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website ? $website->id : false` | | +`$url` | `string` | URL to fetch from. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1351](class/class-mainwp-connect.php#L1351-L1486) + + + +### `mainwp_rest_api_enabled` + +*Method init_rest_api()* + +Adds an action to create the rest API endpoints if activated in the plugin settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 56](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L56-L62) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_all_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-all-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 167](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L167-L180) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_client_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-client-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 195](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L195-L208) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_site_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-site-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 245](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L245-L258) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 285](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L285-L298) + + + +### `mainwp_rest_cost_collection_params` + +*Filter collection parameters.* + +This filter registers the collection parameter, but does not map the +collection parameter to an internal WP_Comment_Query parameter. Use the +`wc_rest_review_query` filter to set WP_Comment_Query parameters. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | JSON Schema-formatted collection parameters. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 753](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L753-L763) + + + +### `mainwp_rest_prepare_cost` + +*Filter product reviews object returned from the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The object. +`$review` | | +`$request` | `\WP_REST_Request` | Request object. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 947](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L947-L953) + + + +### `https_local_ssl_verify` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 704](pages/page-mainwp-server-information-handler.php#L704-L704) + + + diff --git a/mainwp-hooks-old/dashboard/actions/backups-restoration/index.md b/mainwp-hooks-old/dashboard/actions/backups-restoration/index.md new file mode 100644 index 0000000..ee93cf5 --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/backups-restoration/index.md @@ -0,0 +1,1073 @@ +# Backups & Restoration Actions + +Hooks for backup creation, management, and restoration processes. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_backups_remote_settings`](#mainwp_backups_remote_settings) - Render Backup Options. +- [`mainwp_log_action`](#mainwp_log_action) - Debugging log. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_add_backuptask`](#mainwp_add_backuptask) - Add backup task. +- [`mainwp-getprimarybackup-activated`](#mainwp-getprimarybackup-activated) - Method admin_init() +- [`mainwp_getprimarybackup_activated`](#mainwp_getprimarybackup_activated) - Method admin_init() +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method get_columns() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - This filter is documented in ../pages/page-mainwp-server-information-handler.php +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Renders the Backup Site Dialog. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Renders the Backup Site Dialog. +- [`mainwp_encrypt_key_value`](#mainwp_encrypt_key_value) - Method encrypt_api_keys +- [`mainwp_decrypt_key_value`](#mainwp_decrypt_key_value) - Method decrypt_api_keys +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Render Legacy Backups page. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Render Legacy Backups page. +- [`mainwp_backuptask_column_destination`](#mainwp_backuptask_column_destination) - Column Destination. +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method render_settings() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Method render_settings() +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method render_individual_settings() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Method render_individual_settings() +- [`mainwp_backuptask_remotedestinations`](#mainwp_backuptask_remotedestinations) - Get backup tasks and site ID. +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Gets MainWP Set Options. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Gets MainWP Set Options. + +## Hook Details + +### `mainwp_backups_remote_settings` + +*Render Backup Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('website' => $website->id)` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 135](class/class-mainwp-manage-sites-backup-view.php#L135-L176) + + + +### `mainwp_log_action` + +*Debugging log.* + +Sets logging for debugging purpose. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'API Backups :: ' . $message` | | +`MainWP_Logger::API_BACKUPS_LOG_PRIORITY` | | +`$log_color` | `int` | Log color. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 173](modules/api-backups/classes/class-api-backups-utility.php#L173-L191) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_backup'` | | +`array(&$this, 'ajax_cloudways_action_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L105) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_individual_backup'` | | +`array(&$this, 'ajax_cloudways_action_individual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L106) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_refresh_available_backups'` | | +`array(&$this, 'cloudways_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L108) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_restore_backup'` | | +`array(&$this, 'cloudways_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L109) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_delete_backup'` | | +`array(&$this, 'cloudways_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L110) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_create_backup'` | | +`array(&$this, 'ajax_gridpane_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L113) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_individual_create_backup'` | | +`array(&$this, 'ajax_gridpane_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L114) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_refresh_available_backups'` | | +`array(&$this, 'gridpane_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L116) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_restore_backup'` | | +`array(&$this, 'gridpane_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L117) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_delete_backup'` | | +`array(&$this, 'gridpane_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L118) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_create_snapshot'` | | +`array(&$this, 'ajax_vultr_action_create_snapshot')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L121) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_individual_create_snapshot'` | | +`array(&$this, 'ajax_vultr_action_individual_create_snapshot')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L122) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_refresh_available_backups'` | | +`array(&$this, 'vultr_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L123) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_restore_backup'` | | +`array(&$this, 'ajax_vultr_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L124) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_delete_backup'` | | +`array(&$this, 'vultr_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L125) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_create_backup'` | | +`array(&$this, 'ajax_linode_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L128) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_individual_create_backup'` | | +`array(&$this, 'ajax_linode_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L129) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_refresh_available_backups'` | | +`array(&$this, 'linode_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L130) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_restore_backup'` | | +`array(&$this, 'linode_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L131) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_cancel_backups'` | | +`array(&$this, 'linode_action_cancel_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L132) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_create_backup'` | | +`array(&$this, 'ajax_digitalocean_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L135) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_individual_create_backup'` | | +`array(&$this, 'ajax_digitalocean_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L136) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_refresh_available_backups'` | | +`array(&$this, 'digitalocean_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L137) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_restore_backup'` | | +`array(&$this, 'digitalocean_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L138) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_delete_backup'` | | +`array(&$this, 'digitalocean_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L139) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_refresh_available_backups'` | | +`array(&$this, 'ajax_cpanel_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L142) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_manual_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_manual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L143) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L144) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L145) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_delete_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_delete_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L146) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L147) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_database_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_database_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L148) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_manual_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_manual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L149) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_database_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_database_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L150) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_full_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_full_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L151) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_refresh_available_backups'` | | +`array(&$this, 'ajax_plesk_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L154) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_create_backup'` | | +`array(&$this, 'ajax_plesk_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L155) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_restore_backup'` | | +`array(&$this, 'ajax_plesk_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L156) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_delete_backup'` | | +`array(&$this, 'ajax_plesk_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L157) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_refresh_available_backups'` | | +`array(&$this, 'ajax_kinsta_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L160) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_create_backup'` | | +`array(&$this, 'ajax_kinsta_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L161) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_restore_backup'` | | +`array(&$this, 'ajax_kinsta_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L162) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_delete_backup'` | | +`array(&$this, 'ajax_kinsta_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L163) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'action_backup_selected_sites'` | | +`array(&$this, 'action_backup_selected_sites')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L166) + + + +### `mainwp_add_backuptask` + +*Add backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$task->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 211](pages/page-mainwp-manage-backups-handler.php#L211-L276) + + + +### `mainwp-getprimarybackup-activated` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($return)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_activated'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L807) + + + +### `mainwp_getprimarybackup_activated` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$return` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L808) + + + +### `mainwp-getprimarybackup-methods` + +*Method get_columns()* + +Combine all columns. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 311](class/class-mainwp-manage-sites-list-table.php#L311-L346) + + + +### `mainwp_getprimarybackup_methods` + +*This filter is documented in ../pages/page-mainwp-server-information-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 348](class/class-mainwp-manage-sites-list-table.php#L348-L349) + + + +### `mainwp-getprimarybackup-methods` + +*Renders the Backup Site Dialog.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 63](class/class-mainwp-manage-sites-backup-view.php#L63-L78) + + + +### `mainwp_getprimarybackup_methods` + +*Renders the Backup Site Dialog.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 63](class/class-mainwp-manage-sites-backup-view.php#L63-L79) + + + +### `mainwp_encrypt_key_value` + +*Method encrypt_api_keys* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$data` | `string` | data. +`$prefix` | | +`$file_key` | `string` | file key. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 524](modules/api-backups/classes/class-api-backups-utility.php#L524-L547) + + + +### `mainwp_decrypt_key_value` + +*Method decrypt_api_keys* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$encrypted_data` | `mixed` | encrypted data. +`$def_val` | `string` | default data. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 556](modules/api-backups/classes/class-api-backups-utility.php#L556-L564) + + + +### `mainwp-getprimarybackup-methods` + +*Render Legacy Backups page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 320](pages/page-mainwp-manage-backups.php#L320-L352) + + + +### `mainwp_getprimarybackup_methods` + +*Render Legacy Backups page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 320](pages/page-mainwp-manage-backups.php#L320-L353) + + + +### `mainwp_backuptask_column_destination` + +*Column Destination.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$item->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 603](pages/page-mainwp-manage-backups.php#L603-L611) + + + +### `mainwp-getprimarybackup-methods` + +*Method render_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 966](pages/page-mainwp-manage-backups.php#L966-L990) + + + +### `mainwp_getprimarybackup_methods` + +*Method render_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 966](pages/page-mainwp-manage-backups.php#L966-L991) + + + +### `mainwp-getprimarybackup-methods` + +*Method render_individual_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 1190](pages/page-mainwp-manage-backups.php#L1190-L1201) + + + +### `mainwp_getprimarybackup_methods` + +*Method render_individual_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 1190](pages/page-mainwp-manage-backups.php#L1190-L1202) + + + +### `mainwp_backuptask_remotedestinations` + +*Get backup tasks and site ID.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$backupTask` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 514](pages/page-mainwp-manage-backups-handler.php#L514-L558) + + + +### `mainwp-getprimarybackup-methods` + +*Gets MainWP Set Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 852](pages/page-mainwp-server-information-handler.php#L852-L966) + + + +### `mainwp_getprimarybackup_methods` + +*Gets MainWP Set Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 852](pages/page-mainwp-server-information-handler.php#L852-L967) + + + diff --git a/mainwp-hooks-old/dashboard/actions/client-reports/index.md b/mainwp-hooks-old/dashboard/actions/client-reports/index.md new file mode 100644 index 0000000..df314f0 --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/client-reports/index.md @@ -0,0 +1,853 @@ +# Client Reports Actions + +Hooks for report generation, customization, and delivery. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_clientstable_prepared_items`](#mainwp_clientstable_prepared_items) - Prepair the items to be listed. +- [`mainwp_client_deleted`](#mainwp_client_deleted) - Delete client +- [`mainwp_before_select_clients_list`](#mainwp_before_select_clients_list) - Action: mainwp_before_select_clients_list +- [`mainwp_after_select_clients_list`](#mainwp_after_select_clients_list) - Action: mainwp_after_select_clients_list +- [`mainwp_client_suspend`](#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_manageclients_tabletop`](#mainwp_manageclients_tabletop) - Method render_second_top_header() +- [`mainwp_client_suspend`](#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_clients_overview_screen_options_top`](#mainwp_clients_overview_screen_options_top) - Action: mainwp_clients_overview_screen_options_top +- [`mainwp_clients_overview_screen_options_bottom`](#mainwp_clients_overview_screen_options_bottom) - Action: mainwp_clients_overview_screen_options_bottom +- [`mainwp_clients_overview_help_item`](#mainwp_clients_overview_help_item) - Action: mainwp_clients_overview_help_item +- [`mainwp_clients_overview_note_widget_top`](#mainwp_clients_overview_note_widget_top) - Actoin: mainwp_clients_overview_note_widget_top +- [`mainwp_clients_overview_note_widget_bottom`](#mainwp_clients_overview_note_widget_bottom) - Action: mainwp_clients_overview_note_widget_bottom +- [`mainwp_clients_overview_contact_widget_top`](#mainwp_clients_overview_contact_widget_top) - Actoin: mainwp_clients_overview_contact_widget_top +- [`mainwp_clients_overview_contact_widget_bottom`](#mainwp_clients_overview_contact_widget_bottom) - Action: mainwp_clients_overview_contact_widget_bottom +- [`mainwp_clients_overview_overview_widget_top`](#mainwp_clients_overview_overview_widget_top) - Actoin: mainwp_clients_overview_overview_widget_top +- [`mainwp_clients_overview_overview_widget_bottom`](#mainwp_clients_overview_overview_widget_bottom) - Action: mainwp_clients_overview_overview_widget_bottom +- [`mainwp_clients_overview_info_widget_top`](#mainwp_clients_overview_info_widget_top) - Actoin: mainwp_clients_overview_info_widget_top +- [`mainwp_clients_overview_info_table_top`](#mainwp_clients_overview_info_table_top) - Action: mainwp_clients_overview_info_table_top +- [`mainwp_clients_overview_info_table_bottom`](#mainwp_clients_overview_info_table_bottom) - Action: mainwp_clients_overview_info_table_bottom +- [`mainwp_clients_overview_info_widget_bottom`](#mainwp_clients_overview_info_widget_bottom) - Action: mainwp_clients_overview_info_widget_bottom +- [`mainwp_clients_widget_top`](#mainwp_clients_widget_top) - Actoin: mainwp_clients_widget_top +- [`mainwp_clients_widget_bottom`](#mainwp_clients_widget_bottom) - Action: mainwp_clients_widget_bottom +- [`mainwp_clients_info_widget_top`](#mainwp_clients_info_widget_top) - Actoin: mainwp_clients_info_widget_top +- [`mainwp_clients_info_table_top`](#mainwp_clients_info_table_top) - Action: mainwp_clients_info_table_top +- [`mainwp_clients_info_table_bottom`](#mainwp_clients_info_table_bottom) - Action: mainwp_clients_info_table_bottom +- [`mainwp_clients_info_widget_bottom`](#mainwp_clients_info_widget_bottom) - Action: mainwp_clients_info_widget_bottom +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get client by tag id. +- [`mainwp_clients_sitestable_item`](#mainwp_clients_sitestable_item) - Filter: mainwp_clients_sitestable_item +- [`mainwp_clients_sitestable_getcolumns`](#mainwp_clients_sitestable_getcolumns) - Filter: mainwp_clients_sitestable_getcolumns +- [`mainwp_manageclients_bulk_actions`](#mainwp_manageclients_bulk_actions) - Filter: mainwp_manageclients_bulk_actions +- [`mainwp_clients_table_features`](#mainwp_clients_table_features) - Filter: mainwp_clients_table_features +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get clients by item. +- [`mainwp_clients_getmetaboxes`](#mainwp_clients_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_clients_overview_enabled_widgets`](#mainwp_clients_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_clients_widgets_screen_options`](#mainwp_clients_widgets_screen_options) - Filter: mainwp_clients_widgets_screen_options +- [`mainwp_clients_overview_note_widget_title`](#mainwp_clients_overview_note_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_title`](#mainwp_clients_overview_contact_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_sutbitle`](#mainwp_clients_overview_contact_widget_sutbitle) - *Arguments* +- [`mainwp_clients_overview_info_widget_title`](#mainwp_clients_overview_info_widget_title) - *Arguments* +- [`mainwp_clients_widget_title`](#mainwp_clients_widget_title) - *Arguments* +- [`mainwp_clients_info_widget_title`](#mainwp_clients_info_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_clientstable_prepared_items` + +*Prepair the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | | +`$clients_ids` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 290](class/class-mainwp-client-list-table.php#L290-L330) + + + +### `mainwp_client_deleted` + +*Delete client* + +Fires after delete a client. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$current` | `object` | client deleted. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-client.php](class/class-mainwp-db-client.php), [line 1010](class/class-mainwp-db-client.php#L1010-L1019) + + + +### `mainwp_before_select_clients_list` + +*Action: mainwp_before_select_clients_list* + +Fires before the Select Clients list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing Clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 355](class/class-mainwp-ui-select-sites.php#L355-L364) + + + +### `mainwp_after_select_clients_list` + +*Action: mainwp_after_select_clients_list* + +Fires after the Select Clients list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing Clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 405](class/class-mainwp-ui-select-sites.php#L405-L414) + + + +### `mainwp_client_suspend` + +*Fires immediately after update client suspend/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | `object` | client data. +`$suspended` | `bool` | true\|false. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-handler.php](class/class-mainwp-post-handler.php), [line 1111](class/class-mainwp-post-handler.php#L1111-L1119) + + + +### `mainwp_manageclients_tabletop` + +*Method render_second_top_header()* + +Render second top header. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 565](pages/page-mainwp-client.php#L565-L576) + + + +### `mainwp_client_suspend` + +*Fires immediately after update client suspend/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$inserted` | | +`$new_suspended` | `bool` | true\|false. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 1353](pages/page-mainwp-client.php#L1353-L1361) + + + +### `mainwp_clients_overview_screen_options_top` + +*Action: mainwp_clients_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 366](pages/page-mainwp-client-overview.php#L366-L373) + + + +### `mainwp_clients_overview_screen_options_bottom` + +*Action: mainwp_clients_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 380](pages/page-mainwp-client-overview.php#L380-L387) + + + +### `mainwp_clients_overview_help_item` + +*Action: mainwp_clients_overview_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Clients page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 521](pages/page-mainwp-client-overview.php#L521-L532) + + + +### `mainwp_clients_overview_note_widget_top` + +*Actoin: mainwp_clients_overview_note_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 78](widgets/widget-mainwp-client-overview-note.php#L78-L87) + + + +### `mainwp_clients_overview_note_widget_bottom` + +*Action: mainwp_clients_overview_note_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 100](widgets/widget-mainwp-client-overview-note.php#L100-L109) + + + +### `mainwp_clients_overview_contact_widget_top` + +*Actoin: mainwp_clients_overview_contact_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$contact_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 82](widgets/widget-mainwp-client-overview-contacts.php#L82-L91) + + + +### `mainwp_clients_overview_contact_widget_bottom` + +*Action: mainwp_clients_overview_contact_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$contact_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 142](widgets/widget-mainwp-client-overview-contacts.php#L142-L151) + + + +### `mainwp_clients_overview_overview_widget_top` + +*Actoin: mainwp_clients_overview_overview_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-info.php](widgets/widget-mainwp-client-overview-info.php), [line 82](widgets/widget-mainwp-client-overview-info.php#L82-L91) + + + +### `mainwp_clients_overview_overview_widget_bottom` + +*Action: mainwp_clients_overview_overview_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-info.php](widgets/widget-mainwp-client-overview-info.php), [line 159](widgets/widget-mainwp-client-overview-info.php#L159-L168) + + + +### `mainwp_clients_overview_info_widget_top` + +*Actoin: mainwp_clients_overview_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 71](widgets/widget-mainwp-client-overview-custom-info.php#L71-L80) + + + +### `mainwp_clients_overview_info_table_top` + +*Action: mainwp_clients_overview_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 89](widgets/widget-mainwp-client-overview-custom-info.php#L89-L98) + + + +### `mainwp_clients_overview_info_table_bottom` + +*Action: mainwp_clients_overview_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 128](widgets/widget-mainwp-client-overview-custom-info.php#L128-L137) + + + +### `mainwp_clients_overview_info_widget_bottom` + +*Action: mainwp_clients_overview_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 147](widgets/widget-mainwp-client-overview-custom-info.php#L147-L156) + + + +### `mainwp_clients_widget_top` + +*Actoin: mainwp_clients_widget_top* + +Fires at the top of the Clients widget on the overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing the clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.4` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 62](widgets/widget-mainwp-clients.php#L62-L71) + + + +### `mainwp_clients_widget_bottom` + +*Action: mainwp_clients_widget_bottom* + +Fires at the bottom of the Clients widget on the overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.4` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 161](widgets/widget-mainwp-clients.php#L161-L170) + + + +### `mainwp_clients_info_widget_top` + +*Actoin: mainwp_clients_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 84](widgets/widget-mainwp-client-info.php#L84-L93) + + + +### `mainwp_clients_info_table_top` + +*Action: mainwp_clients_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 107](widgets/widget-mainwp-client-info.php#L107-L116) + + + +### `mainwp_clients_info_table_bottom` + +*Action: mainwp_clients_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 168](widgets/widget-mainwp-client-info.php#L168-L177) + + + +### `mainwp_clients_info_widget_bottom` + +*Action: mainwp_clients_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 183](widgets/widget-mainwp-client-info.php#L183-L192) + + + +### `mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context` + +*Get client by tag id.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php), [line 404](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php#L404-L423) + + + +### `mainwp_clients_sitestable_item` + +*Filter: mainwp_clients_sitestable_item* + +Filters the Clients table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$item` | `array` | Array containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 60](class/class-mainwp-client-list-table.php#L60-L69) + + + +### `mainwp_clients_sitestable_getcolumns` + +*Filter: mainwp_clients_sitestable_getcolumns* + +Filters the Clients table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 156](class/class-mainwp-client-list-table.php#L156-L165) + + + +### `mainwp_manageclients_bulk_actions` + +*Filter: mainwp_manageclients_bulk_actions* + +Filters bulk actions on the Clients page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 206](class/class-mainwp-client-list-table.php#L206-L213) + + + +### `mainwp_clients_table_features` + +*Filter: mainwp_clients_table_features* + +Filter the Clients table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 409](class/class-mainwp-client-list-table.php#L409-L416) + + + +### `mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context` + +*Get clients by item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 566](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L566-L624) + + + +### `mainwp_clients_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 143](pages/page-mainwp-client-overview.php#L143-L169) + + + +### `mainwp_clients_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 191](pages/page-mainwp-client-overview.php#L191-L201) + + + +### `mainwp_clients_widgets_screen_options` + +*Filter: mainwp_clients_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 438](pages/page-mainwp-client-overview.php#L438-L445) + + + +### `mainwp_clients_overview_note_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Notes', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 71](widgets/widget-mainwp-client-overview-note.php#L71-L71) + + + +### `mainwp_clients_overview_contact_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`__('Client Contact', 'mainwp')` | | +`$contact_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 73](widgets/widget-mainwp-client-overview-contacts.php#L73-L73) + + + +### `mainwp_clients_overview_contact_widget_sutbitle` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`__('Contact Information', 'mainwp')` | | +`$contact_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 76](widgets/widget-mainwp-client-overview-contacts.php#L76-L76) + + + +### `mainwp_clients_overview_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Additional Client Info', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 64](widgets/widget-mainwp-client-overview-custom-info.php#L64-L64) + + + +### `mainwp_clients_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Clients', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 55](widgets/widget-mainwp-clients.php#L55-L55) + + + +### `mainwp_clients_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Client Info', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 78](widgets/widget-mainwp-client-info.php#L78-L78) + + + diff --git a/mainwp-hooks-old/dashboard/actions/content-management/index.md b/mainwp-hooks-old/dashboard/actions/content-management/index.md new file mode 100644 index 0000000..4e577c8 --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/content-management/index.md @@ -0,0 +1,4021 @@ +# Content Management Actions + +Hooks for managing posts, pages, comments, and other content. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_bulkpost_categories_handle`](#mainwp_bulkpost_categories_handle) - Method add_categories_handle() +- [`mainwp_bulkpost_tags_handle`](#mainwp_bulkpost_tags_handle) - Method add_tags_handle() +- [`mainwp_post_action`](#mainwp_post_action) - Fires immediately after post action. +- [`mainwp_postprocess_backup_site`](#mainwp_postprocess_backup_site) - Method backup_site() +- [`mainwp_help_sidebar_content`](#mainwp_help_sidebar_content) - Action: mainwp_help_sidebar_content +- [`mainwp_before_mainwp_content_wrap`](#mainwp_before_mainwp_content_wrap) - Action: mainwp_before_mainwp_content_wrap +- [`mainwp_page_navigation_menu`](#mainwp_page_navigation_menu) - Method render_page_navigation() +- [`mainwp_save_bulkpost`](#mainwp_save_bulkpost) - Action: mainwp_save_bulkpost +- [`mainwp_before_redirect_posting_bulkpost`](#mainwp_before_redirect_posting_bulkpost) - Action: mainwp_before_redirect_posting_bulkpost +- [`mainwp_save_bulkpage`](#mainwp_save_bulkpage) - Action: mainwp_save_bulkpage +- [`mainwp_before_redirect_posting_bulkpage`](#mainwp_before_redirect_posting_bulkpage) - Action: mainwp_before_redirect_posting_bulkpage +- [`mainwp_register_post_type`](#mainwp_register_post_type) - Method create_post_type() +- [`mainwp_admin_footer`](#mainwp_admin_footer) - Action: mainwp_admin_footer +- [`mainwp_pageheader_settings`](#mainwp_pageheader_settings) - Render settings +- [`mainwp_pagefooter_settings`](#mainwp_pagefooter_settings) - Render settings +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - Render Tabs. +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - Render Tabs. +- [`mainwp_pageheader_settings`](#mainwp_pageheader_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_settings`](#mainwp_pagefooter_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_module_cost_tracker_help_item`](#mainwp_module_cost_tracker_help_item) - Action: mainwp_module_cost_tracker_help_item +- [`mainwp_module_cost_tracker_actions_bar_left`](#mainwp_module_cost_tracker_actions_bar_left) - Render Actions Bar +- [`mainwp_module_cost_tracker_actions_bar_right`](#mainwp_module_cost_tracker_actions_bar_right) - Render Actions Bar +- [`mainwp_tools_form_top`](#mainwp_tools_form_top) - Action: mainwp_tools_form_top +- [`mainwp_tools_form_bottom`](#mainwp_tools_form_bottom) - Action: mainwp_tools_form_bottom +- [`mainwp_bulkpost_before_post`](#mainwp_bulkpost_before_post) - Before Post post action +- [`mainwp_posts_posting_popup_actions`](#mainwp_posts_posting_popup_actions) - Method posting() +- [`mainwp-post-posting-post`](#mainwp-post-posting-post) - Method posting_posts() +- [`mainwp-bulkposting-done`](#mainwp-bulkposting-done) - Method posting_posts() +- [`mainwp_post_posting_post`](#mainwp_post_posting_post) - Posting post +- [`mainwp_bulkposting_done`](#mainwp_bulkposting_done) - Posting post completed +- [`mainwp_manage_posts_bulk_action`](#mainwp_manage_posts_bulk_action) - Method render() +- [`mainwp_posts_bulk_action`](#mainwp_posts_bulk_action) - Action: mainwp_posts_bulk_action +- [`mainwp_posts_actions_bar_left`](#mainwp_posts_actions_bar_left) - Action: mainwp_posts_actions_bar_left +- [`mainwp_posts_actions_bar_right`](#mainwp_posts_actions_bar_right) - Action: mainwp_posts_actions_bar_right +- [`mainwp_manage_posts_sidebar_top`](#mainwp_manage_posts_sidebar_top) - Action: mainwp_manage_posts_sidebar_top +- [`mainwp_manage_posts_before_select_sites`](#mainwp_manage_posts_before_select_sites) - Action: mainwp_manage_posts_before_select_sites +- [`mainwp_manage_posts_after_select_sites`](#mainwp_manage_posts_after_select_sites) - Action: mainwp_manage_posts_after_select_sites +- [`mainwp_manage_posts_before_search_options`](#mainwp_manage_posts_before_search_options) - Action: mainwp_manage_posts_before_search_options +- [`mainwp_manage_posts_after_search_options`](#mainwp_manage_posts_after_search_options) - Action: mainwp_manage_posts_after_search_options +- [`mainwp_manage_posts_before_submit_button`](#mainwp_manage_posts_before_submit_button) - Action: mainwp_manage_posts_before_submit_button +- [`mainwp_manage_posts_after_submit_button`](#mainwp_manage_posts_after_submit_button) - Action: mainwp_manage_posts_after_submit_button +- [`mainwp_manage_posts_sidebar_bottom`](#mainwp_manage_posts_sidebar_bottom) - Action: mainwp_manage_posts_sidebar_bottom +- [`mainwp_before_posts_table`](#mainwp_before_posts_table) - Action: mainwp_before_posts_table +- [`mainwp_posts_table_header`](#mainwp_posts_table_header) - Action: mainwp_posts_table_header +- [`mainwp_after_posts_table`](#mainwp_after_posts_table) - Action: mainwp_after_posts_table +- [`mainwp_posts_table_column`](#mainwp_posts_table_column) - Action: mainwp_posts_table_column +- [`mainwp_manage_posts_action_item`](#mainwp_manage_posts_action_item) - Method posts_search_handler() +- [`mainwp_posts_table_action`](#mainwp_posts_table_action) - Action: mainwp_posts_table_action +- [`mainwp_top_bulkpost_edit_content`](#mainwp_top_bulkpost_edit_content) - Renders bulkpost to edit. +- [`mainwp_before_bulkpost_editor`](#mainwp_before_bulkpost_editor) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit`](#mainwp_bulkpost_edit) - Edit bulkpost +- [`add_meta_boxes`](#add_meta_boxes) - Edit bulkpost metaboxes +- [`mainwp_bulkpost_edit_top_side`](#mainwp_bulkpost_edit_top_side) - Renders bulkpost to edit. +- [`mainwp_edit_posts_before_submit_button`](#mainwp_edit_posts_before_submit_button) - Action: mainwp_edit_posts_before_submit_button +- [`mainwp_edit_posts_after_submit_button`](#mainwp_edit_posts_after_submit_button) - Action: mainwp_edit_posts_after_submit_button +- [`mainwp_posts_help_item`](#mainwp_posts_help_item) - Action: mainwp_posts_help_item +- [`mainwp_overview_help_item`](#mainwp_overview_help_item) - Action: mainwp_overview_help_item +- [`mainwp_cron_jobs_list`](#mainwp_cron_jobs_list) - Action: mainwp_cron_jobs_list +- [`mainwp_pageheader_tags`](#mainwp_pageheader_tags) - Sites Page header +- [`mainwp_pagefooter_tags`](#mainwp_pagefooter_tags) - Sites Page Footer +- [`mainwp_post_created`](#mainwp_post_created) - Method posting_bulk_handler() +- [`admin_print_styles`](#admin_print_styles) - Method setup_wizard_header() +- [`mainwp_pageheader_extensions`](#mainwp_pageheader_extensions) - Method render_extensions_groups() +- [`mainwp_pagefooter_extensions`](#mainwp_pagefooter_extensions) - Method render_extensions_groups() +- [`mainwp_manage_pages_bulk_action`](#mainwp_manage_pages_bulk_action) - Renders Bulk Page Manager. +- [`mainwp_pages_bulk_action`](#mainwp_pages_bulk_action) - Action: mainwp_pages_bulk_action +- [`mainwp_pages_actions_bar_left`](#mainwp_pages_actions_bar_left) - Action: mainwp_pages_actions_bar_left +- [`mainwp_pages_actions_bar_right`](#mainwp_pages_actions_bar_right) - Action: mainwp_pages_actions_bar_right +- [`mainwp_manage_pages_sidebar_top`](#mainwp_manage_pages_sidebar_top) - Action: mainwp_manage_pages_sidebar_top +- [`mainwp_manage_pages_before_select_sites`](#mainwp_manage_pages_before_select_sites) - Action: mainwp_manage_pages_before_select_sites +- [`mainwp_manage_pages_after_select_sites`](#mainwp_manage_pages_after_select_sites) - Action: mainwp_manage_pages_after_select_sites +- [`mainwp_manage_pages_before_search_options`](#mainwp_manage_pages_before_search_options) - Action: mainwp_manage_pages_before_search_options +- [`mainwp_manage_pages_after_search_options`](#mainwp_manage_pages_after_search_options) - Action: mainwp_manage_pages_after_search_options +- [`mainwp_manage_pages_before_submit_button`](#mainwp_manage_pages_before_submit_button) - Action: mainwp_manage_pages_before_submit_button +- [`mainwp_manage_pages_after_submit_button`](#mainwp_manage_pages_after_submit_button) - Action: mainwp_manage_pages_after_submit_button +- [`mainwp_manage_pages_sidebar_bottom`](#mainwp_manage_pages_sidebar_bottom) - Action: mainwp_manage_pages_sidebar_bottom +- [`mainwp_before_pages_table`](#mainwp_before_pages_table) - Action: mainwp_before_pages_table +- [`mainwp_pages_table_header`](#mainwp_pages_table_header) - Action: mainwp_pages_table_header +- [`mainwp_after_pages_table`](#mainwp_after_pages_table) - Action: mainwp_after_pages_table +- [`mainwp_pages_table_column`](#mainwp_pages_table_column) - Action: mainwp_pages_table_column +- [`mainwp_manage_pages_action_item`](#mainwp_manage_pages_action_item) - Method pages_search_handler() +- [`mainwp_pages_table_action`](#mainwp_pages_table_action) - Action: mainwp_pages_table_action +- [`mainwp_bulkpage_before_post`](#mainwp_bulkpage_before_post) - Before Page post action +- [`mainwp-post-posting-page`](#mainwp-post-posting-page) - Method posting() +- [`mainwp-bulkposting-done`](#mainwp-bulkposting-done) - Method posting() +- [`mainwp_post_posting_page`](#mainwp_post_posting_page) - Posting page +- [`mainwp_bulkposting_done`](#mainwp_bulkposting_done) - Posting page completed +- [`mainwp_pages_posting_popup_actions`](#mainwp_pages_posting_popup_actions) - Method posting() +- [`mainwp_pages_help_item`](#mainwp_pages_help_item) - Action: mainwp_pages_help_item +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - Sites Page header +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - Sites Page Footer +- [`mainwp_recent_posts_widget_top`](#mainwp_recent_posts_widget_top) - Action: mainwp_recent_posts_widget_top +- [`mainwp_recent_posts_after_lists`](#mainwp_recent_posts_after_lists) - Action: mainwp_recent_posts_after_lists +- [`mainwp_recent_posts_widget_bottom`](#mainwp_recent_posts_widget_bottom) - Action: mainwp_recent_posts_widget_bottom +- [`mainwp_recent_posts_before_publised_list`](#mainwp_recent_posts_before_publised_list) - Action: mainwp_recent_posts_before_publised_list +- [`mainwp_recent_posts_after_publised_list`](#mainwp_recent_posts_after_publised_list) - Action: mainwp_recent_posts_after_publised_list +- [`mainwp_recent_posts_before_draft_list`](#mainwp_recent_posts_before_draft_list) - Action: mainwp_recent_posts_before_draft_list +- [`mainwp_recent_posts_after_draft_list`](#mainwp_recent_posts_after_draft_list) - Action: mainwp_recent_posts_after_draft_list +- [`mainwp_recent_posts_before_pending_list`](#mainwp_recent_posts_before_pending_list) - Action: mainwp_recent_posts_before_pending_list +- [`mainwp_recent_posts_after_pending_list`](#mainwp_recent_posts_after_pending_list) - Action: mainwp_recent_posts_after_pending_list +- [`mainwp_recent_posts_before_future_list`](#mainwp_recent_posts_before_future_list) - Action: mainwp_recent_posts_before_future_list +- [`mainwp_recent_posts_after_future_list`](#mainwp_recent_posts_after_future_list) - Action: mainwp_recent_posts_after_future_list +- [`mainwp_recent_posts_before_trash_list`](#mainwp_recent_posts_before_trash_list) - Action: mainwp_recent_posts_before_trash_list +- [`mainwp_recent_posts_after_trash_list`](#mainwp_recent_posts_after_trash_list) - Action: mainwp_recent_posts_after_trash_list +- [`mainwp_before_post_action`](#mainwp_before_post_action) - Action: mainwp_before_post_action +- [`mainwp_after_post_action`](#mainwp_after_post_action) - +- [`mainwp_recent_pages_widget_top`](#mainwp_recent_pages_widget_top) - Action: mainwp_recent_pages_widget_top +- [`mainwp_recent_pages_after_lists`](#mainwp_recent_pages_after_lists) - Action: mainwp_recent_pages_after_lists +- [`mainwp_recent_pages_widget_bottom`](#mainwp_recent_pages_widget_bottom) - Action: mainwp_recent_pages_widget_bottom +- [`mainwp_recent_pages_before_publised_list`](#mainwp_recent_pages_before_publised_list) - Action: mainwp_recent_pages_before_publised_list +- [`mainwp_recent_pages_after_publised_list`](#mainwp_recent_pages_after_publised_list) - Action: mainwp_recent_pages_after_publised_list +- [`mainwp_recent_pages_before_draft_list`](#mainwp_recent_pages_before_draft_list) - Action: mainwp_recent_pages_before_draft_list +- [`mainwp_recent_pages_after_draft_list`](#mainwp_recent_pages_after_draft_list) - Action: mainwp_recent_pages_after_draft_list +- [`mainwp_recent_pages_before_pending_list`](#mainwp_recent_pages_before_pending_list) - Action: mainwp_recent_pages_before_pending_list +- [`mainwp_recent_pages_after_pending_list`](#mainwp_recent_pages_after_pending_list) - Action: mainwp_recent_pages_after_pending_list +- [`mainwp_recent_pages_before_future_list`](#mainwp_recent_pages_before_future_list) - Action: mainwp_recent_pages_before_future_list +- [`mainwp_recent_pages_after_future_list`](#mainwp_recent_pages_after_future_list) - Action: mainwp_recent_pages_after_future_list +- [`mainwp_recent_pages_before_trash_list`](#mainwp_recent_pages_before_trash_list) - Action: mainwp_recent_pages_before_trash_list +- [`mainwp_recent_pages_after_trash_list`](#mainwp_recent_pages_after_trash_list) - Action: mainwp_recent_pages_after_trash_list +- [`mainwp_enqueue_script_gridster`](#mainwp_enqueue_script_gridster) - Method admin_init() +- [`mainwp_header_title`](#mainwp_header_title) - Filter: mainwp_header_title +- [`mainwp_header_left`](#mainwp_header_left) - Filter: mainwp_header_left +- [`mainwp_header_right`](#mainwp_header_right) - Filter: mainwp_header_right +- [`mainwp_sidbar_pages`](#mainwp_sidbar_pages) - Method render_header_actions() +- [`mainwp_sidebar_pages`](#mainwp_sidebar_pages) - Method render_header_actions() +- [`mainwp_page_navigation`](#mainwp_page_navigation) - Filter: mainwp_page_navigation +- [`mainwp_sidbar_pages`](#mainwp_sidbar_pages) - Method render_screen_options() +- [`mainwp_sidebar_pages`](#mainwp_sidebar_pages) - Method render_screen_options() +- [`redirect_post_location`](#redirect_post_location) - Filter: redirect_post_location +- [`mainwp_daily_digest_content`](#mainwp_daily_digest_content) - Filter: mainwp_daily_digest_content +- [`mainwp_send_mail_from_header`](#mainwp_send_mail_from_header) - Method send_wp_mail(). +- [`mainwp_page_admin_body_class`](#mainwp_page_admin_body_class) - MainWP Admin body CSS class attributes. +- [`mainwp_get_post_data_authed`](#mainwp_get_post_data_authed) - Method get_post_data_authed() +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - This filter is documented in ../widgets/widget-mainwp-recent-posts.php +- [`mainwp-pre-posting-posts`](#mainwp-pre-posting-posts) - Filter is being replaced with mainwp_pre_posting_posts. +- [`mainwp_pre_posting_posts`](#mainwp_pre_posting_posts) - Filter: mainwp_pre_posting_posts +- [`mainwp_subpages_left_menu`](#mainwp_subpages_left_menu) - Method init_subpages_left_menu +- [`mainwp_extensions_page_top_header`](#mainwp_extensions_page_top_header) - Method render_header() +- [`mainwp_pro_reports_generate_content`](#mainwp_pro_reports_generate_content) - Filter: mainwp_pro_reports_generate_content +- [`mainwp_client_report_generate_content`](#mainwp_client_report_generate_content) - Filter: mainwp_client_report_generate_content +- [`mainwp_getsubpages_api_backups`](#mainwp_getsubpages_api_backups) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_cost_tracker`](#mainwp_getsubpages_cost_tracker) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_escape_content`](#mainwp_escape_content) - Edit subscription Post +- [`mainwp_escape_content`](#mainwp_escape_content) - Get table rows. +- [`mainwp_escape_content`](#mainwp_escape_content) - Method ajax_notes_save() +- [`mainwp_escape_content`](#mainwp_escape_content) - Method get_cost_field_value(). +- [`mainwp_escape_content`](#mainwp_escape_content) - Handles the saving item. +- [`mainwp-getsubpages-settings`](#mainwp-getsubpages-settings) - Settings Subpages +- [`mainwp_getsubpages_settings`](#mainwp_getsubpages_settings) - Instantiate the Settings Menu. +- [`date_formats`](#date_formats) - *Arguments* +- [`time_formats`](#time_formats) - *Arguments* +- [`mainwp_show_qsw`](#mainwp_show_qsw) - Render MainWP Tools SubPage. +- [`mainwp_edit_post_get_categories`](#mainwp_edit_post_get_categories) - Method ajax_handle_get_categories() +- [`mainwp_posts_posting_bulk_sites`](#mainwp_posts_posting_bulk_sites) - Method posting_bulk() +- [`mainwp_posting_post_selected_by`](#mainwp_posting_post_selected_by) - Method posting_posts() +- [`mainwp_posting_post_selected_sites`](#mainwp_posting_post_selected_sites) - Method posting_posts() +- [`mainwp_posting_selected_clients`](#mainwp_posting_selected_clients) - Method posting_posts() +- [`mainwp_posting_bulkpost_post_status`](#mainwp_posting_bulkpost_post_status) - Post status +- [`mainwp-after-posting-bulkpost-result`](#mainwp-after-posting-bulkpost-result) - After posting a new post +- [`mainwp_after_posting_bulkpost_result`](#mainwp_after_posting_bulkpost_result) - Method posting_posts() +- [`mainwp_after_posting_delete_bulk_post`](#mainwp_after_posting_delete_bulk_post) - Method posting_posts() +- [`mainwp_manageposts_get_post_result`](#mainwp_manageposts_get_post_result) - Method get_post() +- [`mainwp_getsubpages_client`](#mainwp_getsubpages_client) - Method init_menu() +- [`mainwp_default_emails_fields`](#mainwp_default_emails_fields) - Method get_defaults_email_settings_value(). +- [`mainwp-getcustompage-backups`](#mainwp-getcustompage-backups) - Backups Subpages +- [`mainwp_getcustompage_backups`](#mainwp_getcustompage_backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-backups`](#mainwp-getsubpages-backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getsubpages_backups`](#mainwp_getsubpages_backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-post`](#mainwp-getsubpages-post) - Method ini_menu() +- [`mainwp_getsubpages_post`](#mainwp_getsubpages_post) - Method ini_menu() +- [`mainwp_edit_bulkpost_getmetaboxes`](#mainwp_edit_bulkpost_getmetaboxes) - Init custom bulkpost metaboxes. +- [`mainwp_posts_search_bulk_sites`](#mainwp_posts_search_bulk_sites) - Method render() +- [`mainwp_custom_post_types_default`](#mainwp_custom_post_types_default) - Default post types +- [`mainwp_posts_table_fatures`](#mainwp_posts_table_fatures) - Filter: mainwp_posts_table_fatures +- [`mainwp_get_all_posts_data`](#mainwp_get_all_posts_data) - Get all posts data +- [`postmeta_form_keys`](#postmeta_form_keys) - Filters values for the meta key dropdown in the Custom Fields meta box. +- [`postmeta_form_limit`](#postmeta_form_limit) - +- [`admin_post_thumbnail_size`](#admin_post_thumbnail_size) - Filters the size used to display the post thumbnail image in the 'Featured Image' meta box. +- [`mainwp_admin_post_thumbnail_html`](#mainwp_admin_post_thumbnail_html) - Filters the admin post thumbnail HTML markup to return. +- [`mainwp_custom_render_bulkpost`](#mainwp_custom_render_bulkpost) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit_title`](#mainwp_bulkpost_edit_title) - Renders bulkpost to edit. +- [`mainwp_bulkpost_editor_settings`](#mainwp_bulkpost_editor_settings) - Renders bulkpost to edit. +- [`mainwp-getsubpages-sites`](#mainwp-getsubpages-sites) - Initiate menu. +- [`mainwp_getsubpages_sites`](#mainwp_getsubpages_sites) - Initiate menu. +- [`mainwp_getsubpages_restapi`](#mainwp_getsubpages_restapi) - REST API Subpages +- [`mainwp_security_post_data`](#mainwp_security_post_data) - Filters security issues from fixing +- [`mainwp-getsubpages-user`](#mainwp-getsubpages-user) - This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter. +- [`mainwp_getsubpages_user`](#mainwp_getsubpages_user) - Method init_menu() +- [`mainwp-getsubpages-server`](#mainwp-getsubpages-server) - Filter mainwp_getsubpages_server +- [`mainwp_getsubpages_server`](#mainwp_getsubpages_server) - Method init_menu() +- [`mainwp_info_schedules_cron_listing`](#mainwp_info_schedules_cron_listing) - Renders the Cron Schedule page. +- [`error_log_mainwp_logs`](#error_log_mainwp_logs) - Filter: error_log_mainwp_logs +- [`error_log_mainwp_lines`](#error_log_mainwp_lines) - Filter: error_log_mainwp_lines +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_specific_action_logs`](#mainwp_specific_action_logs) - Renders action logs page. +- [`mainwp_log_specific_actions`](#mainwp_log_specific_actions) - Renders action logs page. +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_getsubpages_tags`](#mainwp_getsubpages_tags) - This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter. +- [`mainwp-getsubpages-page`](#mainwp-getsubpages-page) - Method init_menu() +- [`mainwp_getsubpages_page`](#mainwp_getsubpages_page) - Method init_menu() +- [`mainwp_pages_table_fatures`](#mainwp_pages_table_fatures) - Filter: mainwp_pages_table_fatures +- [`mainwp_get_all_pages_data`](#mainwp_get_all_pages_data) - Get all pages data +- [`mainwp_posting_bulkpost_post_status`](#mainwp_posting_bulkpost_post_status) - Page status +- [`mainwp_bulkpage_posting`](#mainwp_bulkpage_posting) - Posting new page +- [`mainwp-after-posting-bulkpage-result`](#mainwp-after-posting-bulkpage-result) - After posting a new page +- [`mainwp_after_posting_bulkpage_result`](#mainwp_after_posting_bulkpage_result) - Method posting() +- [`mainwp_cards_per_row`](#mainwp_cards_per_row) - Filter: mainwp_cards_per_row +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - Sets number of recent posts & pages +- [`mainwp_recent_posts_widget_title`](#mainwp_recent_posts_widget_title) - *Arguments* +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - This filter is documented in /widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_pages_widget_title`](#mainwp_recent_pages_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_bulkpost_categories_handle` + +*Method add_categories_handle()* + +Handle adding categories. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. +`wp_unslash($_POST['post_category'])` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-meta-boxes.php](class/class-mainwp-meta-boxes.php), [line 109](class/class-mainwp-meta-boxes.php#L109-L148) + + + +### `mainwp_bulkpost_tags_handle` + +*Method add_tags_handle()* + +Add Tags to post array handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. +`$post_type` | `string` | Post type. +`wp_strip_all_tags(wp_unslash($_POST['add_tags']))` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-meta-boxes.php](class/class-mainwp-meta-boxes.php), [line 168](class/class-mainwp-meta-boxes.php#L168-L179) + + + +### `mainwp_post_action` + +*Fires immediately after post action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$postId` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 51](class/class-mainwp-actions-handler.php#L51-L56) + + + +### `mainwp_postprocess_backup_site` + +*Method backup_site()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$localBackupFile` | | +`$what` | | +`$subfolder` | `mixed` | Sub folder to place backup. +`$regexBackupFile` | | +`$website` | | +`$taskId` | | +`$unique` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 28](class/class-mainwp-backup-handler.php#L28-L512) + + + +### `mainwp_help_sidebar_content` + +*Action: mainwp_help_sidebar_content* + +Fires Help sidebar content + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 782](class/class-mainwp-ui.php#L782-L789) + + + +### `mainwp_before_mainwp_content_wrap` + +*Action: mainwp_before_mainwp_content_wrap* + +Fires before the #mainwp-content-wrap element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 799](class/class-mainwp-ui.php#L799-L808) + + + +### `mainwp_page_navigation_menu` + +*Method render_page_navigation()* + +Render page navigation. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1439](class/class-mainwp-ui.php#L1439-L1519) + + + +### `mainwp_save_bulkpost` + +*Action: mainwp_save_bulkpost* + +Fires when saving the bulk post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 158](class/class-mainwp-bulk-post.php#L158-L167) + + + +### `mainwp_before_redirect_posting_bulkpost` + +*Action: mainwp_before_redirect_posting_bulkpost* + +Fires before redirection to posting 'bulk post' page after post submission. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `object` | Object containing post data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 172](class/class-mainwp-bulk-post.php#L172-L181) + + + +### `mainwp_save_bulkpage` + +*Action: mainwp_save_bulkpage* + +Fires when saving the bulk page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 227](class/class-mainwp-bulk-post.php#L227-L236) + + + +### `mainwp_before_redirect_posting_bulkpage` + +*Action: mainwp_before_redirect_posting_bulkpage* + +Fires before redirection to posting 'bulk page' page after post submission. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `object` | Object containing post data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 241](class/class-mainwp-bulk-post.php#L241-L250) + + + +### `mainwp_register_post_type` + +*Method create_post_type()* + +Register "Bulkpost" and "Bulkpage" custom post types. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 256](class/class-mainwp-bulk-post.php#L256-L368) + + + +### `mainwp_admin_footer` + +*Action: mainwp_admin_footer* + +Fires at the bottom of MainWP content. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 1020](class/class-mainwp-system-view.php#L1020-L1027) + + + +### `mainwp_pageheader_settings` + +*Render settings* + +Renders the settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 76](modules/api-backups/classes/class-api-backups-settings.php#L76-L88) + + + +### `mainwp_pagefooter_settings` + +*Render settings* + +Renders the settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 76](modules/api-backups/classes/class-api-backups-settings.php#L76-L108) + + + +### `mainwp_pageheader_sites` + +*Render Tabs.* + +Renders the page tabs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-overview.php](modules/api-backups/classes/class-api-backups-overview.php), [line 76](modules/api-backups/classes/class-api-backups-overview.php#L76-L82) + + + +### `mainwp_pagefooter_sites` + +*Render Tabs.* + +Renders the page tabs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-overview.php](modules/api-backups/classes/class-api-backups-overview.php), [line 76](modules/api-backups/classes/class-api-backups-overview.php#L76-L103) + + + +### `mainwp_pageheader_settings` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'Insights'` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-settings.php](modules/logs/classes/class-log-settings.php), [line 164](modules/logs/classes/class-log-settings.php#L164-L165) + + + +### `mainwp_pagefooter_settings` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'Insights'` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-settings.php](modules/logs/classes/class-log-settings.php), [line 263](modules/logs/classes/class-log-settings.php#L263-L264) + + + +### `mainwp_module_cost_tracker_help_item` + +*Action: mainwp_module_cost_tracker_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Cost Tracker page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 874](modules/cost-tracker/classes/class-cost-tracker-admin.php#L874-L885) + + + +### `mainwp_module_cost_tracker_actions_bar_left` + +*Render Actions Bar* + +Renders the actions bar on the Dashboard tab. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 1110](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L1110-L1125) + + + +### `mainwp_module_cost_tracker_actions_bar_right` + +*Render Actions Bar* + +Renders the actions bar on the Dashboard tab. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 1110](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L1110-L1129) + + + +### `mainwp_tools_form_top` + +*Action: mainwp_tools_form_top* + +Fires at the top of MainWP tools form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1995](pages/page-mainwp-settings.php#L1995-L2002) + + + +### `mainwp_tools_form_bottom` + +*Action: mainwp_tools_form_bottom* + +Fires at the bottom of mainwp tools form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 2132](pages/page-mainwp-settings.php#L2132-L2139) + + + +### `mainwp_bulkpost_before_post` + +*Before Post post action* + +Fires right before posting the 'bulkpost' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$p_id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 447](pages/page-mainwp-post-page-handler.php#L447-L456) + + + +### `mainwp_posts_posting_popup_actions` + +*Method posting()* + +Create bulk posts on sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post or Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 419](pages/page-mainwp-post-page-handler.php#L419-L480) + + + +### `mainwp-post-posting-post` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website, $output->added_id[$website->id], $links)` | | +`'4.0.7.2'` | | +`'mainwp_post_posting_post'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L819) + + + +### `mainwp-bulkposting-done` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($_post, $website, $output)` | | +`'4.0.7.2'` | | +`'mainwp_bulkposting_done'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L820) + + + +### `mainwp_post_posting_post` + +*Posting post* + +Fires while posting post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site data. +`$output->added_id[$website->id]` | | +`$links` | `array` | Links. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 822](pages/page-mainwp-post-page-handler.php#L822-L833) + + + +### `mainwp_bulkposting_done` + +*Posting post completed* + +Fires after the post posting process is completed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `array` | Array containing the post data. +`$website` | `object` | Object containing child site data. +`$output` | `array` | Output data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 835](pages/page-mainwp-post-page-handler.php#L835-L846) + + + +### `mainwp_manage_posts_bulk_action` + +*Method render()* + +Render the page content. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 539](pages/page-mainwp-post.php#L539-L583) + + + +### `mainwp_posts_bulk_action` + +*Action: mainwp_posts_bulk_action* + +Adds new action to the Bulk Actions menu on Manage Posts. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 588](pages/page-mainwp-post.php#L588-L598) + + + +### `mainwp_posts_actions_bar_left` + +*Action: mainwp_posts_actions_bar_left* + +Fires at the left side of the actions bar on the Posts screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 603](pages/page-mainwp-post.php#L603-L610) + + + +### `mainwp_posts_actions_bar_right` + +*Action: mainwp_posts_actions_bar_right* + +Fires at the right side of the actions bar on the Posts screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 615](pages/page-mainwp-post.php#L615-L622) + + + +### `mainwp_manage_posts_sidebar_top` + +*Action: mainwp_manage_posts_sidebar_top* + +Fires at the top of the sidebar on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 640](pages/page-mainwp-post.php#L640-L647) + + + +### `mainwp_manage_posts_before_select_sites` + +*Action: mainwp_manage_posts_before_select_sites* + +Fires before the Select Sites section on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 651](pages/page-mainwp-post.php#L651-L658) + + + +### `mainwp_manage_posts_after_select_sites` + +*Action: mainwp_manage_posts_after_select_sites* + +Fires after the Select Sites section on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 674](pages/page-mainwp-post.php#L674-L681) + + + +### `mainwp_manage_posts_before_search_options` + +*Action: mainwp_manage_posts_before_search_options* + +Fires before the Search Options on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 689](pages/page-mainwp-post.php#L689-L696) + + + +### `mainwp_manage_posts_after_search_options` + +*Action: mainwp_manage_posts_after_search_options* + +Fires after the Search Options on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 719](pages/page-mainwp-post.php#L719-L726) + + + +### `mainwp_manage_posts_before_submit_button` + +*Action: mainwp_manage_posts_before_submit_button* + +Fires before the Submit Button on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 738](pages/page-mainwp-post.php#L738-L745) + + + +### `mainwp_manage_posts_after_submit_button` + +*Action: mainwp_manage_posts_after_submit_button* + +Fires after the Submit Button on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 754](pages/page-mainwp-post.php#L754-L761) + + + +### `mainwp_manage_posts_sidebar_bottom` + +*Action: mainwp_manage_posts_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 765](pages/page-mainwp-post.php#L765-L772) + + + +### `mainwp_before_posts_table` + +*Action: mainwp_before_posts_table* + +Fires before the Manage Posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 934](pages/page-mainwp-post.php#L934-L941) + + + +### `mainwp_posts_table_header` + +*Action: mainwp_posts_table_header* + +Adds new column header to the Manage posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 948](pages/page-mainwp-post.php#L948-L955) + + + +### `mainwp_after_posts_table` + +*Action: mainwp_after_posts_table* + +Fires after the Manage Posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 992](pages/page-mainwp-post.php#L992-L999) + + + +### `mainwp_posts_table_column` + +*Action: mainwp_posts_table_column* + +Adds a new column item in the Manage posts table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `array` | Array containing the post data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1353](pages/page-mainwp-post.php#L1353-L1363) + + + +### `mainwp_manage_posts_action_item` + +*Method posts_search_handler()* + +Post page search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | +`$child_to_dash_array` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1282](pages/page-mainwp-post.php#L1282-L1455) + + + +### `mainwp_posts_table_action` + +*Action: mainwp_posts_table_action* + +Adds a new item in the Actions menu in Manage Posts table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `array` | Array containing the post data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1460](pages/page-mainwp-post.php#L1460-L1473) + + + +### `mainwp_top_bulkpost_edit_content` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2108) + + + +### `mainwp_before_bulkpost_editor` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2150) + + + +### `mainwp_bulkpost_edit` + +*Edit bulkpost* + +First on the Edit post screen after default fields. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `object` | Object containing the Post data. +`$post_type` | `string` | Post type. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2233](pages/page-mainwp-post.php#L2233-L2241) + + + +### `add_meta_boxes` + +*Edit bulkpost metaboxes* + +Fires after all built-in meta boxes have been added. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_type` | `string` | Post type. +`$post` | `object` | Object containing the Post data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2247](pages/page-mainwp-post.php#L2247-L2257) + + + +### `mainwp_bulkpost_edit_top_side` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | +`$post_type` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2287) + + + +### `mainwp_edit_posts_before_submit_button` + +*Action: mainwp_edit_posts_before_submit_button* + +Fires right before the Submit button. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `object` | Object containing the Post data. +`$post_type` | `string` | Post type. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2318](pages/page-mainwp-post.php#L2318-L2328) + + + +### `mainwp_edit_posts_after_submit_button` + +*Action: mainwp_edit_posts_after_submit_button* + +Fires right after the Submit button. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2341](pages/page-mainwp-post.php#L2341-L2348) + + + +### `mainwp_posts_help_item` + +*Action: mainwp_posts_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Posts page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2743](pages/page-mainwp-post.php#L2743-L2754) + + + +### `mainwp_overview_help_item` + +*Action: mainwp_overview_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Overview page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 445](pages/page-mainwp-overview.php#L445-L456) + + + +### `mainwp_cron_jobs_list` + +*Action: mainwp_cron_jobs_list* + +Renders as the last row of the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1137](pages/page-mainwp-server-information.php#L1137-L1144) + + + +### `mainwp_pageheader_tags` + +*Sites Page header* + +Renders the tabs on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ManageGroups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 293](pages/page-mainwp-manage-groups.php#L293-L300) + + + +### `mainwp_pagefooter_tags` + +*Sites Page Footer* + +Renders the footer on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ManageGroups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 474](pages/page-mainwp-manage-groups.php#L474-L481) + + + +### `mainwp_post_created` + +*Method posting_bulk_handler()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | The website object. +`'newpost'` | | +`$information['other_data']['new_post_data']` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 34](pages/page-mainwp-bulk-add.php#L34-L57) + + + +### `admin_print_styles` + +*Method setup_wizard_header()* + +Render Setup Wizard's header. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-setup-wizard.php](pages/page-mainwp-setup-wizard.php), [line 203](pages/page-mainwp-setup-wizard.php#L203-L234) + + + +### `mainwp_pageheader_extensions` + +*Method render_extensions_groups()* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 921](pages/page-mainwp-extensions-groups.php#L921-L968) + + + +### `mainwp_pagefooter_extensions` + +*Method render_extensions_groups()* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 921](pages/page-mainwp-extensions-groups.php#L921-L1086) + + + +### `mainwp_manage_pages_bulk_action` + +*Renders Bulk Page Manager.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 434](pages/page-mainwp-page.php#L434-L474) + + + +### `mainwp_pages_bulk_action` + +*Action: mainwp_pages_bulk_action* + +Adds new action to the Bulk Actions menu on Manage Pages. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 479](pages/page-mainwp-page.php#L479-L489) + + + +### `mainwp_pages_actions_bar_left` + +*Action: mainwp_pages_actions_bar_left* + +Fires at the left side of the actions bar on the Pages screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 494](pages/page-mainwp-page.php#L494-L501) + + + +### `mainwp_pages_actions_bar_right` + +*Action: mainwp_pages_actions_bar_right* + +Fires at the right side of the actions bar on the Pages screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 506](pages/page-mainwp-page.php#L506-L513) + + + +### `mainwp_manage_pages_sidebar_top` + +*Action: mainwp_manage_pages_sidebar_top* + +Fires at the top of the sidebar on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 531](pages/page-mainwp-page.php#L531-L538) + + + +### `mainwp_manage_pages_before_select_sites` + +*Action: mainwp_manage_pages_before_select_sites* + +Fires before the Select Sites section on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 542](pages/page-mainwp-page.php#L542-L549) + + + +### `mainwp_manage_pages_after_select_sites` + +*Action: mainwp_manage_pages_after_select_sites* + +Fires after the Select Sites section on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 565](pages/page-mainwp-page.php#L565-L572) + + + +### `mainwp_manage_pages_before_search_options` + +*Action: mainwp_manage_pages_before_search_options* + +Fires before the Search Options on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 580](pages/page-mainwp-page.php#L580-L587) + + + +### `mainwp_manage_pages_after_search_options` + +*Action: mainwp_manage_pages_after_search_options* + +Fires after the Search Options on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 610](pages/page-mainwp-page.php#L610-L617) + + + +### `mainwp_manage_pages_before_submit_button` + +*Action: mainwp_manage_pages_before_submit_button* + +Fires before the Submit Button on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 624](pages/page-mainwp-page.php#L624-L631) + + + +### `mainwp_manage_pages_after_submit_button` + +*Action: mainwp_manage_pages_after_submit_button* + +Fires after the Submit Button on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 640](pages/page-mainwp-page.php#L640-L647) + + + +### `mainwp_manage_pages_sidebar_bottom` + +*Action: mainwp_manage_pages_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 651](pages/page-mainwp-page.php#L651-L658) + + + +### `mainwp_before_pages_table` + +*Action: mainwp_before_pages_table* + +Fires before the Manage Pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 793](pages/page-mainwp-page.php#L793-L800) + + + +### `mainwp_pages_table_header` + +*Action: mainwp_pages_table_header* + +Adds new column header to the Manage pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 807](pages/page-mainwp-page.php#L807-L814) + + + +### `mainwp_after_pages_table` + +*Action: mainwp_after_pages_table* + +Fires after the Manage Pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 842](pages/page-mainwp-page.php#L842-L849) + + + +### `mainwp_pages_table_column` + +*Action: mainwp_pages_table_column* + +Adds a new column item in the Manage pages table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | `array` | Array containing the page data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1146](pages/page-mainwp-page.php#L1146-L1156) + + + +### `mainwp_manage_pages_action_item` + +*Method pages_search_handler()* + +Pages Search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1095](pages/page-mainwp-page.php#L1095-L1221) + + + +### `mainwp_pages_table_action` + +*Action: mainwp_pages_table_action* + +Adds a new item in the Actions menu in Manage Pages table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | | +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1233](pages/page-mainwp-page.php#L1233-L1246) + + + +### `mainwp_bulkpage_before_post` + +*Before Page post action* + +Fires right before posting the 'bulkpage' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1427](pages/page-mainwp-page.php#L1427-L1436) + + + +### `mainwp-post-posting-page` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website, $output->added_id[$website->id], $links)` | | +`'4.0.7.2'` | | +`'mainwp_post_posting_page'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1619) + + + +### `mainwp-bulkposting-done` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($_post, $website, $output)` | | +`'4.0.7.2'` | | +`'mainwp_bulkposting_done'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1620) + + + +### `mainwp_post_posting_page` + +*Posting page* + +Fires while posting page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site data. +`$output->added_id[$website->id]` | | +`$links` | `array` | Links. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1622](pages/page-mainwp-page.php#L1622-L1633) + + + +### `mainwp_bulkposting_done` + +*Posting page completed* + +Fires after the page posting process is completed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `array` | Array containing the post data. +`$website` | `object` | Object containing child site data. +`$output` | `array` | Output data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1635](pages/page-mainwp-page.php#L1635-L1646) + + + +### `mainwp_pages_posting_popup_actions` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1703) + + + +### `mainwp_pages_help_item` + +*Action: mainwp_pages_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Pages page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1741](pages/page-mainwp-page.php#L1741-L1752) + + + +### `mainwp_pageheader_sites` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MonitoringSites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 291](pages/page-mainwp-monitoring.php#L291-L292) + + + +### `mainwp_pagefooter_sites` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MonitoringSites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 306](pages/page-mainwp-monitoring.php#L306-L307) + + + +### `mainwp_pageheader_sites` + +*Sites Page header* + +Renders the tabs on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'managesites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 215](pages/page-mainwp-manage-screenshots.php#L215-L222) + + + +### `mainwp_pagefooter_sites` + +*Sites Page Footer* + +Renders the footer on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'managesites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 446](pages/page-mainwp-manage-screenshots.php#L446-L453) + + + +### `mainwp_recent_posts_widget_top` + +*Action: mainwp_recent_posts_widget_top* + +Fires at the top of the Recent Posts widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 125](widgets/widget-mainwp-recent-posts.php#L125-L132) + + + +### `mainwp_recent_posts_after_lists` + +*Action: mainwp_recent_posts_after_lists* + +Fires after the recent posts lists, before the bottom actions section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 144](widgets/widget-mainwp-recent-posts.php#L144-L151) + + + +### `mainwp_recent_posts_widget_bottom` + +*Action: mainwp_recent_posts_widget_bottom* + +Fires at the bottom of the Recent Posts widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 163](widgets/widget-mainwp-recent-posts.php#L163-L170) + + + +### `mainwp_recent_posts_before_publised_list` + +*Action: mainwp_recent_posts_before_publised_list* + +Fires before the list of recent published Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 233](widgets/widget-mainwp-recent-posts.php#L233-L243) + + + +### `mainwp_recent_posts_after_publised_list` + +*Action: mainwp_recent_posts_after_publised_list* + +Fires after the list of recent published Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 292](widgets/widget-mainwp-recent-posts.php#L292-L302) + + + +### `mainwp_recent_posts_before_draft_list` + +*Action: mainwp_recent_posts_before_draft_list* + +Fires before the list of recent draft Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 327](widgets/widget-mainwp-recent-posts.php#L327-L337) + + + +### `mainwp_recent_posts_after_draft_list` + +*Action: mainwp_recent_posts_after_draft_list* + +Fires after the list of recent draft Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 383](widgets/widget-mainwp-recent-posts.php#L383-L393) + + + +### `mainwp_recent_posts_before_pending_list` + +*Action: mainwp_recent_posts_before_pending_list* + +Fires before the list of recent pending Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 418](widgets/widget-mainwp-recent-posts.php#L418-L428) + + + +### `mainwp_recent_posts_after_pending_list` + +*Action: mainwp_recent_posts_after_pending_list* + +Fires after the list of recent pending Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 474](widgets/widget-mainwp-recent-posts.php#L474-L484) + + + +### `mainwp_recent_posts_before_future_list` + +*Action: mainwp_recent_posts_before_future_list* + +Fires before the list of recent future Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 509](widgets/widget-mainwp-recent-posts.php#L509-L519) + + + +### `mainwp_recent_posts_after_future_list` + +*Action: mainwp_recent_posts_after_future_list* + +Fires after the list of recent future Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 566](widgets/widget-mainwp-recent-posts.php#L566-L576) + + + +### `mainwp_recent_posts_before_trash_list` + +*Action: mainwp_recent_posts_before_trash_list* + +Fires before the list of recent trash Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 601](widgets/widget-mainwp-recent-posts.php#L601-L611) + + + +### `mainwp_recent_posts_after_trash_list` + +*Action: mainwp_recent_posts_after_trash_list* + +Fires after the list of recent trash Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 656](widgets/widget-mainwp-recent-posts.php#L656-L666) + + + +### `mainwp_before_post_action` + +*Action: mainwp_before_post_action* + +Fires before post/page publish/unpublish/trash/delete/restore actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$pAction` | | +`$postId` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 772](widgets/widget-mainwp-recent-posts.php#L772-L779) + + + +### `mainwp_after_post_action` + +*Action: mainwp_after_post_action +Fires after post/page publish/unpublish/trash/delete/restore actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`$pAction` | | +`$postId` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 795](widgets/widget-mainwp-recent-posts.php#L795-L801) + + + +### `mainwp_recent_pages_widget_top` + +*Action: mainwp_recent_pages_widget_top* + +Fires at the top of the Recent Pages widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 119](widgets/widget-mainwp-recent-pages.php#L119-L126) + + + +### `mainwp_recent_pages_after_lists` + +*Action: mainwp_recent_pages_after_lists* + +Fires after the recent pages lists, before the bottom actions section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 139](widgets/widget-mainwp-recent-pages.php#L139-L146) + + + +### `mainwp_recent_pages_widget_bottom` + +*Action: mainwp_recent_pages_widget_bottom* + +Fires at the bottom of the Recent Pages widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 159](widgets/widget-mainwp-recent-pages.php#L159-L166) + + + +### `mainwp_recent_pages_before_publised_list` + +*Action: mainwp_recent_pages_before_publised_list* + +Fires before the list of recent published Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 229](widgets/widget-mainwp-recent-pages.php#L229-L239) + + + +### `mainwp_recent_pages_after_publised_list` + +*Action: mainwp_recent_pages_after_publised_list* + +Fires after the list of recent published Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 289](widgets/widget-mainwp-recent-pages.php#L289-L299) + + + +### `mainwp_recent_pages_before_draft_list` + +*Action: mainwp_recent_pages_before_draft_list* + +Fires before the list of recent draft Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 324](widgets/widget-mainwp-recent-pages.php#L324-L334) + + + +### `mainwp_recent_pages_after_draft_list` + +*Action: mainwp_recent_pages_after_draft_list* + +Fires after the list of recent draft Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 381](widgets/widget-mainwp-recent-pages.php#L381-L391) + + + +### `mainwp_recent_pages_before_pending_list` + +*Action: mainwp_recent_pages_before_pending_list* + +Fires before the list of recent pending pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 415](widgets/widget-mainwp-recent-pages.php#L415-L425) + + + +### `mainwp_recent_pages_after_pending_list` + +*Action: mainwp_recent_pages_after_pending_list* + +Fires after the list of recent pending pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 472](widgets/widget-mainwp-recent-pages.php#L472-L482) + + + +### `mainwp_recent_pages_before_future_list` + +*Action: mainwp_recent_pages_before_future_list* + +Fires before the list of recent future Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 507](widgets/widget-mainwp-recent-pages.php#L507-L517) + + + +### `mainwp_recent_pages_after_future_list` + +*Action: mainwp_recent_pages_after_future_list* + +Fires after the list of recent future Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 565](widgets/widget-mainwp-recent-pages.php#L565-L575) + + + +### `mainwp_recent_pages_before_trash_list` + +*Action: mainwp_recent_pages_before_trash_list* + +Fires before the list of recent trash Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 600](widgets/widget-mainwp-recent-pages.php#L600-L610) + + + +### `mainwp_recent_pages_after_trash_list` + +*Action: mainwp_recent_pages_after_trash_list* + +Fires after the list of recent trash Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 655](widgets/widget-mainwp-recent-pages.php#L655-L665) + +## Filters + + + +### `mainwp_enqueue_script_gridster` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$load_gridstack` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L882) + + + +### `mainwp_header_title` + +*Filter: mainwp_header_title* + +Filter the MainWP page title in the header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$title` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 488](class/class-mainwp-ui.php#L488-L495) + + + +### `mainwp_header_left` + +*Filter: mainwp_header_left* + +Filter the MainWP header element left side content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$title` | | +`$params` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 505](class/class-mainwp-ui.php#L505-L512) + + + +### `mainwp_header_right` + +*Filter: mainwp_header_right* + +Filter the MainWP header element right side content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$right` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 516](class/class-mainwp-ui.php#L516-L523) + + + +### `mainwp_sidbar_pages` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1286) + + + +### `mainwp_sidebar_pages` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1287) + + + +### `mainwp_page_navigation` + +*Filter: mainwp_page_navigation* + +Filters MainWP page navigation menu items. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$subitems` | | +`$name_caller` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1449](class/class-mainwp-ui.php#L1449-L1456) + + + +### `mainwp_sidbar_pages` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2477) + + + +### `mainwp_sidebar_pages` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2478) + + + +### `redirect_post_location` + +*Filter: redirect_post_location* + +Filters the location for the Edit process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$location` | | +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 56](class/class-mainwp-bulk-post.php#L56-L65) + + + +### `mainwp_daily_digest_content` + +*Filter: mainwp_daily_digest_content* + +Filters the Daily Digest email content and adds support for enabling text/plain emails. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$sites_ids` | `array` | Array of sites IDs. +`$plain_text` | `bool` | Wether plain text mode is enabled. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification.php](class/class-mainwp-notification.php), [line 210](class/class-mainwp-notification.php#L210-L220) + + + +### `mainwp_send_mail_from_header` + +*Method send_wp_mail().* + +Send email via wp_mail(). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$email` | `string` | send to email. +`$subject` | `string` | email content. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification.php](class/class-mainwp-notification.php), [line 317](class/class-mainwp-notification.php#L317-L337) + + + +### `mainwp_page_admin_body_class` + +*MainWP Admin body CSS class attributes.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$class_string` | `mixed` | MainWP CSS Class attributes. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 944](class/class-mainwp-system-view.php#L944-L991) + + + +### `mainwp_get_post_data_authed` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | +`$website` | `mixed` | Array of Child Site Info. +`$what` | `mixed` | What we are posting. +`$params` | `null` | Post parameters. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L393) + + + +### `mainwp_recent_posts_pages_number` + +*This filter is documented in ../widgets/widget-mainwp-recent-posts.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 421](class/class-mainwp-connect.php#L421-L422) + + + +### `mainwp-pre-posting-posts` + +*Filter is being replaced with mainwp_pre_posting_posts.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(is_array($params) ? $params : array(), (object) array('id' => $website->id, 'url' => $website->url, 'name' => $website->name))` | | +`'4.0.7.2'` | | +`// NOSONAR - not IP. +'mainwp_pre_posting_posts'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 784](class/class-mainwp-connect.php#L784-L801) + + + +### `mainwp_pre_posting_posts` + +*Filter: mainwp_pre_posting_posts* + +Prepares parameters for the authenticated cURL post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`is_array($params) ? $params : array()` | | +`(object) array('id' => $website->id, 'url' => $website->url, 'name' => $website->name)` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 803](class/class-mainwp-connect.php#L803-L818) + + + +### `mainwp_subpages_left_menu` + +*Method init_subpages_left_menu* + +Build left menu subpages array. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$subPages` | `array` | Array of SubPages. +`$initSubpage` | `array` | Initial SubPage Array. +`$parentKey` | `string` | Parent Menu Slug. +`$slug` | `mixed` | SubPage Slug. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 479](class/class-mainwp-menu.php#L479-L497) + + + +### `mainwp_extensions_page_top_header` + +*Method render_header()* + +Render page header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension_name` | | +`$extension_name_raw` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 50](class/class-mainwp-extensions-view.php#L50-L71) + + + +### `mainwp_pro_reports_generate_content` + +*Filter: mainwp_pro_reports_generate_content* + +Filters the Pro Reports available content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$content` | | +`$current_email_site->id` | | +`$timestamp_from_date` | | +`$timestamp_to_date` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 210](class/class-mainwp-notification-template.php#L210-L217) + + + +### `mainwp_client_report_generate_content` + +*Filter: mainwp_client_report_generate_content* + +Filters the Client Reports available content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$content` | | +`$current_email_site->id` | | +`$timestamp_from_date` | | +`$timestamp_to_date` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 219](class/class-mainwp-notification-template.php#L219-L226) + + + +### `mainwp_getsubpages_api_backups` + +*This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-admin.php](modules/api-backups/classes/class-api-backups-admin.php), [line 234](modules/api-backups/classes/class-api-backups-admin.php#L234-L237) + + + +### `mainwp_getsubpages_cost_tracker` + +*This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 292](modules/cost-tracker/classes/class-cost-tracker-admin.php#L292-L295) + + + +### `mainwp_escape_content` + +*Edit subscription Post* + +Handles the saving subscription. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 441](modules/cost-tracker/classes/class-cost-tracker-admin.php#L441-L478) + + + +### `mainwp_escape_content` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 745](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L745-L786) + + + +### `mainwp_escape_content` + +*Method ajax_notes_save()* + +Post handler for save notes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 947](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L947-L959) + + + +### `mainwp_escape_content` + +*Method get_cost_field_value().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cost->note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php), [line 127](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php#L127-L190) + + + +### `mainwp_escape_content` + +*Handles the saving item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 296](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L296-L330) + + + +### `mainwp-getsubpages-settings` + +*Settings Subpages* + +Filters subpages for the Settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_settings'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 211](pages/page-mainwp-settings.php#L211-L218) + + + +### `mainwp_getsubpages_settings` + +*Instantiate the Settings Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 137](pages/page-mainwp-settings.php#L137-L219) + + + +### `date_formats` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(esc_html__('F j, Y'), 'Y-m-d', 'm/d/Y', 'd/m/Y')` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1139](pages/page-mainwp-settings.php#L1139-L1139) + + + +### `time_formats` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(esc_html__('g:i a'), 'g:i A', 'H:i')` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1179](pages/page-mainwp-settings.php#L1179-L1179) + + + +### `mainwp_show_qsw` + +*Render MainWP Tools SubPage.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1953](pages/page-mainwp-settings.php#L1953-L2004) + + + +### `mainwp_edit_post_get_categories` + +*Method ajax_handle_get_categories()* + +Get categories. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | | +`$_REQUEST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 156](pages/page-mainwp-post-page-handler.php#L156-L244) + + + +### `mainwp_posts_posting_bulk_sites` + +*Method posting_bulk()* + +Create bulk posts on sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 396](pages/page-mainwp-post-page-handler.php#L396-L408) + + + +### `mainwp_posting_post_selected_by` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_by` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L626) + + + +### `mainwp_posting_post_selected_sites` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_sites` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L634) + + + +### `mainwp_posting_selected_clients` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_clients` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L636) + + + +### `mainwp_posting_bulkpost_post_status` + +*Post status* + +Sets post status when posting 'bulkpost' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_status` | | +`$id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 682](pages/page-mainwp-post-page-handler.php#L682-L691) + + + +### `mainwp-after-posting-bulkpost-result` + +*After posting a new post* + +Sets data after the posting process to show the process feedback. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false, $_post, $dbwebsites, $output)` | | +`'4.0.7.2'` | | +`'mainwp_after_posting_bulkpost_result'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 850](pages/page-mainwp-post-page-handler.php#L850-L861) + + + +### `mainwp_after_posting_bulkpost_result` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$newExtensions` | | +`$_post` | | +`$dbwebsites` | | +`$output` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L866) + + + +### `mainwp_after_posting_delete_bulk_post` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$posting_succeed` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L907) + + + +### `mainwp_manageposts_get_post_result` + +*Method get_post()* + +Get post from child site to edit. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$information['my_post']` | | +`$websiteId` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 953](pages/page-mainwp-post-page-handler.php#L953-L1008) + + + +### `mainwp_getsubpages_client` + +*Method init_menu()* + +Initiate menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 79](pages/page-mainwp-client.php#L79-L141) + + + +### `mainwp_default_emails_fields` + +*Method get_defaults_email_settings_value().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$recipients` | | +`$type` | `string` | setting type to get default value. +`$field` | `string` | setting field to get default value. +`$general` | `bool` | general setting. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 216](pages/page-mainwp-settings-indicator.php#L216-L265) + + + +### `mainwp-getcustompage-backups` + +*Backups Subpages* + +Filters subpages for the Backups page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false)` | | +`'4.0.7.2'` | | +`'mainwp_getcustompage_backups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 102](pages/page-mainwp-manage-backups.php#L102-L109) + + + +### `mainwp_getcustompage_backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$customPage` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L110) + + + +### `mainwp-getsubpages-backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_backups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L144) + + + +### `mainwp_getsubpages_backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L145) + + + +### `mainwp-getsubpages-post` + +*Method ini_menu()* + +Initiate Page menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_post'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 78](pages/page-mainwp-post.php#L78-L123) + + + +### `mainwp_getsubpages_post` + +*Method ini_menu()* + +Initiate Page menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 78](pages/page-mainwp-post.php#L78-L124) + + + +### `mainwp_edit_bulkpost_getmetaboxes` + +*Init custom bulkpost metaboxes.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 151](pages/page-mainwp-post.php#L151-L157) + + + +### `mainwp_posts_search_bulk_sites` + +*Method render()* + +Render the page content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 539](pages/page-mainwp-post.php#L539-L732) + + + +### `mainwp_custom_post_types_default` + +*Default post types* + +Set default custom post types to exclude from the CPT extension options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 871](pages/page-mainwp-post.php#L871-L878) + + + +### `mainwp_posts_table_fatures` + +*Filter: mainwp_posts_table_fatures* + +Filters the Manage Posts table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1012](pages/page-mainwp-post.php#L1012-L1019) + + + +### `mainwp_get_all_posts_data` + +*Get all posts data* + +Set search parameters for the fetch process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1221](pages/page-mainwp-post.php#L1221-L1228) + + + +### `postmeta_form_keys` + +*Filters values for the meta key dropdown in the Custom Fields meta box.* + +Returning a non-null value will effectively short-circuit and avoid a +potentially expensive query against postmeta. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$_post` | `\MainWP\Dashboard\WP_Post` | The current post object. + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1568](pages/page-mainwp-post.php#L1568-L1579) + + + +### `postmeta_form_limit` + +*Filters the number of custom fields to retrieve for the drop-down +in the Custom Fields meta box.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`30` | | + +**Changelog** + +Version | Description +------- | ----------- +`2.1.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1582](pages/page-mainwp-post.php#L1582-L1590) + + + +### `admin_post_thumbnail_size` + +*Filters the size used to display the post thumbnail image in the 'Featured Image' meta box.* + +Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail' +image size is registered, which differs from the 'thumbnail' image size +managed via the Settings > Media screen. See the `$size` parameter description +for more information on default values. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$size` | `string\|array` | Post thumbnail image size to display in the meta box. Accepts any valid
image size, or an array of width and height values in pixels (in that order).
If the 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise,
default is an array with 266 as both the height and width values. +`$thumbnail_id` | `int` | Post thumbnail attachment ID. +`$_post` | `\MainWP\Dashboard\WP_Post` | The post object associated with the thumbnail. + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1704](pages/page-mainwp-post.php#L1704-L1721) + + + +### `mainwp_admin_post_thumbnail_html` + +*Filters the admin post thumbnail HTML markup to return.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$html` | | +`$_post->ID` | | +`$thumbnail_id` | `int` | Thumbnail ID. + +**Changelog** + +Version | Description +------- | ----------- +`4.6.0` | Added the `$thumbnail_id` parameter. +`3.5.0` | Added the `$post_id` parameter. +`2.9.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1761](pages/page-mainwp-post.php#L1761-L1772) + + + +### `mainwp_custom_render_bulkpost` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$post_id` | `mixed` | Post ID. +`$post_type` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2035) + + + +### `mainwp_bulkpost_edit_title` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note_title` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2078) + + + +### `mainwp_bulkpost_editor_settings` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2174) + + + +### `mainwp-getsubpages-sites` + +*Initiate menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 178](pages/page-mainwp-manage-sites.php#L178-L241) + + + +### `mainwp_getsubpages_sites` + +*Initiate menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 178](pages/page-mainwp-manage-sites.php#L178-L242) + + + +### `mainwp_getsubpages_restapi` + +*REST API Subpages* + +Filters subpages for the REST API page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 116](pages/page-mainwp-rest-api-page.php#L116-L123) + + + +### `mainwp_security_post_data` + +*Filters security issues from fixing* + +Filters the default security checks and enables user to disable certain issues from being fixed by using the Fix All button. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$skip_features` | `object` | Object containing data from che chid site related to security issues.
Available options: 'db_reporting', 'php_reporting'. +`$website` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 346](pages/page-mainwp-security-issues.php#L346-L358) + + + +### `mainwp-getsubpages-user` + +*This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_user'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 114](pages/page-mainwp-user.php#L114-L119) + + + +### `mainwp_getsubpages_user` + +*Method init_menu()* + +Initiate menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 68](pages/page-mainwp-user.php#L68-L120) + + + +### `mainwp-getsubpages-server` + +*Filter mainwp_getsubpages_server* + +Filters subpages for the Info page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_server'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 141](pages/page-mainwp-server-information.php#L141-L148) + + + +### `mainwp_getsubpages_server` + +*Method init_menu()* + +Initiate Info subPage menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 36](pages/page-mainwp-server-information.php#L36-L149) + + + +### `mainwp_info_schedules_cron_listing` + +*Renders the Cron Schedule page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cron_jobs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1000](pages/page-mainwp-server-information.php#L1000-L1042) + + + +### `error_log_mainwp_logs` + +*Filter: error_log_mainwp_logs* + +Filters the error log files to show. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($error_log)` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1528](pages/page-mainwp-server-information.php#L1528-L1535) + + + +### `error_log_mainwp_lines` + +*Filter: error_log_mainwp_lines* + +Limits the number of error log records to be displayed. Default value, 50. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1537](pages/page-mainwp-server-information.php#L1537-L1544) + + + +### `mainwp_logger_to_db` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1684) + + + +### `mainwp_specific_action_logs` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific_default` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1703) + + + +### `mainwp_log_specific_actions` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific_logs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1704) + + + +### `mainwp_logger_to_db` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1759) + + + +### `mainwp_getsubpages_tags` + +*This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$subPages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 85](pages/page-mainwp-manage-groups.php#L85-L90) + + + +### `mainwp-getsubpages-page` + +*Method init_menu()* + +Initiate Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_page'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 81](pages/page-mainwp-page.php#L81-L111) + + + +### `mainwp_getsubpages_page` + +*Method init_menu()* + +Initiate Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 81](pages/page-mainwp-page.php#L81-L112) + + + +### `mainwp_pages_table_fatures` + +*Filter: mainwp_pages_table_fatures* + +Filters the Manage Pages table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 862](pages/page-mainwp-page.php#L862-L869) + + + +### `mainwp_get_all_pages_data` + +*Get all pages data* + +Set search parameters for the fetch process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1047](pages/page-mainwp-page.php#L1047-L1054) + + + +### `mainwp_posting_bulkpost_post_status` + +*Page status* + +Sets page status when posting 'bulkpage' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_status` | | +`$id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1469](pages/page-mainwp-page.php#L1469-L1478) + + + +### `mainwp_bulkpage_posting` + +*Posting new page* + +Sets Page data to post to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1602](pages/page-mainwp-page.php#L1602-L1611) + + + +### `mainwp-after-posting-bulkpage-result` + +*After posting a new page* + +Sets data after the posting process to show the process feedback. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false, $_post, $dbwebsites, $output)` | | +`'4.0.7.2'` | | +`'mainwp_after_posting_bulkpage_result'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1650](pages/page-mainwp-page.php#L1650-L1661) + + + +### `mainwp_after_posting_bulkpage_result` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$after_posting` | | +`$_post` | | +`$dbwebsites` | | +`$output` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1662) + + + +### `mainwp_cards_per_row` + +*Filter: mainwp_cards_per_row* + +Filters the number of cards per row in MainWP Screenshots page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'five'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1.8` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 247](pages/page-mainwp-manage-screenshots.php#L247-L254) + + + +### `mainwp_recent_posts_pages_number` + +*Sets number of recent posts & pages* + +Limits the number of recent posts & pages to show in the widget. Min 0, Max 30, Default 5. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 50](widgets/widget-mainwp-recent-posts.php#L50-L57) + + + +### `mainwp_recent_posts_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Recent Posts', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 189](widgets/widget-mainwp-recent-posts.php#L189-L189) + + + +### `mainwp_recent_posts_pages_number` + +*This filter is documented in /widgets/widget-mainwp-recent-posts.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 50](widgets/widget-mainwp-recent-pages.php#L50-L51) + + + +### `mainwp_recent_pages_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Recent Pages', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 185](widgets/widget-mainwp-recent-pages.php#L185-L185) + + +

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0

+ + + diff --git a/mainwp-hooks-old/dashboard/actions/extensions-integration/index.md b/mainwp-hooks-old/dashboard/actions/extensions-integration/index.md new file mode 100644 index 0000000..2673937 --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/extensions-integration/index.md @@ -0,0 +1,119 @@ +# Extensions & Integration Actions + +Hooks related to extensions and third-party integrations. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_extension_card_top`](#mainwp_extension_card_top) - Action: mainwp_extension_card_top +- [`mainwp_extension_card_bottom`](#mainwp_extension_card_bottom) - Action: mainwp_extension_card_bottom +- [`mainwp_extensions_help_item`](#mainwp_extensions_help_item) - Action: mainwp_extensions_help_item +- [`mainwp-getextensions`](#mainwp-getextensions) - Method init_menu() +- [`mainwp_getextensions`](#mainwp_getextensions) - Method init_menu() + +## Hook Details + +### `mainwp_extension_card_top` + +*Action: mainwp_extension_card_top* + +Fires at the Extension card top + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension` | `array` | Array containing the Extension information. + +**Changelog** + +Version | Description +------- | ----------- +`4.1.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 442](class/class-mainwp-extensions-view.php#L442-L451) + + + +### `mainwp_extension_card_bottom` + +*Action: mainwp_extension_card_bottom* + +Fires at the Extension card bottom + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension` | `array` | Array containing the Extension information. + +**Changelog** + +Version | Description +------- | ----------- +`4.1.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 530](class/class-mainwp-extensions-view.php#L530-L539) + + + +### `mainwp_extensions_help_item` + +*Action: mainwp_extensions_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Extensions page. + +Suggested HTML markup: + +

Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 799](pages/page-mainwp-extensions.php#L799-L810) + + + +### `mainwp-getextensions` + +*Method init_menu()* + +Instantiate Extensions Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($init_extensions)` | | +`'4.0.7.2'` | | +`'mainwp_getextensions'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 58](pages/page-mainwp-extensions.php#L58-L86) + + + +### `mainwp_getextensions` + +*Method init_menu()* + +Instantiate Extensions Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$init_extensions` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 58](pages/page-mainwp-extensions.php#L58-L87) + + + diff --git a/mainwp-hooks-old/dashboard/actions/index.md b/mainwp-hooks-old/dashboard/actions/index.md new file mode 100644 index 0000000..477151d --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/index.md @@ -0,0 +1,1206 @@ +# MainWP Dashboard Actions + +This section provides documentation for all action hooks available in the MainWP Dashboard plugin. + +## Categories + +- [Site Management](site-management/index.md) (194 hooks) +- [Updates & Maintenance](updates-maintenance/index.md) (301 hooks) +- [Content Management](content-management/index.md) (213 hooks) +- [User Management](user-management/index.md) (61 hooks) +- [Backups & Restoration](backups-restoration/index.md) (65 hooks) +- [Security & Monitoring](security-monitoring/index.md) (50 hooks) +- [Client Reports](client-reports/index.md) (41 hooks) +- [UI & Display](ui-display/index.md) (190 hooks) +- [Extensions & Integration](extensions-integration/index.md) (5 hooks) +- [API & Remote Communication](api-remote/index.md) (42 hooks) +- [System & Settings](system-settings/index.md) (24 hooks) + +## All Actions (Alphabetical) + +- [`activate_{$plugin}`](updates-maintenance/index.md#activate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`add_meta_boxes`](content-management/index.md#add_meta_boxes) - Edit bulkpost metaboxes +- [`admin_post_thumbnail_size`](content-management/index.md#admin_post_thumbnail_size) - Filters the size used to display the post thumbnail image in the 'Featured Image' meta box. +- [`admin_print_styles`](content-management/index.md#admin_print_styles) - Method setup_wizard_header() +- [`after_mainwp_menu`](ui-display/index.md#after_mainwp_menu) - Action: after_mainwp_menu +- [`after_mainwp_menu`](ui-display/index.md#after_mainwp_menu) - Action: after_mainwp_menu +- [`before_mainwp_menu`](ui-display/index.md#before_mainwp_menu) - Action: before_mainwp_menu +- [`before_mainwp_menu`](ui-display/index.md#before_mainwp_menu) - Action: before_mainwp_menu +- [`cloudways_api_form_bottom`](api-remote/index.md#cloudways_api_form_bottom) - Action: cloudways_api_form_bottom +- [`cloudways_api_form_top`](api-remote/index.md#cloudways_api_form_top) - Action: cloudways_api_form_top +- [`cpanel_api_form`](api-remote/index.md#cpanel_api_form) - Action: cpanel_api_form +- [`cpanel_api_form_bottom`](api-remote/index.md#cpanel_api_form_bottom) - Action: cpanel_api_form_bottom +- [`date_formats`](content-management/index.md#date_formats) - *Arguments* +- [`deactivate_{$plugin}`](updates-maintenance/index.md#deactivate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`deprecated_hook_run`](ui-display/index.md#deprecated_hook_run) - Display a deprecated notice for old hooks. +- [`digitalocean_api_form_bottom`](api-remote/index.md#digitalocean_api_form_bottom) - Action: digitalocean_api_form_bottom +- [`digitalocean_api_form_top`](api-remote/index.md#digitalocean_api_form_top) - Action: digitalocean_api_form_top +- [`error_log_mainwp_lines`](content-management/index.md#error_log_mainwp_lines) - Filter: error_log_mainwp_lines +- [`error_log_mainwp_logs`](content-management/index.md#error_log_mainwp_logs) - Filter: error_log_mainwp_logs +- [`file_mod_allowed`](updates-maintenance/index.md#file_mod_allowed) - Disables plugin installation +- [`file_mod_allowed`](updates-maintenance/index.md#file_mod_allowed) - Disables themes installation +- [`gridpane_api_form_bottom`](api-remote/index.md#gridpane_api_form_bottom) - Action: gridpane_api_form_bottom +- [`gridpane_api_form_top`](api-remote/index.md#gridpane_api_form_top) - Action: gridpane_api_form_top +- [`https_local_ssl_verify`](api-remote/index.md#https_local_ssl_verify) - *Arguments* +- [`kinsta_api_form_bottom`](api-remote/index.md#kinsta_api_form_bottom) - Action: kinsta_api_form_bottom +- [`kinsta_api_form_top`](api-remote/index.md#kinsta_api_form_top) - Action: kinsta_api_form_top +- [`linode_api_form_bottom`](api-remote/index.md#linode_api_form_bottom) - Action: linode_api_form_bottom +- [`linode_api_form_top`](api-remote/index.md#linode_api_form_top) - Action: linode_api_form_top +- [`mainwp-activated`](ui-display/index.md#mainwp-activated) - MainWP_System constructor. +- [`mainwp-after-posting-bulkpage-result`](content-management/index.md#mainwp-after-posting-bulkpage-result) - After posting a new page +- [`mainwp-after-posting-bulkpost-result`](content-management/index.md#mainwp-after-posting-bulkpost-result) - After posting a new post +- [`mainwp-bulkposting-done`](content-management/index.md#mainwp-bulkposting-done) - Method posting_posts() +- [`mainwp-bulkposting-done`](content-management/index.md#mainwp-bulkposting-done) - Method posting() +- [`mainwp-extension-sites-edit`](site-management/index.md#mainwp-extension-sites-edit) - Method render_edit_site() +- [`mainwp-getcustompage-backups`](content-management/index.md#mainwp-getcustompage-backups) - Backups Subpages +- [`mainwp-getextensions`](extensions-integration/index.md#mainwp-getextensions) - Method init_menu() +- [`mainwp-getmetaboxes`](ui-display/index.md#mainwp-getmetaboxes) - Method apply_filter() +- [`mainwp-getprimarybackup-activated`](backups-restoration/index.md#mainwp-getprimarybackup-activated) - Method admin_init() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method get_columns() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Renders the Backup Site Dialog. +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Render Legacy Backups page. +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method render_settings() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method render_individual_settings() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Gets MainWP Set Options. +- [`mainwp-getsubpages-backups`](content-management/index.md#mainwp-getsubpages-backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-page`](content-management/index.md#mainwp-getsubpages-page) - Method init_menu() +- [`mainwp-getsubpages-plugins`](updates-maintenance/index.md#mainwp-getsubpages-plugins) - Plugins Subpages +- [`mainwp-getsubpages-post`](content-management/index.md#mainwp-getsubpages-post) - Method ini_menu() +- [`mainwp-getsubpages-server`](content-management/index.md#mainwp-getsubpages-server) - Filter mainwp_getsubpages_server +- [`mainwp-getsubpages-settings`](content-management/index.md#mainwp-getsubpages-settings) - Settings Subpages +- [`mainwp-getsubpages-sites`](content-management/index.md#mainwp-getsubpages-sites) - Initiate menu. +- [`mainwp-getsubpages-themes`](updates-maintenance/index.md#mainwp-getsubpages-themes) - Themes Subpages +- [`mainwp-getsubpages-user`](content-management/index.md#mainwp-getsubpages-user) - This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter. +- [`mainwp-manage-sites-edit`](site-management/index.md#mainwp-manage-sites-edit) - Method render_edit_site() +- [`mainwp-manage-sites-edit`](site-management/index.md#mainwp-manage-sites-edit) - Method render_new_site_add_new_site() +- [`mainwp-post-posting-page`](content-management/index.md#mainwp-post-posting-page) - Method posting() +- [`mainwp-post-posting-post`](content-management/index.md#mainwp-post-posting-post) - Method posting_posts() +- [`mainwp-pre-posting-posts`](content-management/index.md#mainwp-pre-posting-posts) - Filter is being replaced with mainwp_pre_posting_posts. +- [`mainwp-securityissues-sites`](security-monitoring/index.md#mainwp-securityissues-sites) - Method render_scan_site() +- [`mainwp-site-synced`](site-management/index.md#mainwp-site-synced) - Method sync_information_array() +- [`mainwp-sitestable-getcolumns`](ui-display/index.md#mainwp-sitestable-getcolumns) - Filter is being replaced with mainwp_sitestable_getcolumns +- [`mainwp-sitestable-item`](ui-display/index.md#mainwp-sitestable-item) - Filter is being replaced with mainwp_sitestable_item +- [`mainwp-sitestable-prepared-items`](ui-display/index.md#mainwp-sitestable-prepared-items) - Action is being replaced with mainwp_sitestable_prepared_items +- [`mainwp-sucuriscan-sites`](security-monitoring/index.md#mainwp-sucuriscan-sites) - Method render_scan_site() +- [`mainwp-sync-extensions-options`](site-management/index.md#mainwp-sync-extensions-options) - Method render_sync_exts_settings() +- [`mainwp-sync-others-data`](site-management/index.md#mainwp-sync-others-data) - Method sync_site() +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders manage users dashboard. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders Edit Users Modal window. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders the Add New user form. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Method do_bulk_add() +- [`mainwp-widgets-screen-options`](ui-display/index.md#mainwp-widgets-screen-options) - Method render_screen_options() +- [`mainwp-wordfence-sites`](site-management/index.md#mainwp-wordfence-sites) - Method render_scan_site() +- [`mainwp_activated`](updates-maintenance/index.md#mainwp_activated) - Action: mainwp_activated +- [`mainwp_add_backuptask`](backups-restoration/index.md#mainwp_add_backuptask) - Add backup task. +- [`mainwp_add_new_user_after_select_sites`](user-management/index.md#mainwp_add_new_user_after_select_sites) - Action: mainwp_add_new_user_after_select_sites +- [`mainwp_add_new_user_after_submit_button`](user-management/index.md#mainwp_add_new_user_after_submit_button) - Action: mainwp_add_new_user_after_submit_button +- [`mainwp_add_new_user_before_select_sites`](user-management/index.md#mainwp_add_new_user_before_select_sites) - Action: mainwp_add_new_user_before_select_sites +- [`mainwp_add_new_user_before_submit_button`](user-management/index.md#mainwp_add_new_user_before_submit_button) - Action: mainwp_add_new_user_before_submit_button +- [`mainwp_add_new_user_sidebar_bottom`](user-management/index.md#mainwp_add_new_user_sidebar_bottom) - Action: mainwp_add_new_user_sidebar_bottom +- [`mainwp_add_new_user_sidebar_top`](user-management/index.md#mainwp_add_new_user_sidebar_top) - Action: mainwp_add_new_user_sidebar_top +- [`mainwp_added_extension_menu`](ui-display/index.md#mainwp_added_extension_menu) - Adds Extension to the navigation menu +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - This action is documented in pages\page-mainwp-manage-groups.php +- [`mainwp_added_new_site`](site-management/index.md#mainwp_added_new_site) - New site added +- [`mainwp_added_new_site`](site-management/index.md#mainwp_added_new_site) - This action is documented in class\class-mainwp-manage-sites-view.php +- [`mainwp_admin_enqueue_scripts`](ui-display/index.md#mainwp_admin_enqueue_scripts) - Method admin_enqueue_scripts() +- [`mainwp_admin_footer`](content-management/index.md#mainwp_admin_footer) - Action: mainwp_admin_footer +- [`mainwp_admin_menu`](ui-display/index.md#mainwp_admin_menu) - Action: mainwp_admin_menu +- [`mainwp_admin_menu_sub`](ui-display/index.md#mainwp_admin_menu_sub) - Action: mainwp_admin_menu_sub +- [`mainwp_admin_pass_after_pass_form`](updates-maintenance/index.md#mainwp_admin_pass_after_pass_form) - Action: mainwp_admin_pass_after_pass_form +- [`mainwp_admin_pass_after_select_sites`](updates-maintenance/index.md#mainwp_admin_pass_after_select_sites) - Action: mainwp_admin_pass_after_select_sites +- [`mainwp_admin_pass_after_submit_button`](updates-maintenance/index.md#mainwp_admin_pass_after_submit_button) - Action: mainwp_admin_pass_after_submit_button +- [`mainwp_admin_pass_after_users_table`](user-management/index.md#mainwp_admin_pass_after_users_table) - Action: mainwp_admin_pass_after_users_table +- [`mainwp_admin_pass_before_pass_form`](updates-maintenance/index.md#mainwp_admin_pass_before_pass_form) - Action: mainwp_admin_pass_before_pass_form +- [`mainwp_admin_pass_before_select_sites`](updates-maintenance/index.md#mainwp_admin_pass_before_select_sites) - Action: mainwp_admin_pass_before_select_sites +- [`mainwp_admin_pass_before_submit_button`](updates-maintenance/index.md#mainwp_admin_pass_before_submit_button) - Action: mainwp_admin_pass_before_submit_button +- [`mainwp_admin_pass_before_users_table`](user-management/index.md#mainwp_admin_pass_before_users_table) - Action: mainwp_admin_pass_before_users_table +- [`mainwp_admin_pass_sidebar_bottom`](updates-maintenance/index.md#mainwp_admin_pass_sidebar_bottom) - Action: mainwp_admin_pass_sidebar_bottom +- [`mainwp_admin_pass_sidebar_top`](updates-maintenance/index.md#mainwp_admin_pass_sidebar_top) - Action: mainwp_admin_pass_sidebar_top +- [`mainwp_admin_post_thumbnail_html`](content-management/index.md#mainwp_admin_post_thumbnail_html) - Filters the admin post thumbnail HTML markup to return. +- [`mainwp_admin_users_table_fatures`](user-management/index.md#mainwp_admin_users_table_fatures) - Filter: mainwp_admin_users_table_fatures +- [`mainwp_advanced_settings_form_bottom`](system-settings/index.md#mainwp_advanced_settings_form_bottom) - Action: mainwp_advanced_settings_form_bottom +- [`mainwp_advanced_settings_form_top`](system-settings/index.md#mainwp_advanced_settings_form_top) - Action: mainwp_advanced_settings_form_top +- [`mainwp_after_active_plugins_list`](updates-maintenance/index.md#mainwp_after_active_plugins_list) - Action: mainwp_after_active_plugins_list +- [`mainwp_after_core_unignore`](updates-maintenance/index.md#mainwp_after_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_after_cron_jobs_table`](ui-display/index.md#mainwp_after_cron_jobs_table) - Action: mainwp_after_cron_jobs_table +- [`mainwp_after_edit_site_note`](site-management/index.md#mainwp_after_edit_site_note) - Action: mainwp_after_edit_site_note +- [`mainwp_after_error_log_table`](ui-display/index.md#mainwp_after_error_log_table) - Action: mainwp_after_error_log_table +- [`mainwp_after_groups_table`](site-management/index.md#mainwp_after_groups_table) - Action: mainwp_after_groups_table +- [`mainwp_after_header`](site-management/index.md#mainwp_after_header) - Action: mainwp_after_header +- [`mainwp_after_htaccess_section`](user-management/index.md#mainwp_after_htaccess_section) - Action: mainwp_after_htaccess_section +- [`mainwp_after_import_users`](user-management/index.md#mainwp_after_import_users) - Action: mainwp_after_import_users +- [`mainwp_after_inactive_plugins_list`](updates-maintenance/index.md#mainwp_after_inactive_plugins_list) - Action: mainwp_after_inactive_plugins_list +- [`mainwp_after_inactive_themes_list`](updates-maintenance/index.md#mainwp_after_inactive_themes_list) - Action: mainwp_after_inactive_themes_list +- [`mainwp_after_manage_sites_table`](site-management/index.md#mainwp_after_manage_sites_table) - Action: mainwp_after_manage_sites_table +- [`mainwp_after_new_user_form`](user-management/index.md#mainwp_after_new_user_form) - Action: mainwp_after_new_user_form +- [`mainwp_after_new_user_form_fields`](user-management/index.md#mainwp_after_new_user_form_fields) - Action: mainwp_after_new_user_form_fields +- [`mainwp_after_notice_sites_uptime_monitoring_admin`](site-management/index.md#mainwp_after_notice_sites_uptime_monitoring_admin) - Basic site uptime monitoring. +- [`mainwp_after_notice_sites_uptime_monitoring_individual`](site-management/index.md#mainwp_after_notice_sites_uptime_monitoring_individual) - Basic site uptime monitoring. +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_pages_table`](content-management/index.md#mainwp_after_pages_table) - Action: mainwp_after_pages_table +- [`mainwp_after_plugin_action`](updates-maintenance/index.md#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_after_plugin_action`](updates-maintenance/index.md#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_privacy_section`](updates-maintenance/index.md#mainwp_after_plugin_privacy_section) - Action: mainwp_after_plugin_privacy_section +- [`mainwp_after_plugin_theme_install`](updates-maintenance/index.md#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](updates-maintenance/index.md#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_after_plugin_theme_install_progress`](updates-maintenance/index.md#mainwp_after_plugin_theme_install_progress) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_unignore`](updates-maintenance/index.md#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_after_plugin_unignore`](updates-maintenance/index.md#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_after_plugins_table`](updates-maintenance/index.md#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_after_plugins_table`](updates-maintenance/index.md#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_after_post_action`](content-management/index.md#mainwp_after_post_action) - +- [`mainwp_after_posting_bulkpage_result`](content-management/index.md#mainwp_after_posting_bulkpage_result) - Method posting() +- [`mainwp_after_posting_bulkpost_result`](content-management/index.md#mainwp_after_posting_bulkpost_result) - Method posting_posts() +- [`mainwp_after_posting_delete_bulk_post`](content-management/index.md#mainwp_after_posting_delete_bulk_post) - Method posting_posts() +- [`mainwp_after_posts_table`](content-management/index.md#mainwp_after_posts_table) - Action: mainwp_after_posts_table +- [`mainwp_after_save_advanced_settings`](system-settings/index.md#mainwp_after_save_advanced_settings) - Action: mainwp_after_save_advanced_settings +- [`mainwp_after_save_email_settings`](system-settings/index.md#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_after_save_email_settings`](system-settings/index.md#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_after_save_general_settings`](system-settings/index.md#mainwp_after_save_general_settings) - Action: mainwp_after_save_general_settings +- [`mainwp_after_seclect_sites`](ui-display/index.md#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_after_seclect_sites`](ui-display/index.md#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_after_select_clients_list`](client-reports/index.md#mainwp_after_select_clients_list) - Action: mainwp_after_select_clients_list +- [`mainwp_after_select_groups_list`](site-management/index.md#mainwp_after_select_groups_list) - Action: mainwp_after_select_groups_list +- [`mainwp_after_select_sites_filters`](site-management/index.md#mainwp_after_select_sites_filters) - Action: mainwp_after_select_sites_filters +- [`mainwp_after_select_sites_list`](site-management/index.md#mainwp_after_select_sites_list) - Action: mainwp_after_select_sites_list +- [`mainwp_after_server_info_table`](ui-display/index.md#mainwp_after_server_info_table) - Action: mainwp_after_server_info_table +- [`mainwp_after_subheader`](ui-display/index.md#mainwp_after_subheader) - Action: mainwp_after_subheader +- [`mainwp_after_sync_site_success`](site-management/index.md#mainwp_after_sync_site_success) - Fires immediately after website synced successfully. +- [`mainwp_after_system_requirements_check`](security-monitoring/index.md#mainwp_after_system_requirements_check) - Action: mainwp_after_system_requirements_check +- [`mainwp_after_template_part`](ui-display/index.md#mainwp_after_template_part) - Action: mainwp_after_template_part +- [`mainwp_after_theme_action`](updates-maintenance/index.md#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_after_theme_action`](updates-maintenance/index.md#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_unignore`](updates-maintenance/index.md#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_after_theme_unignore`](updates-maintenance/index.md#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_after_themes_table`](updates-maintenance/index.md#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_after_themes_table`](updates-maintenance/index.md#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_after_upgrade_wp_success`](updates-maintenance/index.md#mainwp_after_upgrade_wp_success) - Method upgrade_site() +- [`mainwp_after_upload_custom_icon`](ui-display/index.md#mainwp_after_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_after_user_action`](user-management/index.md#mainwp_after_user_action) - Action: mainwp_after_user_action +- [`mainwp_after_user_create`](user-management/index.md#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_after_user_create`](user-management/index.md#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_after_users_table`](user-management/index.md#mainwp_after_users_table) - Action: mainwp_after_users_table +- [`mainwp_after_wp_config_section`](system-settings/index.md#mainwp_after_wp_config_section) - Action: mainwp_after_wp_config_section +- [`mainwp_after_wp_update`](updates-maintenance/index.md#mainwp_after_wp_update) - Action: mainwp_after_wp_update +- [`mainwp_ajax_add_action`](updates-maintenance/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](updates-maintenance/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](site-management/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_all_disablemenuitems`](ui-display/index.md#mainwp_all_disablemenuitems) - Method admin_footer() +- [`mainwp_alter_login_user`](user-management/index.md#mainwp_alter_login_user) - Filter: mainwp_alter_login_user +- [`mainwp_alter_login_user`](user-management/index.md#mainwp_alter_login_user) - This filter is documented in ../class/class-mainwp-connect.php +- [`mainwp_api_manager_upgrade_package_url`](updates-maintenance/index.md#mainwp_api_manager_upgrade_package_url) - +- [`mainwp_api_manager_upgrade_url`](updates-maintenance/index.md#mainwp_api_manager_upgrade_url) - Get Upgrade URL. +- [`mainwp_applypluginsettings_{$ext_dir_slug}`](updates-maintenance/index.md#mainwp_applypluginsettings_ext_dir_slug) - Apply plugin settings +- [`mainwp_automatic_disable_uptime_monitoring_check`](security-monitoring/index.md#mainwp_automatic_disable_uptime_monitoring_check) - Method cron_uptime_check +- [`mainwp_available_updates_count_custom_fields_data`](updates-maintenance/index.md#mainwp_available_updates_count_custom_fields_data) - Method sites_available_updates_count() +- [`mainwp_backups_remote_settings`](backups-restoration/index.md#mainwp_backups_remote_settings) - Render Backup Options. +- [`mainwp_backuptask_column_destination`](backups-restoration/index.md#mainwp_backuptask_column_destination) - Column Destination. +- [`mainwp_backuptask_remotedestinations`](backups-restoration/index.md#mainwp_backuptask_remotedestinations) - Get backup tasks and site ID. +- [`mainwp_before_active_plugins_list`](updates-maintenance/index.md#mainwp_before_active_plugins_list) - Action: mainwp_before_active_plugins_list +- [`mainwp_before_bulkpost_editor`](content-management/index.md#mainwp_before_bulkpost_editor) - Renders bulkpost to edit. +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_cron_jobs_table`](ui-display/index.md#mainwp_before_cron_jobs_table) - Action: mainwp_before_cron_jobs_table +- [`mainwp_before_edit_site_note`](site-management/index.md#mainwp_before_edit_site_note) - Action: mainwp_before_edit_site_note +- [`mainwp_before_error_log_table`](ui-display/index.md#mainwp_before_error_log_table) - Action: mainwp_before_error_log_table +- [`mainwp_before_groups_table`](site-management/index.md#mainwp_before_groups_table) - Action: mainwp_before_groups_table +- [`mainwp_before_header`](site-management/index.md#mainwp_before_header) - Action: mainwp_before_header +- [`mainwp_before_htaccess_section`](user-management/index.md#mainwp_before_htaccess_section) - Action: mainwp_before_htaccess_section +- [`mainwp_before_import_users`](user-management/index.md#mainwp_before_import_users) - Action: mainwp_before_import_users +- [`mainwp_before_inactive_plugins_list`](updates-maintenance/index.md#mainwp_before_inactive_plugins_list) - Action: mainwp_before_inactive_plugins_list +- [`mainwp_before_inactive_themes_list`](updates-maintenance/index.md#mainwp_before_inactive_themes_list) - Action: mainwp_before_inactive_themes_list +- [`mainwp_before_log_data`](ui-display/index.md#mainwp_before_log_data) - Method log_to_db() +- [`mainwp_before_mainwp_content_wrap`](content-management/index.md#mainwp_before_mainwp_content_wrap) - Action: mainwp_before_mainwp_content_wrap +- [`mainwp_before_manage_sites_table`](site-management/index.md#mainwp_before_manage_sites_table) - Action: mainwp_before_manage_sites_table +- [`mainwp_before_new_user_form`](user-management/index.md#mainwp_before_new_user_form) - Action: mainwp_before_new_user_form +- [`mainwp_before_new_user_form_fields`](user-management/index.md#mainwp_before_new_user_form_fields) - Action: mainwp_before_new_user_form_fields +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_pages_table`](content-management/index.md#mainwp_before_pages_table) - Action: mainwp_before_pages_table +- [`mainwp_before_plugin_action`](updates-maintenance/index.md#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_before_plugin_action`](updates-maintenance/index.md#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_privacy_section`](updates-maintenance/index.md#mainwp_before_plugin_privacy_section) - Action: mainwp_before_plugin_privacy_section +- [`mainwp_before_plugin_theme_install`](updates-maintenance/index.md#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_before_plugin_theme_install`](updates-maintenance/index.md#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_before_plugin_theme_install_progress`](updates-maintenance/index.md#mainwp_before_plugin_theme_install_progress) - Action: mainwp_before_plugin_theme_install_progress +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_unignore`](updates-maintenance/index.md#mainwp_before_plugin_theme_unignore) - Action: mainwp_before_plugin_theme_unignore +- [`mainwp_before_plugin_unignore`](updates-maintenance/index.md#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_before_plugin_unignore`](updates-maintenance/index.md#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_before_plugins_table`](updates-maintenance/index.md#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_before_plugins_table`](updates-maintenance/index.md#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_before_post_action`](content-management/index.md#mainwp_before_post_action) - Action: mainwp_before_post_action +- [`mainwp_before_posts_table`](content-management/index.md#mainwp_before_posts_table) - Action: mainwp_before_posts_table +- [`mainwp_before_redirect_posting_bulkpage`](content-management/index.md#mainwp_before_redirect_posting_bulkpage) - Action: mainwp_before_redirect_posting_bulkpage +- [`mainwp_before_redirect_posting_bulkpost`](content-management/index.md#mainwp_before_redirect_posting_bulkpost) - Action: mainwp_before_redirect_posting_bulkpost +- [`mainwp_before_save_advanced_settings`](system-settings/index.md#mainwp_before_save_advanced_settings) - Action: mainwp_before_save_advanced_settings +- [`mainwp_before_save_email_settings`](system-settings/index.md#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_before_save_email_settings`](system-settings/index.md#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_before_save_general_settings`](system-settings/index.md#mainwp_before_save_general_settings) - Action: mainwp_before_save_general_settings +- [`mainwp_before_save_sync_result`](site-management/index.md#mainwp_before_save_sync_result) - Filter: mainwp_before_save_sync_result +- [`mainwp_before_seclect_sites`](ui-display/index.md#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_before_seclect_sites`](ui-display/index.md#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_before_select_clients_list`](client-reports/index.md#mainwp_before_select_clients_list) - Action: mainwp_before_select_clients_list +- [`mainwp_before_select_groups_list`](site-management/index.md#mainwp_before_select_groups_list) - Action: mainwp_before_select_groups_list +- [`mainwp_before_select_sites_filters`](site-management/index.md#mainwp_before_select_sites_filters) - Action: mainwp_before_select_sites_filters +- [`mainwp_before_select_sites_list`](site-management/index.md#mainwp_before_select_sites_list) - Action: mainwp_before_select_sites_list +- [`mainwp_before_server_info_table`](ui-display/index.md#mainwp_before_server_info_table) - Action: mainwp_before_server_info_table +- [`mainwp_before_subheader`](ui-display/index.md#mainwp_before_subheader) - Action: mainwp_before_subheader +- [`mainwp_before_system_requirements_check`](security-monitoring/index.md#mainwp_before_system_requirements_check) - Action: mainwp_before_system_requirements_check +- [`mainwp_before_template_part`](ui-display/index.md#mainwp_before_template_part) - Action: mainwp_before_template_part +- [`mainwp_before_theme_action`](updates-maintenance/index.md#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_before_theme_action`](updates-maintenance/index.md#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_unignore`](updates-maintenance/index.md#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_before_theme_unignore`](updates-maintenance/index.md#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_before_themes_table`](updates-maintenance/index.md#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_before_themes_table`](updates-maintenance/index.md#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_before_upload_custom_icon`](ui-display/index.md#mainwp_before_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_before_user_action`](user-management/index.md#mainwp_before_user_action) - Action: mainwp_before_user_action +- [`mainwp_before_user_create`](user-management/index.md#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_before_user_create`](user-management/index.md#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_before_users_table`](user-management/index.md#mainwp_before_users_table) - Action: mainwp_before_users_table +- [`mainwp_before_wp_config_section`](system-settings/index.md#mainwp_before_wp_config_section) - Action: mainwp_before_wp_config_section +- [`mainwp_before_wp_update`](updates-maintenance/index.md#mainwp_before_wp_update) - Action: mainwp_before_wp_update +- [`mainwp_boilerplate_get_tokens`](site-management/index.md#mainwp_boilerplate_get_tokens) - Filter: mainwp_boilerplate_get_tokens +- [`mainwp_boilerplate_get_tokens`](site-management/index.md#mainwp_boilerplate_get_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_bulk_install_sidebar_submit_bottom`](updates-maintenance/index.md#mainwp_bulk_install_sidebar_submit_bottom) - Render Install plugins Table. +- [`mainwp_bulk_install_sidebar_submit_bottom`](updates-maintenance/index.md#mainwp_bulk_install_sidebar_submit_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_install_tabs_content`](updates-maintenance/index.md#mainwp_bulk_install_tabs_content) - Render Install plugins Table. +- [`mainwp_bulk_install_tabs_content`](updates-maintenance/index.md#mainwp_bulk_install_tabs_content) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_prepare_install_result`](updates-maintenance/index.md#mainwp_bulk_prepare_install_result) - Filter: mainwp_bulk_prepare_install_result +- [`mainwp_bulk_upload_install_result`](updates-maintenance/index.md#mainwp_bulk_upload_install_result) - Filter: mainwp_bulk_upload_install_result +- [`mainwp_bulkpage_before_post`](content-management/index.md#mainwp_bulkpage_before_post) - Before Page post action +- [`mainwp_bulkpage_posting`](content-management/index.md#mainwp_bulkpage_posting) - Posting new page +- [`mainwp_bulkpost_before_post`](content-management/index.md#mainwp_bulkpost_before_post) - Before Post post action +- [`mainwp_bulkpost_categories_handle`](content-management/index.md#mainwp_bulkpost_categories_handle) - Method add_categories_handle() +- [`mainwp_bulkpost_edit`](content-management/index.md#mainwp_bulkpost_edit) - Edit bulkpost +- [`mainwp_bulkpost_edit_title`](content-management/index.md#mainwp_bulkpost_edit_title) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit_top_side`](content-management/index.md#mainwp_bulkpost_edit_top_side) - Renders bulkpost to edit. +- [`mainwp_bulkpost_editor_settings`](content-management/index.md#mainwp_bulkpost_editor_settings) - Renders bulkpost to edit. +- [`mainwp_bulkpost_select_sites_settings`](site-management/index.md#mainwp_bulkpost_select_sites_settings) - Renders bulkpost to edit. +- [`mainwp_bulkpost_tags_handle`](content-management/index.md#mainwp_bulkpost_tags_handle) - Method add_tags_handle() +- [`mainwp_bulkposting_done`](content-management/index.md#mainwp_bulkposting_done) - Posting post completed +- [`mainwp_bulkposting_done`](content-management/index.md#mainwp_bulkposting_done) - Posting page completed +- [`mainwp_cache_icon_expired`](updates-maintenance/index.md#mainwp_cache_icon_expired) - Gets a plugin|theme icon to output. +- [`mainwp_cards_per_row`](content-management/index.md#mainwp_cards_per_row) - Filter: mainwp_cards_per_row +- [`mainwp_check_site_result`](site-management/index.md#mainwp_check_site_result) - Method check_site() +- [`mainwp_child_site_info_widget_content`](site-management/index.md#mainwp_child_site_info_widget_content) - Filter: mainwp_child_site_info_widget_content +- [`mainwp_clear_and_lock_options`](system-settings/index.md#mainwp_clear_and_lock_options) - Clean and Lock extension options +- [`mainwp_client_deleted`](client-reports/index.md#mainwp_client_deleted) - Delete client +- [`mainwp_client_report_generate_content`](content-management/index.md#mainwp_client_report_generate_content) - Filter: mainwp_client_report_generate_content +- [`mainwp_client_report_get_site_tokens`](site-management/index.md#mainwp_client_report_get_site_tokens) - Filter: mainwp_client_report_get_site_tokens +- [`mainwp_client_report_get_site_tokens`](site-management/index.md#mainwp_client_report_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_client_suspend`](client-reports/index.md#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_client_suspend`](client-reports/index.md#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_client_updated`](updates-maintenance/index.md#mainwp_client_updated) - Add client +- [`mainwp_clients_getmetaboxes`](client-reports/index.md#mainwp_clients_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_clients_info_table_bottom`](client-reports/index.md#mainwp_clients_info_table_bottom) - Action: mainwp_clients_info_table_bottom +- [`mainwp_clients_info_table_top`](client-reports/index.md#mainwp_clients_info_table_top) - Action: mainwp_clients_info_table_top +- [`mainwp_clients_info_widget_bottom`](client-reports/index.md#mainwp_clients_info_widget_bottom) - Action: mainwp_clients_info_widget_bottom +- [`mainwp_clients_info_widget_title`](client-reports/index.md#mainwp_clients_info_widget_title) - *Arguments* +- [`mainwp_clients_info_widget_top`](client-reports/index.md#mainwp_clients_info_widget_top) - Actoin: mainwp_clients_info_widget_top +- [`mainwp_clients_overview_contact_widget_bottom`](client-reports/index.md#mainwp_clients_overview_contact_widget_bottom) - Action: mainwp_clients_overview_contact_widget_bottom +- [`mainwp_clients_overview_contact_widget_sutbitle`](client-reports/index.md#mainwp_clients_overview_contact_widget_sutbitle) - *Arguments* +- [`mainwp_clients_overview_contact_widget_title`](client-reports/index.md#mainwp_clients_overview_contact_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_top`](client-reports/index.md#mainwp_clients_overview_contact_widget_top) - Actoin: mainwp_clients_overview_contact_widget_top +- [`mainwp_clients_overview_enabled_widgets`](client-reports/index.md#mainwp_clients_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_clients_overview_help_item`](client-reports/index.md#mainwp_clients_overview_help_item) - Action: mainwp_clients_overview_help_item +- [`mainwp_clients_overview_info_table_bottom`](client-reports/index.md#mainwp_clients_overview_info_table_bottom) - Action: mainwp_clients_overview_info_table_bottom +- [`mainwp_clients_overview_info_table_top`](client-reports/index.md#mainwp_clients_overview_info_table_top) - Action: mainwp_clients_overview_info_table_top +- [`mainwp_clients_overview_info_widget_bottom`](client-reports/index.md#mainwp_clients_overview_info_widget_bottom) - Action: mainwp_clients_overview_info_widget_bottom +- [`mainwp_clients_overview_info_widget_title`](client-reports/index.md#mainwp_clients_overview_info_widget_title) - *Arguments* +- [`mainwp_clients_overview_info_widget_top`](client-reports/index.md#mainwp_clients_overview_info_widget_top) - Actoin: mainwp_clients_overview_info_widget_top +- [`mainwp_clients_overview_note_widget_bottom`](client-reports/index.md#mainwp_clients_overview_note_widget_bottom) - Action: mainwp_clients_overview_note_widget_bottom +- [`mainwp_clients_overview_note_widget_title`](client-reports/index.md#mainwp_clients_overview_note_widget_title) - *Arguments* +- [`mainwp_clients_overview_note_widget_top`](client-reports/index.md#mainwp_clients_overview_note_widget_top) - Actoin: mainwp_clients_overview_note_widget_top +- [`mainwp_clients_overview_overview_widget_bottom`](client-reports/index.md#mainwp_clients_overview_overview_widget_bottom) - Action: mainwp_clients_overview_overview_widget_bottom +- [`mainwp_clients_overview_overview_widget_top`](client-reports/index.md#mainwp_clients_overview_overview_widget_top) - Actoin: mainwp_clients_overview_overview_widget_top +- [`mainwp_clients_overview_screen_options_bottom`](client-reports/index.md#mainwp_clients_overview_screen_options_bottom) - Action: mainwp_clients_overview_screen_options_bottom +- [`mainwp_clients_overview_screen_options_top`](client-reports/index.md#mainwp_clients_overview_screen_options_top) - Action: mainwp_clients_overview_screen_options_top +- [`mainwp_clients_overview_websites_widget_bottom`](site-management/index.md#mainwp_clients_overview_websites_widget_bottom) - Action: mainwp_clients_overview_websites_widget_bottom +- [`mainwp_clients_overview_websites_widget_title`](site-management/index.md#mainwp_clients_overview_websites_widget_title) - *Arguments* +- [`mainwp_clients_overview_websites_widget_top`](site-management/index.md#mainwp_clients_overview_websites_widget_top) - Actoin: mainwp_clients_overview_websites_widget_top +- [`mainwp_clients_sitestable_getcolumns`](client-reports/index.md#mainwp_clients_sitestable_getcolumns) - Filter: mainwp_clients_sitestable_getcolumns +- [`mainwp_clients_sitestable_item`](client-reports/index.md#mainwp_clients_sitestable_item) - Filter: mainwp_clients_sitestable_item +- [`mainwp_clients_table_features`](client-reports/index.md#mainwp_clients_table_features) - Filter: mainwp_clients_table_features +- [`mainwp_clients_website_client_tokens`](site-management/index.md#mainwp_clients_website_client_tokens) - Method get_website_client_tokens_data() +- [`mainwp_clients_widget_bottom`](client-reports/index.md#mainwp_clients_widget_bottom) - Action: mainwp_clients_widget_bottom +- [`mainwp_clients_widget_title`](client-reports/index.md#mainwp_clients_widget_title) - *Arguments* +- [`mainwp_clients_widget_top`](client-reports/index.md#mainwp_clients_widget_top) - Actoin: mainwp_clients_widget_top +- [`mainwp_clients_widgets_screen_options`](client-reports/index.md#mainwp_clients_widgets_screen_options) - Filter: mainwp_clients_widgets_screen_options +- [`mainwp_clientstable_prepared_items`](client-reports/index.md#mainwp_clientstable_prepared_items) - Prepair the items to be listed. +- [`mainwp_clone_enabled`](site-management/index.md#mainwp_clone_enabled) - Filter: mainwp_clone_enabled +- [`mainwp_compact_action`](ui-display/index.md#mainwp_compact_action) - Create compact logs and erase records from the database. +- [`mainwp_connect_sign_algo`](site-management/index.md#mainwp_connect_sign_algo) - Method get_connect_sign_algorithm(). +- [`mainwp_connect_sites_allow_ports`](site-management/index.md#mainwp_connect_sites_allow_ports) - Method mainwp_testwp() +- [`mainwp_connect_sites_not_allow_ports`](site-management/index.md#mainwp_connect_sites_not_allow_ports) - Method mainwp_testwp() +- [`mainwp_connection_status_after_all_sites_list`](site-management/index.md#mainwp_connection_status_after_all_sites_list) - Action: mainwp_connection_status_after_all_sites_list +- [`mainwp_connection_status_after_connected_sites_list`](site-management/index.md#mainwp_connection_status_after_connected_sites_list) - Action: mainwp_connection_status_after_connected_sites_list +- [`mainwp_connection_status_after_disconnected_sites_list`](site-management/index.md#mainwp_connection_status_after_disconnected_sites_list) - Action: mainwp_connection_status_after_disconnected_sites_list +- [`mainwp_connection_status_before_all_sites_list`](site-management/index.md#mainwp_connection_status_before_all_sites_list) - Action: mainwp_connection_status_before_all_sites_list +- [`mainwp_connection_status_before_connected_sites_list`](site-management/index.md#mainwp_connection_status_before_connected_sites_list) - Action: mainwp_connection_status_before_connected_sites_list +- [`mainwp_connection_status_before_disconnected_sites_list`](site-management/index.md#mainwp_connection_status_before_disconnected_sites_list) - Action: mainwp_connection_status_before_disconnected_sites_list +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_widget_bottom`](site-management/index.md#mainwp_connection_status_widget_bottom) - Action: mainwp_connection_status_widget_bottom +- [`mainwp_connection_status_widget_footer_left`](site-management/index.md#mainwp_connection_status_widget_footer_left) - Action: mainwp_connection_status_widget_footer_left +- [`mainwp_connection_status_widget_footer_right`](site-management/index.md#mainwp_connection_status_widget_footer_right) - Action: mainwp_connection_status_widget_footer_right +- [`mainwp_connection_status_widget_title`](site-management/index.md#mainwp_connection_status_widget_title) - *Arguments* +- [`mainwp_connection_status_widget_top`](site-management/index.md#mainwp_connection_status_widget_top) - Action: mainwp_connection_status_widget_top +- [`mainwp_cores_after_ignored_updates`](updates-maintenance/index.md#mainwp_cores_after_ignored_updates) - Action: mainwp_cores_after_ignored_updates +- [`mainwp_cores_before_ignored_updates`](updates-maintenance/index.md#mainwp_cores_before_ignored_updates) - Action: mainwp_cores_before_ignored_updates +- [`mainwp_cost_summary_getmetaboxes`](ui-display/index.md#mainwp_cost_summary_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_create_security_nonces`](security-monitoring/index.md#mainwp_create_security_nonces) - Create the security nonces. +- [`mainwp_cron_bulk_update_items_limit`](updates-maintenance/index.md#mainwp_cron_bulk_update_items_limit) - Method handle_cron_batch_updates() +- [`mainwp_cron_bulk_update_items_limit`](updates-maintenance/index.md#mainwp_cron_bulk_update_items_limit) - Method handle_cron_auto_updates() +- [`mainwp_cron_bulk_update_sites_limit`](site-management/index.md#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_batch_updates() +- [`mainwp_cron_bulk_update_sites_limit`](site-management/index.md#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_auto_updates() +- [`mainwp_cron_jobs_list`](content-management/index.md#mainwp_cron_jobs_list) - Action: mainwp_cron_jobs_list +- [`mainwp_cron_jobs_table_features`](ui-display/index.md#mainwp_cron_jobs_table_features) - Filter: mainwp_cron_jobs_table_features +- [`mainwp_cronload_action`](ui-display/index.md#mainwp_cronload_action) - Action: mainwp_cronload_action +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Fetch uptime urls. +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Method fetch_urls_authed() +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Method fetch_url_site() +- [`mainwp_curl_curlopt_resolve`](ui-display/index.md#mainwp_curl_curlopt_resolve) - Method try visit. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Fetch uptime urls. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method try visit. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method fetch_urls_authed() +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method fetch_url_site() +- [`mainwp_currentuserallowedaccessgroups`](site-management/index.md#mainwp_currentuserallowedaccessgroups) - Filter: mainwp_currentuserallowedaccessgroups +- [`mainwp_currentuserallowedaccesssites`](user-management/index.md#mainwp_currentuserallowedaccesssites) - Filter: mainwp_currentuserallowedaccesssites +- [`mainwp_currentusercan`](user-management/index.md#mainwp_currentusercan) - Method \mainwp_current_user_can() +- [`mainwp_custom_post_types_default`](content-management/index.md#mainwp_custom_post_types_default) - Default post types +- [`mainwp_custom_post_types_get_post_connections`](site-management/index.md#mainwp_custom_post_types_get_post_connections) - Method posts_search_handler() +- [`mainwp_custom_render_bulkpost`](content-management/index.md#mainwp_custom_render_bulkpost) - Renders bulkpost to edit. +- [`mainwp_daily_digest_action`](site-management/index.md#mainwp_daily_digest_action) - Action: mainwp_daily_digest_action +- [`mainwp_daily_digest_content`](content-management/index.md#mainwp_daily_digest_content) - Filter: mainwp_daily_digest_content +- [`mainwp_daily_digest_email_footer`](ui-display/index.md#mainwp_daily_digest_email_footer) - Daily Digest Email Footer +- [`mainwp_daily_digest_email_header`](ui-display/index.md#mainwp_daily_digest_email_header) - Daily Digest Email Header +- [`mainwp_database_updater_supported_plugins`](updates-maintenance/index.md#mainwp_database_updater_supported_plugins) - Method sites_available_updates_count() +- [`mainwp_db_after_update`](updates-maintenance/index.md#mainwp_db_after_update) - Method install() +- [`mainwp_db_fetch_object`](site-management/index.md#mainwp_db_fetch_object) - Method fetch_object(). +- [`mainwp_db_free_result`](site-management/index.md#mainwp_db_free_result) - Method free_result(). +- [`mainwp_db_install_tables`](updates-maintenance/index.md#mainwp_db_install_tables) - Method install() +- [`mainwp_decrypt_key_value`](backups-restoration/index.md#mainwp_decrypt_key_value) - Method decrypt_api_keys +- [`mainwp_default_emails_fields`](ui-display/index.md#mainwp_default_emails_fields) - Get default email notifications values. +- [`mainwp_default_emails_fields`](content-management/index.md#mainwp_default_emails_fields) - Method get_defaults_email_settings_value(). +- [`mainwp_default_settings_indicator`](system-settings/index.md#mainwp_default_settings_indicator) - Method render_not_default_indicator(). +- [`mainwp_default_settings_indicator`](system-settings/index.md#mainwp_default_settings_indicator) - Method render_not_default_email_settings_indicator(). +- [`mainwp_default_template_locate`](site-management/index.md#mainwp_default_template_locate) - Render the email notification edit form. +- [`mainwp_default_template_source_dir`](updates-maintenance/index.md#mainwp_default_template_source_dir) - Locate a template and return the path for inclusion. +- [`mainwp_default_template_source_dir`](ui-display/index.md#mainwp_default_template_source_dir) - Method handle_template_file_action() +- [`mainwp_delete_key_file`](updates-maintenance/index.md#mainwp_delete_key_file) - Method update child api key. +- [`mainwp_delete_key_file`](site-management/index.md#mainwp_delete_key_file) - Method update_compatible_site_api_key +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - *Arguments* +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_detect_premium_plugins_update`](updates-maintenance/index.md#mainwp_detect_premium_plugins_update) - Filter: mainwp_detect_premium_plugins_update +- [`mainwp_detect_premium_themes_update`](updates-maintenance/index.md#mainwp_detect_premium_themes_update) - Filter: mainwp_detect_premium_themes_update +- [`mainwp_detect_premiums_updates`](updates-maintenance/index.md#mainwp_detect_premiums_updates) - Filter: mainwp_detect_premiums_updates +- [`mainwp_disable_rest_api_access_log`](user-management/index.md#mainwp_disable_rest_api_access_log) - This filter enables the exclusion of the most recent access time from being logged for REST API calls. +- [`mainwp_disablemenuitems`](ui-display/index.md#mainwp_disablemenuitems) - Method init() +- [`mainwp_do_widget_boxes_sorted`](ui-display/index.md#mainwp_do_widget_boxes_sorted) - Method do_widget_boxes() +- [`mainwp_edit_bulkpost_getmetaboxes`](content-management/index.md#mainwp_edit_bulkpost_getmetaboxes) - Init custom bulkpost metaboxes. +- [`mainwp_edit_post_get_categories`](content-management/index.md#mainwp_edit_post_get_categories) - Method ajax_handle_get_categories() +- [`mainwp_edit_posts_after_submit_button`](content-management/index.md#mainwp_edit_posts_after_submit_button) - Action: mainwp_edit_posts_after_submit_button +- [`mainwp_edit_posts_before_submit_button`](content-management/index.md#mainwp_edit_posts_before_submit_button) - Action: mainwp_edit_posts_before_submit_button +- [`mainwp_encrypt_key_value`](backups-restoration/index.md#mainwp_encrypt_key_value) - Method encrypt_api_keys +- [`mainwp_enqueue_script_gridster`](content-management/index.md#mainwp_enqueue_script_gridster) - Method admin_init() +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Edit subscription Post +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Get table rows. +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Method ajax_notes_save() +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Method get_cost_field_value(). +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Handles the saving item. +- [`mainwp_extension_card_bottom`](extensions-integration/index.md#mainwp_extension_card_bottom) - Action: mainwp_extension_card_bottom +- [`mainwp_extension_card_top`](extensions-integration/index.md#mainwp_extension_card_top) - Action: mainwp_extension_card_top +- [`mainwp_extension_sites_edit_tablerow`](site-management/index.md#mainwp_extension_sites_edit_tablerow) - Method render_edit_site() +- [`mainwp_extensions_help_item`](extensions-integration/index.md#mainwp_extensions_help_item) - Action: mainwp_extensions_help_item +- [`mainwp_extensions_page_top_header`](content-management/index.md#mainwp_extensions_page_top_header) - Method render_header() +- [`mainwp_extensions_top_header_after_tab`](ui-display/index.md#mainwp_extensions_top_header_after_tab) - Method render_header() +- [`mainwp_favorites_themes`](updates-maintenance/index.md#mainwp_favorites_themes) - Render the Themes table for the Install Themes Tab. +- [`mainwp_fetch_uptime_chunk_size_urls`](security-monitoring/index.md#mainwp_fetch_uptime_chunk_size_urls) - Check uptime monitors. +- [`mainwp_fetch_uptime_chunk_size_urls`](security-monitoring/index.md#mainwp_fetch_uptime_chunk_size_urls) - Fetch uptime urls. +- [`mainwp_fetch_uptime_disable_check_multi_exec`](security-monitoring/index.md#mainwp_fetch_uptime_disable_check_multi_exec) - Apply disable check multi exec. +- [`mainwp_fetch_url_authed`](site-management/index.md#mainwp_fetch_url_authed) - Fires immediately after fetch url action. +- [`mainwp_fetch_urls_chunk_size`](ui-display/index.md#mainwp_fetch_urls_chunk_size) - Method fetch_urls_authed() +- [`mainwp_file_uploader_chunk_size`](updates-maintenance/index.md#mainwp_file_uploader_chunk_size) - Method render_upload() +- [`mainwp_file_uploader_size_limit`](ui-display/index.md#mainwp_file_uploader_size_limit) - Filter: 'mainwp_file_uploader_size_limit' +- [`mainwp_forced_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_forced_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_forced_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_format_email`](ui-display/index.md#mainwp_format_email) - Method format_email() +- [`mainwp_ga_delete_site`](site-management/index.md#mainwp_ga_delete_site) - Action: mainwp_ga_delete_site +- [`mainwp_get_all_pages_data`](content-management/index.md#mainwp_get_all_pages_data) - Get all pages data +- [`mainwp_get_all_posts_data`](content-management/index.md#mainwp_get_all_posts_data) - Get all posts data +- [`mainwp_get_notification_template_name_by_type`](ui-display/index.md#mainwp_get_notification_template_name_by_type) - Get default template name by email/notification type. +- [`mainwp_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_get_post_data_authed`](content-management/index.md#mainwp_get_post_data_authed) - Method get_post_data_authed() +- [`mainwp_get_started_widget_bottom`](ui-display/index.md#mainwp_get_started_widget_bottom) - Action: mainwp_get_started_widget_bottom +- [`mainwp_get_started_widget_title`](ui-display/index.md#mainwp_get_started_widget_title) - *Arguments* +- [`mainwp_get_started_widget_top`](ui-display/index.md#mainwp_get_started_widget_top) - Action: mainwp_get_started_widget_top +- [`mainwp_get_template`](ui-display/index.md#mainwp_get_template) - Filter: mainwp_get_template +- [`mainwp_getcustompage_backups`](content-management/index.md#mainwp_getcustompage_backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getextensions`](extensions-integration/index.md#mainwp_getextensions) - Method init_menu() +- [`mainwp_getmetaboxes`](ui-display/index.md#mainwp_getmetaboxes) - Method on_load_page_dashboard() +- [`mainwp_getprimarybackup_activated`](backups-restoration/index.md#mainwp_getprimarybackup_activated) - Method admin_init() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - This filter is documented in ../pages/page-mainwp-server-information-handler.php +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Renders the Backup Site Dialog. +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Render Legacy Backups page. +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Method render_settings() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Method render_individual_settings() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Gets MainWP Set Options. +- [`mainwp_getsubpages_api_backups`](content-management/index.md#mainwp_getsubpages_api_backups) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_backups`](content-management/index.md#mainwp_getsubpages_backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getsubpages_client`](content-management/index.md#mainwp_getsubpages_client) - Method init_menu() +- [`mainwp_getsubpages_cost_tracker`](content-management/index.md#mainwp_getsubpages_cost_tracker) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_page`](content-management/index.md#mainwp_getsubpages_page) - Method init_menu() +- [`mainwp_getsubpages_plugins`](updates-maintenance/index.md#mainwp_getsubpages_plugins) - Instantiate Main Plugins Menu. +- [`mainwp_getsubpages_post`](content-management/index.md#mainwp_getsubpages_post) - Method ini_menu() +- [`mainwp_getsubpages_restapi`](content-management/index.md#mainwp_getsubpages_restapi) - REST API Subpages +- [`mainwp_getsubpages_server`](content-management/index.md#mainwp_getsubpages_server) - Method init_menu() +- [`mainwp_getsubpages_settings`](content-management/index.md#mainwp_getsubpages_settings) - Instantiate the Settings Menu. +- [`mainwp_getsubpages_sites`](content-management/index.md#mainwp_getsubpages_sites) - Initiate menu. +- [`mainwp_getsubpages_tags`](content-management/index.md#mainwp_getsubpages_tags) - This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter. +- [`mainwp_getsubpages_themes`](updates-maintenance/index.md#mainwp_getsubpages_themes) - Method init_menu() +- [`mainwp_getsubpages_user`](content-management/index.md#mainwp_getsubpages_user) - Method init_menu() +- [`mainwp_getwebsite_by_id`](site-management/index.md#mainwp_getwebsite_by_id) - Get sites by website ID. +- [`mainwp_getwebsiteoptions`](site-management/index.md#mainwp_getwebsiteoptions) - Method get_website_options(). +- [`mainwp_go_back_wpadmin_link`](ui-display/index.md#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_go_back_wpadmin_link`](ui-display/index.md#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_header_actions_after_select_themes`](updates-maintenance/index.md#mainwp_header_actions_after_select_themes) - After select theme actions. +- [`mainwp_header_actions_right`](ui-display/index.md#mainwp_header_actions_right) - Filter: mainwp_header_actions_right +- [`mainwp_header_left`](content-management/index.md#mainwp_header_left) - Filter: mainwp_header_left +- [`mainwp_header_right`](content-management/index.md#mainwp_header_right) - Filter: mainwp_header_right +- [`mainwp_header_title`](content-management/index.md#mainwp_header_title) - Filter: mainwp_header_title +- [`mainwp_help_sidebar_content`](content-management/index.md#mainwp_help_sidebar_content) - Action: mainwp_help_sidebar_content +- [`mainwp_html_regression_largest_change_scope`](site-management/index.md#mainwp_html_regression_largest_change_scope) - Method mainwp_upgrade_plugintheme() +- [`mainwp_html_regression_largest_change_scope`](site-management/index.md#mainwp_html_regression_largest_change_scope) - *Arguments* +- [`mainwp_http_check_email_footer`](security-monitoring/index.md#mainwp_http_check_email_footer) - HTTP Check Email Footer +- [`mainwp_http_check_email_header`](security-monitoring/index.md#mainwp_http_check_email_header) - HTTP Check Email Header +- [`mainwp_import_users_modal_bottom`](user-management/index.md#mainwp_import_users_modal_bottom) - Action: mainwp_import_users_modal_bottom +- [`mainwp_import_users_modal_top`](user-management/index.md#mainwp_import_users_modal_top) - Action: mainwp_import_users_modal_top +- [`mainwp_info_schedules_cron_listing`](content-management/index.md#mainwp_info_schedules_cron_listing) - Renders the Cron Schedule page. +- [`mainwp_init_load_all_options`](system-settings/index.md#mainwp_init_load_all_options) - Method load_all_options() +- [`mainwp_init_primary_menu_items`](ui-display/index.md#mainwp_init_primary_menu_items) - Method init_mainwp_menu_items() +- [`mainwp_insights_getmetaboxes`](ui-display/index.md#mainwp_insights_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_install_plugin_action`](updates-maintenance/index.md#mainwp_install_plugin_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_plugin_card_bottom`](updates-maintenance/index.md#mainwp_install_plugin_card_bottom) - Action: mainwp_install_plugin_card_bottom +- [`mainwp_install_plugin_card_top`](updates-maintenance/index.md#mainwp_install_plugin_card_top) - Action: mainwp_install_plugin_card_top +- [`mainwp_install_plugin_theme_modal_action`](updates-maintenance/index.md#mainwp_install_plugin_theme_modal_action) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_install_plugin_theme_tabs_header_top`](updates-maintenance/index.md#mainwp_install_plugin_theme_tabs_header_top) - Render Install plugins Table. +- [`mainwp_install_plugin_theme_tabs_header_top`](updates-maintenance/index.md#mainwp_install_plugin_theme_tabs_header_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_plugins_actions_bar_left`](updates-maintenance/index.md#mainwp_install_plugins_actions_bar_left) - Install Plugins actions bar (left) +- [`mainwp_install_plugins_actions_bar_right`](updates-maintenance/index.md#mainwp_install_plugins_actions_bar_right) - Install Plugins actions bar (right) +- [`mainwp_install_theme_action`](updates-maintenance/index.md#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](updates-maintenance/index.md#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_card_template_bottom`](updates-maintenance/index.md#mainwp_install_theme_card_template_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_themes_actions_bar_left`](updates-maintenance/index.md#mainwp_install_themes_actions_bar_left) - Install Themes actions bar (left) +- [`mainwp_install_themes_actions_bar_right`](updates-maintenance/index.md#mainwp_install_themes_actions_bar_right) - Install Themes actions bar (right) +- [`mainwp_install_update_actions`](updates-maintenance/index.md#mainwp_install_update_actions) - Fires immediately after install action. +- [`mainwp_installbulk_prepareupload`](updates-maintenance/index.md#mainwp_installbulk_prepareupload) - Prepare upload +- [`mainwp_is_disable_menu_item`](ui-display/index.md#mainwp_is_disable_menu_item) - Method is_disable_menu_item +- [`mainwp_is_enable_schedule_job`](ui-display/index.md#mainwp_is_enable_schedule_job) - Method init_mainwp_cron() +- [`mainwp_is_rest_api_request`](api-remote/index.md#mainwp_is_rest_api_request) - Whether this is a REST API request. +- [`mainwp_license_deactivated_alert_plain_text`](ui-display/index.md#mainwp_license_deactivated_alert_plain_text) - Method cron_deactivated_licenses_alert() +- [`mainwp_licenses_deactivated_alert_email_footer`](security-monitoring/index.md#mainwp_licenses_deactivated_alert_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_licenses_deactivated_alert_email_header`](security-monitoring/index.md#mainwp_licenses_deactivated_alert_email_header) - Site Health Monitoring Email Header +- [`mainwp_limit_updates_all`](updates-maintenance/index.md#mainwp_limit_updates_all) - Limits number of updates to process. +- [`mainwp_limit_updates_all`](updates-maintenance/index.md#mainwp_limit_updates_all) - Filter: mainwp_limit_updates_all +- [`mainwp_load_text_domain`](updates-maintenance/index.md#mainwp_load_text_domain) - Method localization() +- [`mainwp_locate_template`](ui-display/index.md#mainwp_locate_template) - Filer: mainwp_locate_template +- [`mainwp_log_action`](ui-display/index.md#mainwp_log_action) - Schedules a purge of records. +- [`mainwp_log_action`](backups-restoration/index.md#mainwp_log_action) - Debugging log. +- [`mainwp_log_do_to_db`](site-management/index.md#mainwp_log_do_to_db) - Method log_to_db() +- [`mainwp_log_specific`](ui-display/index.md#mainwp_log_specific) - MainWP_Logger constructor. +- [`mainwp_log_specific_actions`](content-management/index.md#mainwp_log_specific_actions) - Renders action logs page. +- [`mainwp_log_status`](ui-display/index.md#mainwp_log_status) - MainWP_Logger constructor. +- [`mainwp_log_system_query`](system-settings/index.md#mainwp_log_system_query) - Method log_system_query +- [`mainwp_log_to_db_data`](ui-display/index.md#mainwp_log_to_db_data) - Method log_to_db() +- [`mainwp_log_to_db_priority`](site-management/index.md#mainwp_log_to_db_priority) - Method log_to_db() +- [`mainwp_logger_keep_days`](security-monitoring/index.md#mainwp_logger_keep_days) - Method check_log_daily() +- [`mainwp_logger_to_db`](site-management/index.md#mainwp_logger_to_db) - Method log() +- [`mainwp_logger_to_db`](content-management/index.md#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_logger_to_db`](content-management/index.md#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_logs_manage_table_bottom`](ui-display/index.md#mainwp_logs_manage_table_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_manage_table_top`](ui-display/index.md#mainwp_logs_manage_table_top) - Action: mainwp_logs_manage_table_top +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Actoin: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_main_menu`](ui-display/index.md#mainwp_main_menu) - Filter: mainwp_main_menu +- [`mainwp_main_menu_disable_menu_items`](ui-display/index.md#mainwp_main_menu_disable_menu_items) - Filter: mainwp_main_menu_disable_menu_items +- [`mainwp_main_menu_submenu`](ui-display/index.md#mainwp_main_menu_submenu) - Filter: mainwp_main_menu_submenu +- [`mainwp_manage_pages_action_item`](content-management/index.md#mainwp_manage_pages_action_item) - Method pages_search_handler() +- [`mainwp_manage_pages_after_search_options`](content-management/index.md#mainwp_manage_pages_after_search_options) - Action: mainwp_manage_pages_after_search_options +- [`mainwp_manage_pages_after_select_sites`](content-management/index.md#mainwp_manage_pages_after_select_sites) - Action: mainwp_manage_pages_after_select_sites +- [`mainwp_manage_pages_after_submit_button`](content-management/index.md#mainwp_manage_pages_after_submit_button) - Action: mainwp_manage_pages_after_submit_button +- [`mainwp_manage_pages_before_search_options`](content-management/index.md#mainwp_manage_pages_before_search_options) - Action: mainwp_manage_pages_before_search_options +- [`mainwp_manage_pages_before_select_sites`](content-management/index.md#mainwp_manage_pages_before_select_sites) - Action: mainwp_manage_pages_before_select_sites +- [`mainwp_manage_pages_before_submit_button`](content-management/index.md#mainwp_manage_pages_before_submit_button) - Action: mainwp_manage_pages_before_submit_button +- [`mainwp_manage_pages_bulk_action`](content-management/index.md#mainwp_manage_pages_bulk_action) - Renders Bulk Page Manager. +- [`mainwp_manage_pages_sidebar_bottom`](content-management/index.md#mainwp_manage_pages_sidebar_bottom) - Action: mainwp_manage_pages_sidebar_bottom +- [`mainwp_manage_pages_sidebar_top`](content-management/index.md#mainwp_manage_pages_sidebar_top) - Action: mainwp_manage_pages_sidebar_top +- [`mainwp_manage_plugin_theme_hide_show_updates_per`](updates-maintenance/index.md#mainwp_manage_plugin_theme_hide_show_updates_per) - Method render_select_manage_view(). +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Action: mainwp_manage_plugins_after_search_options +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_after_select_sites) - Action: mainwp_manage_plugins_after_select_sites +- [`mainwp_manage_plugins_after_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_after_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_after_submit_button) - Action: mainwp_manage_plugins_after_submit_button +- [`mainwp_manage_plugins_after_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_after_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Action: mainwp_manage_plugins_before_search_options +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_before_select_sites) - Action: mainwp_manage_plugins_before_select_sites +- [`mainwp_manage_plugins_before_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_before_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Action: mainwp_manage_plugins_before_submit_button +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Action: mainwp_manage_plugins_sidebar_bottom +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Action: mainwp_manage_plugins_sidebar_top +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Render Autoupdate SubPage. +- [`mainwp_manage_posts_action_item`](content-management/index.md#mainwp_manage_posts_action_item) - Method posts_search_handler() +- [`mainwp_manage_posts_after_search_options`](content-management/index.md#mainwp_manage_posts_after_search_options) - Action: mainwp_manage_posts_after_search_options +- [`mainwp_manage_posts_after_select_sites`](content-management/index.md#mainwp_manage_posts_after_select_sites) - Action: mainwp_manage_posts_after_select_sites +- [`mainwp_manage_posts_after_submit_button`](content-management/index.md#mainwp_manage_posts_after_submit_button) - Action: mainwp_manage_posts_after_submit_button +- [`mainwp_manage_posts_before_search_options`](content-management/index.md#mainwp_manage_posts_before_search_options) - Action: mainwp_manage_posts_before_search_options +- [`mainwp_manage_posts_before_select_sites`](content-management/index.md#mainwp_manage_posts_before_select_sites) - Action: mainwp_manage_posts_before_select_sites +- [`mainwp_manage_posts_before_submit_button`](content-management/index.md#mainwp_manage_posts_before_submit_button) - Action: mainwp_manage_posts_before_submit_button +- [`mainwp_manage_posts_bulk_action`](content-management/index.md#mainwp_manage_posts_bulk_action) - Method render() +- [`mainwp_manage_posts_sidebar_bottom`](content-management/index.md#mainwp_manage_posts_sidebar_bottom) - Action: mainwp_manage_posts_sidebar_bottom +- [`mainwp_manage_posts_sidebar_top`](content-management/index.md#mainwp_manage_posts_sidebar_top) - Action: mainwp_manage_posts_sidebar_top +- [`mainwp_manage_sites_action`](site-management/index.md#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_action`](site-management/index.md#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_edit`](site-management/index.md#mainwp_manage_sites_edit) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_manage_sites_edit`](site-management/index.md#mainwp_manage_sites_edit) - Edit site +- [`mainwp_manage_sites_email_settings`](site-management/index.md#mainwp_manage_sites_email_settings) - Action: mainwp_manage_sites_email_settings +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method mainwp_testwp() +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method add_site() +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method check_site() +- [`mainwp_manage_sites_navigation_items`](site-management/index.md#mainwp_manage_sites_navigation_items) - Method render_managesites_header() +- [`mainwp_manage_sites_optimize_loading`](site-management/index.md#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_manage_sites_optimize_loading`](site-management/index.md#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Action: mainwp_manage_themes_after_search_options +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_after_select_sites) - Action: mainwp_manage_themes_after_select_sites +- [`mainwp_manage_themes_after_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_after_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Action: mainwp_manage_themes_after_submit_button +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Action: mainwp_manage_themes_before_search_options +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_before_select_sites) - Action: mainwp_manage_themes_before_select_sites +- [`mainwp_manage_themes_before_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_before_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Action: mainwp_manage_themes_before_submit_button +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Action: mainwp_manage_themes_sidebar_bottom +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Action: mainwp_manage_themes_sidebar_top +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Render the Themes Auto Update Tab. +- [`mainwp_manage_updates_limit_loading`](updates-maintenance/index.md#mainwp_manage_updates_limit_loading) - Method handle_limit_sites(). +- [`mainwp_manage_users_after_search_options`](user-management/index.md#mainwp_manage_users_after_search_options) - Action: mainwp_manage_users_after_search_options +- [`mainwp_manage_users_after_select_sites`](user-management/index.md#mainwp_manage_users_after_select_sites) - Action: mainwp_manage_users_after_select_sites +- [`mainwp_manage_users_after_submit_button`](user-management/index.md#mainwp_manage_users_after_submit_button) - Action: mainwp_manage_users_after_submit_button +- [`mainwp_manage_users_before_search_options`](user-management/index.md#mainwp_manage_users_before_search_options) - Action: mainwp_manage_users_before_search_options +- [`mainwp_manage_users_before_select_sites`](user-management/index.md#mainwp_manage_users_before_select_sites) - Action: mainwp_manage_users_before_select_sites +- [`mainwp_manage_users_before_submit_button`](user-management/index.md#mainwp_manage_users_before_submit_button) - Action: mainwp_manage_users_before_submit_button +- [`mainwp_manage_users_sidebar_bottom`](user-management/index.md#mainwp_manage_users_sidebar_bottom) - Action: mainwp_manage_users_sidebar_bottom +- [`mainwp_manage_users_sidebar_top`](user-management/index.md#mainwp_manage_users_sidebar_top) - Action: mainwp_manage_users_sidebar_top +- [`mainwp_manageclients_bulk_actions`](client-reports/index.md#mainwp_manageclients_bulk_actions) - Filter: mainwp_manageclients_bulk_actions +- [`mainwp_manageclients_tabletop`](client-reports/index.md#mainwp_manageclients_tabletop) - Method render_second_top_header() +- [`mainwp_manageposts_get_post_result`](content-management/index.md#mainwp_manageposts_get_post_result) - Method get_post() +- [`mainwp_managesite_backup`](site-management/index.md#mainwp_managesite_backup) - Method backup() +- [`mainwp_managesite_schedule_backup`](site-management/index.md#mainwp_managesite_schedule_backup) - Execute the backup task. +- [`mainwp_managesites_bulk_actions`](site-management/index.md#mainwp_managesites_bulk_actions) - Filter: mainwp_managesites_bulk_actions +- [`mainwp_managesites_getbackuplink`](site-management/index.md#mainwp_managesites_getbackuplink) - Filter: mainwp_managesites_getbackuplink +- [`mainwp_managesites_tabletop`](site-management/index.md#mainwp_managesites_tabletop) - Action: mainwp_managesites_tabletop +- [`mainwp_menu_extensions_left_menu`](ui-display/index.md#mainwp_menu_extensions_left_menu) - Method init_extensions_menu() +- [`mainwp_menu_logo_alt`](ui-display/index.md#mainwp_menu_logo_alt) - *Arguments* +- [`mainwp_menu_logo_href`](ui-display/index.md#mainwp_menu_logo_href) - *Arguments* +- [`mainwp_menu_logo_src`](ui-display/index.md#mainwp_menu_logo_src) - *Arguments* +- [`mainwp_module_cost_tracker_actions_bar_left`](content-management/index.md#mainwp_module_cost_tracker_actions_bar_left) - Render Actions Bar +- [`mainwp_module_cost_tracker_actions_bar_right`](content-management/index.md#mainwp_module_cost_tracker_actions_bar_right) - Render Actions Bar +- [`mainwp_module_cost_tracker_before_save_settings`](system-settings/index.md#mainwp_module_cost_tracker_before_save_settings) - Settigns Post +- [`mainwp_module_cost_tracker_email_footer`](updates-maintenance/index.md#mainwp_module_cost_tracker_email_footer) - HTTP Check Email Footer +- [`mainwp_module_cost_tracker_email_header`](updates-maintenance/index.md#mainwp_module_cost_tracker_email_header) - HTTP Check Email Header +- [`mainwp_module_cost_tracker_get_total_cost`](updates-maintenance/index.md#mainwp_module_cost_tracker_get_total_cost) - Method render_sites() +- [`mainwp_module_cost_tracker_help_item`](content-management/index.md#mainwp_module_cost_tracker_help_item) - Action: mainwp_module_cost_tracker_help_item +- [`mainwp_module_cost_tracker_manager_check_status`](security-monitoring/index.md#mainwp_module_cost_tracker_manager_check_status) - *Arguments* +- [`mainwp_module_cost_tracker_monthly_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_monthly_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_settings_bottom`](system-settings/index.md#mainwp_module_cost_tracker_settings_bottom) - Render settings content. +- [`mainwp_module_cost_tracker_summary_enabled_widgets`](ui-display/index.md#mainwp_module_cost_tracker_summary_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_cost_tracker_summary_screen_options_bottom`](ui-display/index.md#mainwp_module_cost_tracker_summary_screen_options_bottom) - Action: mainwp_module_cost_tracker_summary_screen_options_bottom +- [`mainwp_module_cost_tracker_summary_screen_options_top`](ui-display/index.md#mainwp_module_cost_tracker_summary_screen_options_top) - Action: mainwp_module_cost_tracker_summary_screen_options_top +- [`mainwp_module_cost_tracker_summary_widgets_screen_options`](ui-display/index.md#mainwp_module_cost_tracker_summary_widgets_screen_options) - Filter: mainwp_module_cost_tracker_summary_widgets_screen_options +- [`mainwp_module_cost_tracker_upcoming_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_upcoming_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_yearly_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_yearly_renewals_widget_title) - *Arguments* +- [`mainwp_module_dashboard_insights_help_item`](ui-display/index.md#mainwp_module_dashboard_insights_help_item) - Action: mainwp_module_dashboard_insights_help_item +- [`mainwp_module_log_after_connectors_registration`](ui-display/index.md#mainwp_module_log_after_connectors_registration) - Fires after all connectors have been registered. +- [`mainwp_module_log_agent_label`](ui-display/index.md#mainwp_module_log_agent_label) - Filter agent labels +- [`mainwp_module_log_check_connector_is_excluded`](security-monitoring/index.md#mainwp_module_log_check_connector_is_excluded) - Allows excluded connectors to be overridden and registered. +- [`mainwp_module_log_connectors`](ui-display/index.md#mainwp_module_log_connectors) - Allows for adding additional connectors via classes that extend Connector. +- [`mainwp_module_log_cron_tracking`](site-management/index.md#mainwp_module_log_cron_tracking) - Log handler. +- [`mainwp_module_log_current_agent`](ui-display/index.md#mainwp_module_log_current_agent) - Filter the current agent string +- [`mainwp_module_log_data`](site-management/index.md#mainwp_module_log_data) - Log handler +- [`mainwp_module_log_get_role_list_separator`](user-management/index.md#mainwp_module_log_get_role_list_separator) - Tries to find a label for the record's user_role. +- [`mainwp_module_log_overview_enabled_widgets`](ui-display/index.md#mainwp_module_log_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_log_overview_screen_options_bottom`](ui-display/index.md#mainwp_module_log_overview_screen_options_bottom) - Action: mainwp_module_log_overview_screen_options_bottom +- [`mainwp_module_log_overview_screen_options_top`](ui-display/index.md#mainwp_module_log_overview_screen_options_top) - Action: mainwp_module_log_overview_screen_options_top +- [`mainwp_module_log_query_args`](ui-display/index.md#mainwp_module_log_query_args) - Filter allows additional arguments to query $args +- [`mainwp_module_log_record_array`](ui-display/index.md#mainwp_module_log_record_array) - Filter allows modification of record information +- [`mainwp_module_log_record_insert_error`](ui-display/index.md#mainwp_module_log_record_insert_error) - Fires on a record insertion error +- [`mainwp_module_log_record_inserted`](ui-display/index.md#mainwp_module_log_record_inserted) - Fires after a record has been inserted +- [`mainwp_module_log_widgets_screen_options`](ui-display/index.md#mainwp_module_log_widgets_screen_options) - Filter: mainwp_module_log_widgets_screen_options +- [`mainwp_module_monthly_renewals_after_costs_list`](ui-display/index.md#mainwp_module_monthly_renewals_after_costs_list) - Action: mainwp_module_monthly_renewals_after_costs_list +- [`mainwp_module_monthly_renewals_before_costs_list`](ui-display/index.md#mainwp_module_monthly_renewals_before_costs_list) - Action: mainwp_module_monthly_renewals_before_costs_list +- [`mainwp_module_upcoming_renewals_after_costs_list`](ui-display/index.md#mainwp_module_upcoming_renewals_after_costs_list) - Action: mainwp_module_upcoming_renewals_after_costs_list +- [`mainwp_module_upcoming_renewals_before_costs_list`](ui-display/index.md#mainwp_module_upcoming_renewals_before_costs_list) - Action: mainwp_module_upcoming_renewals_before_costs_list +- [`mainwp_module_yearly_renewals_after_costs_list`](ui-display/index.md#mainwp_module_yearly_renewals_after_costs_list) - Action: mainwp_module_yearly_renewals_after_costs_list +- [`mainwp_module_yearly_renewals_before_costs_list`](ui-display/index.md#mainwp_module_yearly_renewals_before_costs_list) - Action: mainwp_module_yearly_renewals_before_costs_list +- [`mainwp_monitoring_sitestable_getcolumns`](security-monitoring/index.md#mainwp_monitoring_sitestable_getcolumns) - Filter: mainwp_monitoring_sitestable_getcolumns +- [`mainwp_monitoring_sitestable_item`](security-monitoring/index.md#mainwp_monitoring_sitestable_item) - Filter: mainwp_monitoring_sitestable_item +- [`mainwp_monitoring_sitestable_prepare_extra_view`](security-monitoring/index.md#mainwp_monitoring_sitestable_prepare_extra_view) - Prepair the items to be listed. +- [`mainwp_monitoring_sitestable_prepared_items`](security-monitoring/index.md#mainwp_monitoring_sitestable_prepared_items) - Action: mainwp_monitoring_sitestable_prepared_items +- [`mainwp_monitoring_table_features`](security-monitoring/index.md#mainwp_monitoring_table_features) - Filter: mainwp_monitoring_table_features +- [`mainwp_monitoringsites_bulk_actions`](site-management/index.md#mainwp_monitoringsites_bulk_actions) - Filter: mainwp_monitoringsites_bulk_actions +- [`mainwp_new_user_password_complexity`](user-management/index.md#mainwp_new_user_password_complexity) - Filter: mainwp_new_user_password_complexity +- [`mainwp_non_mainwp_changes_table_bottom`](ui-display/index.md#mainwp_non_mainwp_changes_table_bottom) - Action: mainwp_non_mainwp_changes_table_bottom +- [`mainwp_non_mainwp_changes_table_top`](ui-display/index.md#mainwp_non_mainwp_changes_table_top) - Action: mainwp_non_mainwp_changes_table_top +- [`mainwp_non_mainwp_changes_widget_bottom`](ui-display/index.md#mainwp_non_mainwp_changes_widget_bottom) - Action: mainwp_non_mainwp_changes_widget_bottom +- [`mainwp_non_mainwp_changes_widget_title`](ui-display/index.md#mainwp_non_mainwp_changes_widget_title) - *Arguments* +- [`mainwp_non_mainwp_changes_widget_top`](ui-display/index.md#mainwp_non_mainwp_changes_widget_top) - Actoin: mainwp_non_mainwp_changes_widget_top +- [`mainwp_notes_widget_bottom`](ui-display/index.md#mainwp_notes_widget_bottom) - Action: mainwp_notes_widget_bottom +- [`mainwp_notes_widget_title`](ui-display/index.md#mainwp_notes_widget_title) - *Arguments* +- [`mainwp_notes_widget_top`](ui-display/index.md#mainwp_notes_widget_top) - Action: mainwp_notes_widget_top +- [`mainwp_notification_template_copy_message`](ui-display/index.md#mainwp_notification_template_copy_message) - Filter mainwp_notification_template_copy_message. +- [`mainwp_notification_type_desc`](ui-display/index.md#mainwp_notification_type_desc) - Get email settings description. +- [`mainwp_notification_types`](ui-display/index.md#mainwp_notification_types) - Get email notification types. +- [`mainwp_open_hide_referrer`](ui-display/index.md#mainwp_open_hide_referrer) - Filter: mainwp_open_hide_referrer +- [`mainwp_open_site_allow_vars`](site-management/index.md#mainwp_open_site_allow_vars) - Child Site Dashboard Link redirect handler. +- [`mainwp_open_site_login_required_params`](site-management/index.md#mainwp_open_site_login_required_params) - Method get_get_data_authed() +- [`mainwp_overview_enabled_widgets`](ui-display/index.md#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_enabled_widgets`](ui-display/index.md#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_help_item`](content-management/index.md#mainwp_overview_help_item) - Action: mainwp_overview_help_item +- [`mainwp_overview_screen_options_bottom`](ui-display/index.md#mainwp_overview_screen_options_bottom) - Action: mainwp_overview_screen_options_bottom +- [`mainwp_overview_screen_options_top`](ui-display/index.md#mainwp_overview_screen_options_top) - Action: mainwp_overview_screen_options_top +- [`mainwp_page_admin_body_class`](content-management/index.md#mainwp_page_admin_body_class) - MainWP Admin body CSS class attributes. +- [`mainwp_page_hearder_tabs_updates`](updates-maintenance/index.md#mainwp_page_hearder_tabs_updates) - Renders header tabs +- [`mainwp_page_navigation`](content-management/index.md#mainwp_page_navigation) - Filter: mainwp_page_navigation +- [`mainwp_page_navigation_menu`](content-management/index.md#mainwp_page_navigation_menu) - Method render_page_navigation() +- [`mainwp_pagefooter_extensions`](content-management/index.md#mainwp_pagefooter_extensions) - Method render_extensions_groups() +- [`mainwp_pagefooter_settings`](content-management/index.md#mainwp_pagefooter_settings) - Render settings +- [`mainwp_pagefooter_settings`](content-management/index.md#mainwp_pagefooter_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - Render Tabs. +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - Sites Page Footer +- [`mainwp_pagefooter_tags`](content-management/index.md#mainwp_pagefooter_tags) - Sites Page Footer +- [`mainwp_pageheader_extensions`](content-management/index.md#mainwp_pageheader_extensions) - Method render_extensions_groups() +- [`mainwp_pageheader_settings`](content-management/index.md#mainwp_pageheader_settings) - Render settings +- [`mainwp_pageheader_settings`](content-management/index.md#mainwp_pageheader_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - Render Tabs. +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - Sites Page header +- [`mainwp_pageheader_tags`](content-management/index.md#mainwp_pageheader_tags) - Sites Page header +- [`mainwp_pages_actions_bar_left`](content-management/index.md#mainwp_pages_actions_bar_left) - Action: mainwp_pages_actions_bar_left +- [`mainwp_pages_actions_bar_right`](content-management/index.md#mainwp_pages_actions_bar_right) - Action: mainwp_pages_actions_bar_right +- [`mainwp_pages_bulk_action`](content-management/index.md#mainwp_pages_bulk_action) - Action: mainwp_pages_bulk_action +- [`mainwp_pages_help_item`](content-management/index.md#mainwp_pages_help_item) - Action: mainwp_pages_help_item +- [`mainwp_pages_posting_popup_actions`](content-management/index.md#mainwp_pages_posting_popup_actions) - Method posting() +- [`mainwp_pages_table_action`](content-management/index.md#mainwp_pages_table_action) - Action: mainwp_pages_table_action +- [`mainwp_pages_table_column`](content-management/index.md#mainwp_pages_table_column) - Action: mainwp_pages_table_column +- [`mainwp_pages_table_fatures`](content-management/index.md#mainwp_pages_table_fatures) - Filter: mainwp_pages_table_fatures +- [`mainwp_pages_table_header`](content-management/index.md#mainwp_pages_table_header) - Action: mainwp_pages_table_header +- [`mainwp_pages_updates_render_tabs`](updates-maintenance/index.md#mainwp_pages_updates_render_tabs) - Renders updates page. +- [`mainwp_perform_install_data`](updates-maintenance/index.md#mainwp_perform_install_data) - Perform insatallation additional data +- [`mainwp_perform_install_data`](updates-maintenance/index.md#mainwp_perform_install_data) - This filter is documented in pages/page-mainwp-install-bulk.php +- [`mainwp_performinstallplugintheme`](updates-maintenance/index.md#mainwp_performinstallplugintheme) - Method mainwp_ext_performinstallplugintheme() +- [`mainwp_plugin_auto_updates_table_fatures`](updates-maintenance/index.md#mainwp_plugin_auto_updates_table_fatures) - Filter: mainwp_plugin_auto_updates_table_fatures +- [`mainwp_plugin_information_sslverify`](updates-maintenance/index.md#mainwp_plugin_information_sslverify) - Sends and receives data to and from the server API. +- [`mainwp_plugin_theme_icon_cache_days`](updates-maintenance/index.md#mainwp_plugin_theme_icon_cache_days) - Gets a plugin|theme icon to output. +- [`mainwp_plugins_actions_bar_left`](updates-maintenance/index.md#mainwp_plugins_actions_bar_left) - Action: mainwp_plugins_actions_bar_left +- [`mainwp_plugins_actions_bar_right`](updates-maintenance/index.md#mainwp_plugins_actions_bar_right) - Action: mainwp_plugins_actions_bar_right +- [`mainwp_plugins_after_auto_updates_table`](updates-maintenance/index.md#mainwp_plugins_after_auto_updates_table) - Action: mainwp_plugins_after_auto_updates_table +- [`mainwp_plugins_after_ignored_abandoned`](updates-maintenance/index.md#mainwp_plugins_after_ignored_abandoned) - Action: mainwp_plugins_after_ignored_abandoned +- [`mainwp_plugins_after_ignored_updates`](updates-maintenance/index.md#mainwp_plugins_after_ignored_updates) - Action: mainwp_plugins_after_ignored_updates +- [`mainwp_plugins_auto_updates_bulk_action`](updates-maintenance/index.md#mainwp_plugins_auto_updates_bulk_action) - Action: mainwp_plugins_auto_updates_bulk_action +- [`mainwp_plugins_before_auto_updates_table`](updates-maintenance/index.md#mainwp_plugins_before_auto_updates_table) - Action: mainwp_plugins_before_auto_updates_table +- [`mainwp_plugins_before_ignored_abandoned`](updates-maintenance/index.md#mainwp_plugins_before_ignored_abandoned) - Action: mainwp_plugins_before_ignored_abandoned +- [`mainwp_plugins_before_ignored_updates`](updates-maintenance/index.md#mainwp_plugins_before_ignored_updates) - Action: mainwp_plugins_before_ignored_updates +- [`mainwp_plugins_bulk_action`](updates-maintenance/index.md#mainwp_plugins_bulk_action) - Action: mainwp_plugins_bulk_action +- [`mainwp_plugins_help_item`](updates-maintenance/index.md#mainwp_plugins_help_item) - Action: mainwp_plugins_help_item +- [`mainwp_plugins_install_checks`](updates-maintenance/index.md#mainwp_plugins_install_checks) - Method get_plugins_install_check() +- [`mainwp_plugins_widget_bottom`](updates-maintenance/index.md#mainwp_plugins_widget_bottom) - Action: mainwp_plugins_widget_bottom +- [`mainwp_plugins_widget_title`](updates-maintenance/index.md#mainwp_plugins_widget_title) - *Arguments* +- [`mainwp_plugins_widget_top`](updates-maintenance/index.md#mainwp_plugins_widget_top) - Action: mainwp_plugins_widget_top +- [`mainwp_post_action`](content-management/index.md#mainwp_post_action) - Fires immediately after post action. +- [`mainwp_post_created`](content-management/index.md#mainwp_post_created) - Method posting_bulk_handler() +- [`mainwp_post_posting_page`](content-management/index.md#mainwp_post_posting_page) - Posting page +- [`mainwp_post_posting_post`](content-management/index.md#mainwp_post_posting_post) - Posting post +- [`mainwp_posting_bulkpost_post_status`](content-management/index.md#mainwp_posting_bulkpost_post_status) - Post status +- [`mainwp_posting_bulkpost_post_status`](content-management/index.md#mainwp_posting_bulkpost_post_status) - Page status +- [`mainwp_posting_post_selected_by`](content-management/index.md#mainwp_posting_post_selected_by) - Method posting_posts() +- [`mainwp_posting_post_selected_sites`](content-management/index.md#mainwp_posting_post_selected_sites) - Method posting_posts() +- [`mainwp_posting_selected_clients`](content-management/index.md#mainwp_posting_selected_clients) - Method posting_posts() +- [`mainwp_posting_selected_groups`](site-management/index.md#mainwp_posting_selected_groups) - Method posting_posts() +- [`mainwp_postprocess_backup_site`](content-management/index.md#mainwp_postprocess_backup_site) - Method backup_site() +- [`mainwp_postprocess_backup_sites_feedback`](site-management/index.md#mainwp_postprocess_backup_sites_feedback) - Method backup_site() +- [`mainwp_posts_actions_bar_left`](content-management/index.md#mainwp_posts_actions_bar_left) - Action: mainwp_posts_actions_bar_left +- [`mainwp_posts_actions_bar_right`](content-management/index.md#mainwp_posts_actions_bar_right) - Action: mainwp_posts_actions_bar_right +- [`mainwp_posts_bulk_action`](content-management/index.md#mainwp_posts_bulk_action) - Action: mainwp_posts_bulk_action +- [`mainwp_posts_help_item`](content-management/index.md#mainwp_posts_help_item) - Action: mainwp_posts_help_item +- [`mainwp_posts_posting_bulk_sites`](content-management/index.md#mainwp_posts_posting_bulk_sites) - Method posting_bulk() +- [`mainwp_posts_posting_popup_actions`](content-management/index.md#mainwp_posts_posting_popup_actions) - Method posting() +- [`mainwp_posts_search_bulk_sites`](content-management/index.md#mainwp_posts_search_bulk_sites) - Method render() +- [`mainwp_posts_table_action`](content-management/index.md#mainwp_posts_table_action) - Action: mainwp_posts_table_action +- [`mainwp_posts_table_column`](content-management/index.md#mainwp_posts_table_column) - Action: mainwp_posts_table_column +- [`mainwp_posts_table_fatures`](content-management/index.md#mainwp_posts_table_fatures) - Filter: mainwp_posts_table_fatures +- [`mainwp_posts_table_header`](content-management/index.md#mainwp_posts_table_header) - Action: mainwp_posts_table_header +- [`mainwp_pre_fetch_authed_data`](site-management/index.md#mainwp_pre_fetch_authed_data) - Method get_post_data_authed() +- [`mainwp_pre_posting_posts`](content-management/index.md#mainwp_pre_posting_posts) - Filter: mainwp_pre_posting_posts +- [`mainwp_prepare_install_download_url`](updates-maintenance/index.md#mainwp_prepare_install_download_url) - Method prepare_install() +- [`mainwp_prepareinstallplugintheme`](updates-maintenance/index.md#mainwp_prepareinstallplugintheme) - Method mainwp_ext_prepareinstallplugintheme() +- [`mainwp_pro_reports_generate_content`](content-management/index.md#mainwp_pro_reports_generate_content) - Filter: mainwp_pro_reports_generate_content +- [`mainwp_pro_reports_get_site_tokens`](site-management/index.md#mainwp_pro_reports_get_site_tokens) - Filter: mainwp_pro_reports_get_site_tokens +- [`mainwp_pro_reports_get_site_tokens`](site-management/index.md#mainwp_pro_reports_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_quick_sites_shortcut`](site-management/index.md#mainwp_quick_sites_shortcut) - Action: mainwp_quick_sites_shortcut +- [`mainwp_recent_pages_after_draft_list`](content-management/index.md#mainwp_recent_pages_after_draft_list) - Action: mainwp_recent_pages_after_draft_list +- [`mainwp_recent_pages_after_future_list`](content-management/index.md#mainwp_recent_pages_after_future_list) - Action: mainwp_recent_pages_after_future_list +- [`mainwp_recent_pages_after_lists`](content-management/index.md#mainwp_recent_pages_after_lists) - Action: mainwp_recent_pages_after_lists +- [`mainwp_recent_pages_after_pending_list`](content-management/index.md#mainwp_recent_pages_after_pending_list) - Action: mainwp_recent_pages_after_pending_list +- [`mainwp_recent_pages_after_publised_list`](content-management/index.md#mainwp_recent_pages_after_publised_list) - Action: mainwp_recent_pages_after_publised_list +- [`mainwp_recent_pages_after_trash_list`](content-management/index.md#mainwp_recent_pages_after_trash_list) - Action: mainwp_recent_pages_after_trash_list +- [`mainwp_recent_pages_before_draft_list`](content-management/index.md#mainwp_recent_pages_before_draft_list) - Action: mainwp_recent_pages_before_draft_list +- [`mainwp_recent_pages_before_future_list`](content-management/index.md#mainwp_recent_pages_before_future_list) - Action: mainwp_recent_pages_before_future_list +- [`mainwp_recent_pages_before_pending_list`](content-management/index.md#mainwp_recent_pages_before_pending_list) - Action: mainwp_recent_pages_before_pending_list +- [`mainwp_recent_pages_before_publised_list`](content-management/index.md#mainwp_recent_pages_before_publised_list) - Action: mainwp_recent_pages_before_publised_list +- [`mainwp_recent_pages_before_trash_list`](content-management/index.md#mainwp_recent_pages_before_trash_list) - Action: mainwp_recent_pages_before_trash_list +- [`mainwp_recent_pages_widget_bottom`](content-management/index.md#mainwp_recent_pages_widget_bottom) - Action: mainwp_recent_pages_widget_bottom +- [`mainwp_recent_pages_widget_title`](content-management/index.md#mainwp_recent_pages_widget_title) - *Arguments* +- [`mainwp_recent_pages_widget_top`](content-management/index.md#mainwp_recent_pages_widget_top) - Action: mainwp_recent_pages_widget_top +- [`mainwp_recent_posts_after_draft_list`](content-management/index.md#mainwp_recent_posts_after_draft_list) - Action: mainwp_recent_posts_after_draft_list +- [`mainwp_recent_posts_after_future_list`](content-management/index.md#mainwp_recent_posts_after_future_list) - Action: mainwp_recent_posts_after_future_list +- [`mainwp_recent_posts_after_lists`](content-management/index.md#mainwp_recent_posts_after_lists) - Action: mainwp_recent_posts_after_lists +- [`mainwp_recent_posts_after_pending_list`](content-management/index.md#mainwp_recent_posts_after_pending_list) - Action: mainwp_recent_posts_after_pending_list +- [`mainwp_recent_posts_after_publised_list`](content-management/index.md#mainwp_recent_posts_after_publised_list) - Action: mainwp_recent_posts_after_publised_list +- [`mainwp_recent_posts_after_trash_list`](content-management/index.md#mainwp_recent_posts_after_trash_list) - Action: mainwp_recent_posts_after_trash_list +- [`mainwp_recent_posts_before_draft_list`](content-management/index.md#mainwp_recent_posts_before_draft_list) - Action: mainwp_recent_posts_before_draft_list +- [`mainwp_recent_posts_before_future_list`](content-management/index.md#mainwp_recent_posts_before_future_list) - Action: mainwp_recent_posts_before_future_list +- [`mainwp_recent_posts_before_pending_list`](content-management/index.md#mainwp_recent_posts_before_pending_list) - Action: mainwp_recent_posts_before_pending_list +- [`mainwp_recent_posts_before_publised_list`](content-management/index.md#mainwp_recent_posts_before_publised_list) - Action: mainwp_recent_posts_before_publised_list +- [`mainwp_recent_posts_before_trash_list`](content-management/index.md#mainwp_recent_posts_before_trash_list) - Action: mainwp_recent_posts_before_trash_list +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - This filter is documented in ../widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - Sets number of recent posts & pages +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - This filter is documented in /widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_posts_widget_bottom`](content-management/index.md#mainwp_recent_posts_widget_bottom) - Action: mainwp_recent_posts_widget_bottom +- [`mainwp_recent_posts_widget_title`](content-management/index.md#mainwp_recent_posts_widget_title) - *Arguments* +- [`mainwp_recent_posts_widget_top`](content-management/index.md#mainwp_recent_posts_widget_top) - Action: mainwp_recent_posts_widget_top +- [`mainwp_register_post_type`](content-management/index.md#mainwp_register_post_type) - Method create_post_type() +- [`mainwp_register_regular_sequence_process`](ui-display/index.md#mainwp_register_regular_sequence_process) - Method perform_sequence_process +- [`mainwp_remote_destination_info`](api-remote/index.md#mainwp_remote_destination_info) - Method mainwp_backup_upload_checkstatus() +- [`mainwp_removed_extension_menu`](ui-display/index.md#mainwp_removed_extension_menu) - Remove Extensions menu from MainWP Menu. +- [`mainwp_request_update_premium_plugins`](updates-maintenance/index.md#mainwp_request_update_premium_plugins) - Filter: mainwp_request_update_premium_plugins +- [`mainwp_request_update_premium_themes`](updates-maintenance/index.md#mainwp_request_update_premium_themes) - Filter: mainwp_request_update_premium_themes +- [`mainwp_reset_admin_pass_modal_bottom`](ui-display/index.md#mainwp_reset_admin_pass_modal_bottom) - Action: mainwp_reset_admin_pass_modal_bottom +- [`mainwp_reset_admin_pass_modal_top`](ui-display/index.md#mainwp_reset_admin_pass_modal_top) - Action: mainwp_reset_admin_pass_modal_top +- [`mainwp_rest_api_disabled`](api-remote/index.md#mainwp_rest_api_disabled) - Method is_rest_api_enabled() +- [`mainwp_rest_api_enabled`](api-remote/index.md#mainwp_rest_api_enabled) - Method init_rest_api() +- [`mainwp_rest_api_get_rest_namespaces`](api-remote/index.md#mainwp_rest_api_get_rest_namespaces) - Get API namespaces - new namespaces should be registered here. +- [`mainwp_rest_api_help_item`](api-remote/index.md#mainwp_rest_api_help_item) - Action: mainwp_rest_api_help_item +- [`mainwp_rest_api_v2_enabled`](api-remote/index.md#mainwp_rest_api_v2_enabled) - Hook into WordPress ready to init the REST API as needed. +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_all_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_client_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_site_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_costs_callback() +- [`mainwp_rest_batch_items_limit`](api-remote/index.md#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_batch_items_limit`](api-remote/index.md#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_collection_params`](api-remote/index.md#mainwp_rest_collection_params) - Filter collection parameters for the controller. +- [`mainwp_rest_cost_collection_params`](api-remote/index.md#mainwp_rest_cost_collection_params) - Filter collection parameters. +- [`mainwp_rest_is_request_to_rest_api`](api-remote/index.md#mainwp_rest_is_request_to_rest_api) - Check if is request to our REST API. +- [`mainwp_rest_pre_insert_site_item`](site-management/index.md#mainwp_rest_pre_insert_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_pre_update_site_item`](site-management/index.md#mainwp_rest_pre_update_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_prepare_cost`](api-remote/index.md#mainwp_rest_prepare_cost) - Filter product reviews object returned from the REST API. +- [`mainwp_rest_prepare_site`](api-remote/index.md#mainwp_rest_prepare_site) - Filterobject returned from the REST API. +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](client-reports/index.md#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get client by tag id. +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](client-reports/index.md#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get clients by item. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by tag id. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Update all items of site. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites of client. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by item. +- [`mainwp_rest_routes_sites_controller_get_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_get_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_{$type}_object_query`](api-remote/index.md#mainwp_rest_type_object_query) - Filter the query arguments for a request. +- [`mainwp_save_bulkpage`](content-management/index.md#mainwp_save_bulkpage) - Action: mainwp_save_bulkpage +- [`mainwp_save_bulkpost`](content-management/index.md#mainwp_save_bulkpost) - Action: mainwp_save_bulkpost +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_pulse_control`](ui-display/index.md#mainwp_screen_options_pulse_control) - Method render_header_actions() +- [`mainwp_secure_request`](security-monitoring/index.md#mainwp_secure_request) - Method security_nonce(). +- [`mainwp_secure_request`](security-monitoring/index.md#mainwp_secure_request) - Method admin_init() +- [`mainwp_security_issues_list_item_column`](security-monitoring/index.md#mainwp_security_issues_list_item_column) - Action: mainwp_security_issues_list_item_column +- [`mainwp_security_issues_list_item_title`](security-monitoring/index.md#mainwp_security_issues_list_item_title) - *Arguments* +- [`mainwp_security_issues_list_item_title_url`](security-monitoring/index.md#mainwp_security_issues_list_item_title_url) - *Arguments* +- [`mainwp_security_issues_stats`](security-monitoring/index.md#mainwp_security_issues_stats) - This filter is documented in ../pages/page-mainwp-security-issues.php +- [`mainwp_security_issues_stats`](security-monitoring/index.md#mainwp_security_issues_stats) - Filters security issues +- [`mainwp_security_issues_widget_bottom`](security-monitoring/index.md#mainwp_security_issues_widget_bottom) - Action: mainwp_security_issues_widget_bottom +- [`mainwp_security_issues_widget_title`](security-monitoring/index.md#mainwp_security_issues_widget_title) - *Arguments* +- [`mainwp_security_issues_widget_top`](security-monitoring/index.md#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_widget_top`](security-monitoring/index.md#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_nonces`](security-monitoring/index.md#mainwp_security_nonces) - Method admin_init() +- [`mainwp_security_post_data`](content-management/index.md#mainwp_security_post_data) - Filters security issues from fixing +- [`mainwp_securityissues_sites`](security-monitoring/index.md#mainwp_securityissues_sites) - Action: mainwp_securityissues_sites +- [`mainwp_select_sites_box`](site-management/index.md#mainwp_select_sites_box) - Render settings +- [`mainwp_select_themes_modal_bottom`](updates-maintenance/index.md#mainwp_select_themes_modal_bottom) - Action: mainwp_select_themes_modal_bottom +- [`mainwp_select_themes_modal_top`](updates-maintenance/index.md#mainwp_select_themes_modal_top) - Action: mainwp_select_themes_modal_top +- [`mainwp_send_mail_from_header`](content-management/index.md#mainwp_send_mail_from_header) - Method send_wp_mail(). +- [`mainwp_settings_email_settings`](system-settings/index.md#mainwp_settings_email_settings) - Action: mainwp_settings_email_settings +- [`mainwp_settings_form_bottom`](system-settings/index.md#mainwp_settings_form_bottom) - Action: mainwp_settings_form_bottom +- [`mainwp_settings_form_top`](system-settings/index.md#mainwp_settings_form_top) - Action: mainwp_settings_form_top +- [`mainwp_settings_help_item`](system-settings/index.md#mainwp_settings_help_item) - Action: mainwp_settings_help_item +- [`mainwp_show_all_updates_button_text`](updates-maintenance/index.md#mainwp_show_all_updates_button_text) - *Arguments* +- [`mainwp_show_qsw`](content-management/index.md#mainwp_show_qsw) - Render MainWP Tools SubPage. +- [`mainwp_sidbar_pages`](content-management/index.md#mainwp_sidbar_pages) - Method render_header_actions() +- [`mainwp_sidbar_pages`](content-management/index.md#mainwp_sidbar_pages) - Method render_screen_options() +- [`mainwp_sidebar_pages`](content-management/index.md#mainwp_sidebar_pages) - Method render_header_actions() +- [`mainwp_sidebar_pages`](content-management/index.md#mainwp_sidebar_pages) - Method render_screen_options() +- [`mainwp_site_actions_saved_days_number`](site-management/index.md#mainwp_site_actions_saved_days_number) - Method sync_site() +- [`mainwp_site_added`](site-management/index.md#mainwp_site_added) - Fires immediately after a new website is added. +- [`mainwp_site_deleted`](site-management/index.md#mainwp_site_deleted) - *Arguments* +- [`mainwp_site_health_monitoring_email_footer`](site-management/index.md#mainwp_site_health_monitoring_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_site_health_monitoring_email_header`](site-management/index.md#mainwp_site_health_monitoring_email_header) - Site Health Monitoring Email Header +- [`mainwp_site_info_table_bottom`](site-management/index.md#mainwp_site_info_table_bottom) - Action: mainwp_site_info_table_bottom +- [`mainwp_site_info_table_top`](site-management/index.md#mainwp_site_info_table_top) - Action: mainwp_site_info_table_top +- [`mainwp_site_info_widget_bottom`](site-management/index.md#mainwp_site_info_widget_bottom) - Action: mainwp_site_info_widget_bottom +- [`mainwp_site_info_widget_title`](site-management/index.md#mainwp_site_info_widget_title) - *Arguments* +- [`mainwp_site_info_widget_top`](site-management/index.md#mainwp_site_info_widget_top) - Actoin: mainwp_site_info_widget_top +- [`mainwp_site_reconnected`](site-management/index.md#mainwp_site_reconnected) - Fires immediately after reconnect website. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Site suspended changed. +- [`mainwp_site_sync`](site-management/index.md#mainwp_site_sync) - Action: mainwp_site_sync +- [`mainwp_site_synced`](site-management/index.md#mainwp_site_synced) - Action: mainwp_site_synced +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a tag has been deleted. +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_site_updated`](site-management/index.md#mainwp_site_updated) - Update site +- [`mainwp_sites_table_features`](site-management/index.md#mainwp_sites_table_features) - Filter: mainwp_sites_table_features +- [`mainwp_sitestable_display_row_columns`](ui-display/index.md#mainwp_sitestable_display_row_columns) - Get table rows. +- [`mainwp_sitestable_getcolumns`](ui-display/index.md#mainwp_sitestable_getcolumns) - Filter: mainwp_sitestable_getcolumns +- [`mainwp_sitestable_item`](ui-display/index.md#mainwp_sitestable_item) - Filter: mainwp_sitestable_item +- [`mainwp_sitestable_prepare_extra_view`](ui-display/index.md#mainwp_sitestable_prepare_extra_view) - Prepare the items to be listed. +- [`mainwp_sitestable_prepared_items`](ui-display/index.md#mainwp_sitestable_prepared_items) - Action: mainwp_sitestable_prepared_items +- [`mainwp_sitestable_render_column`](ui-display/index.md#mainwp_sitestable_render_column) - Columns for a single row. +- [`mainwp_sitestable_website`](site-management/index.md#mainwp_sitestable_website) - Get table rows. +- [`mainwp_sitestable_website`](site-management/index.md#mainwp_sitestable_website) - Columns for a single row. +- [`mainwp_specific_action_logs`](content-management/index.md#mainwp_specific_action_logs) - Renders action logs page. +- [`mainwp_staging_current_user_sites_view`](site-management/index.md#mainwp_staging_current_user_sites_view) - Method get_select_staging_view_sites() +- [`mainwp_stats_scan_dir`](security-monitoring/index.md#mainwp_stats_scan_dir) - Method get_post_data_authed() +- [`mainwp_sub_leftmenu_updates`](updates-maintenance/index.md#mainwp_sub_leftmenu_updates) - Initiates Updates menu. +- [`mainwp_subheader_actions`](ui-display/index.md#mainwp_subheader_actions) - Action: mainwp_subheader_actions +- [`mainwp_subpages_left_menu`](content-management/index.md#mainwp_subpages_left_menu) - Method init_subpages_left_menu +- [`mainwp_sucuriscan_sites`](security-monitoring/index.md#mainwp_sucuriscan_sites) - Action: mainwp_sucuriscan_sites +- [`mainwp_sync_extensions_options`](site-management/index.md#mainwp_sync_extensions_options) - Method render_sync_exts_settings() +- [`mainwp_sync_others_data`](site-management/index.md#mainwp_sync_others_data) - Filter: mainwp_sync_others_data +- [`mainwp_sync_popup_content`](site-management/index.md#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_popup_content`](site-management/index.md#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_site_after_sync_result`](site-management/index.md#mainwp_sync_site_after_sync_result) - Method sync_information_array() +- [`mainwp_sync_site_log_install_actions`](site-management/index.md#mainwp_sync_site_log_install_actions) - Method sync_log_site_actions(). +- [`mainwp_synced_all_sites`](site-management/index.md#mainwp_synced_all_sites) - Method cron_updates_check() +- [`mainwp_synced_all_sites`](site-management/index.md#mainwp_synced_all_sites) - Action: mainwp_synced_all_sites +- [`mainwp_system_init`](system-settings/index.md#mainwp_system_init) - MainWP_System constructor. +- [`mainwp_tags_help_item`](site-management/index.md#mainwp_tags_help_item) - Action: mainwp_tags_help_item +- [`mainwp_text_format_email`](ui-display/index.md#mainwp_text_format_email) - Filter: mainwp_text_format_email +- [`mainwp_theme_auto_updates_table_fatures`](updates-maintenance/index.md#mainwp_theme_auto_updates_table_fatures) - Filter: mainwp_theme_auto_updates_table_fatures +- [`mainwp_themes_actions_bar_left`](updates-maintenance/index.md#mainwp_themes_actions_bar_left) - Action: mainwp_themes_actions_bar_left +- [`mainwp_themes_actions_bar_right`](updates-maintenance/index.md#mainwp_themes_actions_bar_right) - Action: mainwp_themes_actions_bar_right +- [`mainwp_themes_after_auto_updates_table`](updates-maintenance/index.md#mainwp_themes_after_auto_updates_table) - Action: mainwp_themes_after_auto_updates_table +- [`mainwp_themes_after_ignored_abandoned`](updates-maintenance/index.md#mainwp_themes_after_ignored_abandoned) - Action: mainwp_themes_after_ignored_abandoned +- [`mainwp_themes_after_ignored_updates`](updates-maintenance/index.md#mainwp_themes_after_ignored_updates) - Action: mainwp_themes_after_ignored_updates +- [`mainwp_themes_auto_updates_bulk_action`](updates-maintenance/index.md#mainwp_themes_auto_updates_bulk_action) - Action: mainwp_themes_auto_updates_bulk_action +- [`mainwp_themes_before_auto_updates_table`](updates-maintenance/index.md#mainwp_themes_before_auto_updates_table) - Action: mainwp_themes_before_auto_updates_table +- [`mainwp_themes_before_ignored_abandoned`](updates-maintenance/index.md#mainwp_themes_before_ignored_abandoned) - Action: mainwp_themes_before_ignored_abandoned +- [`mainwp_themes_before_ignored_updates`](updates-maintenance/index.md#mainwp_themes_before_ignored_updates) - Action: mainwp_themes_before_ignored_updates +- [`mainwp_themes_bulk_action`](updates-maintenance/index.md#mainwp_themes_bulk_action) - Action: mainwp_themes_bulk_action +- [`mainwp_themes_help_item`](updates-maintenance/index.md#mainwp_themes_help_item) - Action: mainwp_themes_help_item +- [`mainwp_themes_widget_bottom`](updates-maintenance/index.md#mainwp_themes_widget_bottom) - Action: mainwp_themes_widget_bottom +- [`mainwp_themes_widget_title`](updates-maintenance/index.md#mainwp_themes_widget_title) - *Arguments* +- [`mainwp_themes_widget_top`](updates-maintenance/index.md#mainwp_themes_widget_top) - Action: mainwp_themes_widget_top +- [`mainwp_tools_form_bottom`](content-management/index.md#mainwp_tools_form_bottom) - Action: mainwp_tools_form_bottom +- [`mainwp_tools_form_top`](content-management/index.md#mainwp_tools_form_top) - Action: mainwp_tools_form_top +- [`mainwp_top_bulkpost_edit_content`](content-management/index.md#mainwp_top_bulkpost_edit_content) - Renders bulkpost to edit. +- [`mainwp_try_visit_follow_location`](ui-display/index.md#mainwp_try_visit_follow_location) - Method try visit. +- [`mainwp_ui_use_wp_calendar`](ui-display/index.md#mainwp_ui_use_wp_calendar) - Filter: mainwp_ui_use_wp_calendar +- [`mainwp_unset_security_scripts_stylesheets`](security-monitoring/index.md#mainwp_unset_security_scripts_stylesheets) - Method Fix Security Issues +- [`mainwp_update_admin_password_complexity`](updates-maintenance/index.md#mainwp_update_admin_password_complexity) - Filter: mainwp_update_admin_password_complexity +- [`mainwp_update_backuptask`](updates-maintenance/index.md#mainwp_update_backuptask) - Update backup task. +- [`mainwp_update_cached_icons`](updates-maintenance/index.md#mainwp_update_cached_icons) - Method update_cached_icons(). +- [`mainwp_update_everything_button_text`](updates-maintenance/index.md#mainwp_update_everything_button_text) - *Arguments* +- [`mainwp_update_plugintheme_max`](updates-maintenance/index.md#mainwp_update_plugintheme_max) - Filter: mainwp_update_plugintheme_max +- [`mainwp_update_site`](updates-maintenance/index.md#mainwp_update_site) - Update site +- [`mainwp_update_uptime_monitor_data`](updates-maintenance/index.md#mainwp_update_uptime_monitor_data) - Method update_uptime_global_settings +- [`mainwp_updated_site`](updates-maintenance/index.md#mainwp_updated_site) - Action: mainwp_updated_site +- [`mainwp_updates_abandoned_plugins_sort_by`](updates-maintenance/index.md#mainwp_updates_abandoned_plugins_sort_by) - Filter: mainwp_updates_abandoned_plugins_sort_by +- [`mainwp_updates_abandoned_themes_sort_by`](updates-maintenance/index.md#mainwp_updates_abandoned_themes_sort_by) - Filter: mainwp_updates_abandoned_themes_sort_by +- [`mainwp_updates_after_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_after_abandoned_plugins) - Action: mainwp_updates_after_abandoned_plugins +- [`mainwp_updates_after_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_after_abandoned_themes) - Action: mainwp_updates_after_abandoned_themes +- [`mainwp_updates_after_actions_bar`](updates-maintenance/index.md#mainwp_updates_after_actions_bar) - Action: mainwp_updates_after_actions_bar +- [`mainwp_updates_after_nav_tabs`](updates-maintenance/index.md#mainwp_updates_after_nav_tabs) - Action: mainwp_updates_after_nav_tabs +- [`mainwp_updates_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_after_plugin_updates) - Action: mainwp_updates_after_plugin_updates +- [`mainwp_updates_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_after_theme_updates) - Action: mainwp_updates_after_theme_updates +- [`mainwp_updates_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_after_translation_updates) - Action: mainwp_updates_after_translation_updates +- [`mainwp_updates_after_wp_updates`](updates-maintenance/index.md#mainwp_updates_after_wp_updates) - Action: mainwp_updates_after_wp_updates +- [`mainwp_updates_before_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_before_abandoned_plugins) - Action: mainwp_updates_before_abandoned_plugins +- [`mainwp_updates_before_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_before_abandoned_themes) - Action: mainwp_updates_before_abandoned_themes +- [`mainwp_updates_before_actions_bar`](updates-maintenance/index.md#mainwp_updates_before_actions_bar) - Action: mainwp_updates_before_actions_bar +- [`mainwp_updates_before_nav_tabs`](updates-maintenance/index.md#mainwp_updates_before_nav_tabs) - Action: mainwp_updates_before_nav_tabs +- [`mainwp_updates_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_before_plugin_updates) - Action: mainwp_updates_before_plugin_updates +- [`mainwp_updates_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_before_theme_updates) - Action: mainwp_updates_before_theme_updates +- [`mainwp_updates_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_before_translation_updates) - Action: mainwp_updates_before_translation_updates +- [`mainwp_updates_before_wp_updates`](updates-maintenance/index.md#mainwp_updates_before_wp_updates) - Action: mainwp_updates_before_wp_updates +- [`mainwp_updates_help_item`](updates-maintenance/index.md#mainwp_updates_help_item) - Action: mainwp_updates_help_item +- [`mainwp_updates_hide_show_updates_per`](updates-maintenance/index.md#mainwp_updates_hide_show_updates_per) - Renders header tabs +- [`mainwp_updates_overview_after_abandoned_plugins_themes`](updates-maintenance/index.md#mainwp_updates_overview_after_abandoned_plugins_themes) - Action: mainwp_updates_overview_after_abandoned_plugins_themes +- [`mainwp_updates_overview_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_plugin_updates) - Action: mainwp_updates_overview_after_plugin_updates +- [`mainwp_updates_overview_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_theme_updates) - Action: mainwp_updates_overview_after_theme_updates +- [`mainwp_updates_overview_after_total_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_total_updates) - Action: mainwp_updates_overview_after_total_updates +- [`mainwp_updates_overview_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_translation_updates) - Action: mainwp_updates_overview_after_translation_updates +- [`mainwp_updates_overview_after_update_details`](updates-maintenance/index.md#mainwp_updates_overview_after_update_details) - Action: mainwp_updates_overview_after_update_details +- [`mainwp_updates_overview_after_wordpress_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_wordpress_updates) - Action: mainwp_updates_overview_after_wordpress_updates +- [`mainwp_updates_overview_before_abandoned_plugins_themes`](updates-maintenance/index.md#mainwp_updates_overview_before_abandoned_plugins_themes) - Action: mainwp_updates_overview_before_abandoned_plugins_themes +- [`mainwp_updates_overview_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_plugin_updates) - Action: mainwp_updates_overview_before_plugin_updates +- [`mainwp_updates_overview_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_theme_updates) - Action: mainwp_updates_overview_before_theme_updates +- [`mainwp_updates_overview_before_total_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_total_updates) - Action: mainwp_updates_overview_before_total_updates +- [`mainwp_updates_overview_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_translation_updates) - Action: mainwp_updates_overview_before_translation_updates +- [`mainwp_updates_overview_before_update_details`](updates-maintenance/index.md#mainwp_updates_overview_before_update_details) - Action: mainwp_updates_overview_before_update_details +- [`mainwp_updates_overview_before_wordpress_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_wordpress_updates) - Action: mainwp_updates_overview_before_wordpress_updates +- [`mainwp_updates_overview_widget_title`](updates-maintenance/index.md#mainwp_updates_overview_widget_title) - *Arguments* +- [`mainwp_updates_pergroup_after_abandoned_plugins`](site-management/index.md#mainwp_updates_pergroup_after_abandoned_plugins) - Action: mainwp_updates_pergroup_after_abandoned_plugins +- [`mainwp_updates_pergroup_after_abandoned_themes`](site-management/index.md#mainwp_updates_pergroup_after_abandoned_themes) - Action: mainwp_updates_pergroup_after_abandoned_themes +- [`mainwp_updates_pergroup_after_plugin_updates`](site-management/index.md#mainwp_updates_pergroup_after_plugin_updates) - Action: mainwp_updates_pergroup_after_plugin_updates +- [`mainwp_updates_pergroup_after_theme_updates`](site-management/index.md#mainwp_updates_pergroup_after_theme_updates) - Action: mainwp_updates_pergroup_after_theme_updates +- [`mainwp_updates_pergroup_after_translation_updates`](site-management/index.md#mainwp_updates_pergroup_after_translation_updates) - Action: mainwp_updates_pergroup_after_translation_updates +- [`mainwp_updates_pergroup_after_wp_updates`](site-management/index.md#mainwp_updates_pergroup_after_wp_updates) - Action: mainwp_updates_pergroup_after_wp_updates +- [`mainwp_updates_pergroup_before_abandoned_plugins`](site-management/index.md#mainwp_updates_pergroup_before_abandoned_plugins) - Action: mainwp_updates_pergroup_before_abandoned_plugins +- [`mainwp_updates_pergroup_before_abandoned_themes`](site-management/index.md#mainwp_updates_pergroup_before_abandoned_themes) - Action: mainwp_updates_pergroup_before_abandoned_themes +- [`mainwp_updates_pergroup_before_plugin_updates`](site-management/index.md#mainwp_updates_pergroup_before_plugin_updates) - Action: mainwp_updates_pergroup_before_plugin_updates +- [`mainwp_updates_pergroup_before_theme_updates`](site-management/index.md#mainwp_updates_pergroup_before_theme_updates) - Action: mainwp_updates_pergroup_before_theme_updates +- [`mainwp_updates_pergroup_before_translation_updates`](site-management/index.md#mainwp_updates_pergroup_before_translation_updates) - Action: mainwp_updates_pergroup_before_translation_updates +- [`mainwp_updates_pergroup_before_wp_updates`](site-management/index.md#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_pergroup_before_wp_updates +- [`mainwp_updates_pergroup_before_wp_updates`](site-management/index.md#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_persite_before_wp_updates +- [`mainwp_updates_perplugin_after_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_perplugin_after_abandoned_plugins) - Action: mainwp_updates_perplugin_after_abandoned_plugins +- [`mainwp_updates_perplugin_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_perplugin_after_plugin_updates) - Action: mainwp_updates_perplugin_after_plugin_updates +- [`mainwp_updates_perplugin_before_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_perplugin_before_abandoned_plugins) - Action: mainwp_updates_perplugin_before_abandoned_plugins +- [`mainwp_updates_perplugin_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_perplugin_before_plugin_updates) - Action: mainwp_updates_perplugin_before_plugin_updates +- [`mainwp_updates_persite_after_abandoned_plugins`](site-management/index.md#mainwp_updates_persite_after_abandoned_plugins) - Action: mainwp_updates_persite_after_abandoned_plugins +- [`mainwp_updates_persite_after_abandoned_themes`](site-management/index.md#mainwp_updates_persite_after_abandoned_themes) - Action: mainwp_updates_persite_after_abandoned_themes +- [`mainwp_updates_persite_after_plugin_updates`](site-management/index.md#mainwp_updates_persite_after_plugin_updates) - Action: mainwp_updates_persite_after_plugin_updates +- [`mainwp_updates_persite_after_theme_updates`](site-management/index.md#mainwp_updates_persite_after_theme_updates) - Action: mainwp_updates_persite_after_theme_updates +- [`mainwp_updates_persite_after_translation_updates`](site-management/index.md#mainwp_updates_persite_after_translation_updates) - Action: mainwp_updates_persite_after_translation_updates +- [`mainwp_updates_persite_after_wp_updates`](site-management/index.md#mainwp_updates_persite_after_wp_updates) - Action: mainwp_updates_persite_after_wp_updates +- [`mainwp_updates_persite_before_abandoned_plugins`](site-management/index.md#mainwp_updates_persite_before_abandoned_plugins) - Action: mainwp_updates_persite_before_abandoned_plugins +- [`mainwp_updates_persite_before_abandoned_themes`](site-management/index.md#mainwp_updates_persite_before_abandoned_themes) - Action: mainwp_updates_persite_before_abandoned_themes +- [`mainwp_updates_persite_before_plugin_updates`](site-management/index.md#mainwp_updates_persite_before_plugin_updates) - Action: mainwp_updates_persite_before_plugin_updates +- [`mainwp_updates_persite_before_theme_updates`](site-management/index.md#mainwp_updates_persite_before_theme_updates) - Action: mainwp_updates_persite_before_theme_updates +- [`mainwp_updates_persite_before_translation_updates`](site-management/index.md#mainwp_updates_persite_before_translation_updates) - Action: mainwp_updates_persite_before_translation_updates +- [`mainwp_updates_pertheme_after_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_pertheme_after_abandoned_themes) - Action: mainwp_updates_pertheme_after_abandoned_themes +- [`mainwp_updates_pertheme_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_pertheme_after_theme_updates) - Action: mainwp_updates_pertheme_after_theme_updates +- [`mainwp_updates_pertheme_before_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_pertheme_before_abandoned_themes) - Action: mainwp_updates_pertheme_before_abandoned_themes +- [`mainwp_updates_pertheme_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_pertheme_before_theme_updates) - Action: mainwp_updates_pertheme_before_theme_updates +- [`mainwp_updates_pertranslation_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_pertranslation_after_translation_updates) - Action: mainwp_updates_pertranslation_after_translation_updates +- [`mainwp_updates_pertranslation_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_pertranslation_before_translation_updates) - Action: mainwp_updates_pertranslation_before_translation_updates +- [`mainwp_updates_plugins_sort_by`](updates-maintenance/index.md#mainwp_updates_plugins_sort_by) - Filter: mainwp_updates_plugins_sort_by +- [`mainwp_updates_table_columns_header`](updates-maintenance/index.md#mainwp_updates_table_columns_header) - Get column info. +- [`mainwp_updates_table_features`](updates-maintenance/index.md#mainwp_updates_table_features) - Filter: mainwp_updates_table_features +- [`mainwp_updates_table_header_content`](updates-maintenance/index.md#mainwp_updates_table_header_content) - Echo the column headers. +- [`mainwp_updates_table_row_columns`](updates-maintenance/index.md#mainwp_updates_table_row_columns) - Echo columns. +- [`mainwp_updates_themes_sort_by`](updates-maintenance/index.md#mainwp_updates_themes_sort_by) - Filter: mainwp_updates_themes_sort_by +- [`mainwp_updates_translation_sort_by`](updates-maintenance/index.md#mainwp_updates_translation_sort_by) - Filter: mainwp_updates_translation_sort_by +- [`mainwp_updatescheck_hours_interval`](updates-maintenance/index.md#mainwp_updatescheck_hours_interval) - Filter: mainwp_updatescheck_hours_interval +- [`mainwp_updatescheck_sendmail_at_time`](updates-maintenance/index.md#mainwp_updatescheck_sendmail_at_time) - Filter: mainwp_updatescheck_sendmail_at_time +- [`mainwp_updatescheck_sendmail_for_each_auto_sync_finished`](site-management/index.md#mainwp_updatescheck_sendmail_for_each_auto_sync_finished) - Method cron_updates_check() +- [`mainwp_updatesoverview_widget_bottom`](updates-maintenance/index.md#mainwp_updatesoverview_widget_bottom) - Action: mainwp_updatesoverview_widget_bottom +- [`mainwp_updatewebsiteoptions`](site-management/index.md#mainwp_updatewebsiteoptions) - Method update_website_option(). +- [`mainwp_uptime_monitoring_after_check_uptime`](security-monitoring/index.md#mainwp_uptime_monitoring_after_check_uptime) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_allowed_methods`](security-monitoring/index.md#mainwp_uptime_monitoring_allowed_methods) - Method get_allowed_methods +- [`mainwp_uptime_monitoring_check_importance`](security-monitoring/index.md#mainwp_uptime_monitoring_check_importance) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_check_url`](security-monitoring/index.md#mainwp_uptime_monitoring_check_url) - Get apply monitor url. +- [`mainwp_uptime_monitoring_email_footer`](security-monitoring/index.md#mainwp_uptime_monitoring_email_footer) - Uptime Monitoring Email Footer +- [`mainwp_uptime_monitoring_email_header`](security-monitoring/index.md#mainwp_uptime_monitoring_email_header) - Uptime Monitoring Email Header +- [`mainwp_uptime_monitoring_get_monitors_to_check_params`](security-monitoring/index.md#mainwp_uptime_monitoring_get_monitors_to_check_params) - Get sites monitors to check. +- [`mainwp_uptime_monitoring_interval_values`](security-monitoring/index.md#mainwp_uptime_monitoring_interval_values) - Method get_interval_values +- [`mainwp_uptime_monitoring_response_time_widget_title`](security-monitoring/index.md#mainwp_uptime_monitoring_response_time_widget_title) - *Arguments* +- [`mainwp_uptime_monitoring_send_notification_limit`](security-monitoring/index.md#mainwp_uptime_monitoring_send_notification_limit) - Run schedule uptime notification. +- [`mainwp_uptime_monitoring_status_widget_title`](security-monitoring/index.md#mainwp_uptime_monitoring_status_widget_title) - *Arguments* +- [`mainwp_uptime_monitoring_timeout_values`](security-monitoring/index.md#mainwp_uptime_monitoring_timeout_values) - Method get_timeout_values +- [`mainwp_uptime_monitoring_update_monitor_data`](updates-maintenance/index.md#mainwp_uptime_monitoring_update_monitor_data) - Method handle_save_settings +- [`mainwp_uptime_monitoring_uptime_data`](security-monitoring/index.md#mainwp_uptime_monitoring_uptime_data) - Method handle response fetch uptime. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after user action. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after new user action. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after update admin password action. +- [`mainwp_users_actions_bar_left`](user-management/index.md#mainwp_users_actions_bar_left) - Users actions bar (left) +- [`mainwp_users_actions_bar_right`](user-management/index.md#mainwp_users_actions_bar_right) - Users actions bar (right) +- [`mainwp_users_bulk_action`](user-management/index.md#mainwp_users_bulk_action) - Action: mainwp_users_bulk_action +- [`mainwp_users_help_item`](user-management/index.md#mainwp_users_help_item) - Action: mainwp_users_help_item +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders manage users dashboard. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders Edit Users Modal window. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders the Add New user form. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Method do_bulk_add() +- [`mainwp_users_table_action`](user-management/index.md#mainwp_users_table_action) - Action: mainwp_users_table_action +- [`mainwp_users_table_column`](user-management/index.md#mainwp_users_table_column) - Renders Search results. +- [`mainwp_users_table_fatures`](user-management/index.md#mainwp_users_table_fatures) - Renders Users Table. +- [`mainwp_users_table_header`](user-management/index.md#mainwp_users_table_header) - Renders Users Table. +- [`mainwp_website_before_updated`](site-management/index.md#mainwp_website_before_updated) - Action: mainwp_website_before_updated +- [`mainwp_website_updated`](site-management/index.md#mainwp_website_updated) - Action: mainwp_website_updated +- [`mainwp_widget_boxes_show_widgets`](ui-display/index.md#mainwp_widget_boxes_show_widgets) - Method do_widget_boxes() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_callback() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_count_callback() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method render() +- [`mainwp_widget_updates_actions_top`](updates-maintenance/index.md#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_widget_updates_actions_top`](updates-maintenance/index.md#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_widgets_chart_date_format`](ui-display/index.md#mainwp_widgets_chart_date_format) - Prepare response time for ui chart data. +- [`mainwp_widgets_screen_options`](ui-display/index.md#mainwp_widgets_screen_options) - Filter: mainwp_widgets_screen_options +- [`mainwp_wordfence_sites`](site-management/index.md#mainwp_wordfence_sites) - Action: mainwp_wordfence_sites +- [`minwp_notification_template_copy_message`](ui-display/index.md#minwp_notification_template_copy_message) - Use mainwp_notification_template_copy_message instead. +- [`plesk_api_form_bottom`](api-remote/index.md#plesk_api_form_bottom) - Action: plesk_api_form_bottom +- [`plesk_api_form_top`](api-remote/index.md#plesk_api_form_top) - Action: plesk_api_form_top +- [`postmeta_form_keys`](content-management/index.md#postmeta_form_keys) - Filters values for the meta key dropdown in the Custom Fields meta box. +- [`postmeta_form_limit`](content-management/index.md#postmeta_form_limit) - +- [`redirect_post_location`](content-management/index.md#redirect_post_location) - Filter: redirect_post_location +- [`rest_api_form_bottom`](api-remote/index.md#rest_api_form_bottom) - Action: rest_api_form_bottom +- [`rest_api_form_top`](api-remote/index.md#rest_api_form_top) - Action: rest_api_form_top +- [`time_formats`](content-management/index.md#time_formats) - *Arguments* +- [`vultr_api_form_bottom`](api-remote/index.md#vultr_api_form_bottom) - Action: vultr_api_form_bottom +- [`vultr_api_form_top`](api-remote/index.md#vultr_api_form_top) - Action: vultr_api_form_top +- [`{$filter}`](ui-display/index.md#filter) - Method apply_filter() diff --git a/mainwp-hooks-old/dashboard/actions/security-monitoring/index.md b/mainwp-hooks-old/dashboard/actions/security-monitoring/index.md new file mode 100644 index 0000000..32e125f --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/security-monitoring/index.md @@ -0,0 +1,891 @@ +# Security & Monitoring Actions + +Hooks related to security checks, uptime monitoring, and site health. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_uptime_monitoring_after_check_uptime`](#mainwp_uptime_monitoring_after_check_uptime) - Method handle response fetch uptime. +- [`mainwp_monitoring_sitestable_prepared_items`](#mainwp_monitoring_sitestable_prepared_items) - Action: mainwp_monitoring_sitestable_prepared_items +- [`mainwp-securityissues-sites`](#mainwp-securityissues-sites) - Method render_scan_site() +- [`mainwp_securityissues_sites`](#mainwp_securityissues_sites) - Action: mainwp_securityissues_sites +- [`mainwp-sucuriscan-sites`](#mainwp-sucuriscan-sites) - Method render_scan_site() +- [`mainwp_sucuriscan_sites`](#mainwp_sucuriscan_sites) - Action: mainwp_sucuriscan_sites +- [`mainwp_licenses_deactivated_alert_email_header`](#mainwp_licenses_deactivated_alert_email_header) - Site Health Monitoring Email Header +- [`mainwp_licenses_deactivated_alert_email_footer`](#mainwp_licenses_deactivated_alert_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_http_check_email_header`](#mainwp_http_check_email_header) - HTTP Check Email Header +- [`mainwp_http_check_email_footer`](#mainwp_http_check_email_footer) - HTTP Check Email Footer +- [`mainwp_uptime_monitoring_email_header`](#mainwp_uptime_monitoring_email_header) - Uptime Monitoring Email Header +- [`mainwp_uptime_monitoring_email_footer`](#mainwp_uptime_monitoring_email_footer) - Uptime Monitoring Email Footer +- [`mainwp_secure_request`](#mainwp_secure_request) - Method security_nonce(). +- [`mainwp_secure_request`](#mainwp_secure_request) - Method admin_init() +- [`mainwp_before_system_requirements_check`](#mainwp_before_system_requirements_check) - Action: mainwp_before_system_requirements_check +- [`mainwp_after_system_requirements_check`](#mainwp_after_system_requirements_check) - Action: mainwp_after_system_requirements_check +- [`mainwp_security_issues_widget_top`](#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_widget_top`](#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_list_item_column`](#mainwp_security_issues_list_item_column) - Action: mainwp_security_issues_list_item_column +- [`mainwp_security_issues_widget_bottom`](#mainwp_security_issues_widget_bottom) - Action: mainwp_security_issues_widget_bottom +- [`mainwp_security_nonces`](#mainwp_security_nonces) - Method admin_init() +- [`mainwp_create_security_nonces`](#mainwp_create_security_nonces) - Create the security nonces. +- [`mainwp_logger_keep_days`](#mainwp_logger_keep_days) - Method check_log_daily() +- [`mainwp_fetch_uptime_disable_check_multi_exec`](#mainwp_fetch_uptime_disable_check_multi_exec) - Apply disable check multi exec. +- [`mainwp_fetch_uptime_chunk_size_urls`](#mainwp_fetch_uptime_chunk_size_urls) - Check uptime monitors. +- [`mainwp_fetch_uptime_chunk_size_urls`](#mainwp_fetch_uptime_chunk_size_urls) - Fetch uptime urls. +- [`mainwp_uptime_monitoring_check_importance`](#mainwp_uptime_monitoring_check_importance) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_uptime_data`](#mainwp_uptime_monitoring_uptime_data) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_check_url`](#mainwp_uptime_monitoring_check_url) - Get apply monitor url. +- [`mainwp_uptime_monitoring_get_monitors_to_check_params`](#mainwp_uptime_monitoring_get_monitors_to_check_params) - Get sites monitors to check. +- [`mainwp_security_issues_stats`](#mainwp_security_issues_stats) - This filter is documented in ../pages/page-mainwp-security-issues.php +- [`mainwp_monitoring_sitestable_item`](#mainwp_monitoring_sitestable_item) - Filter: mainwp_monitoring_sitestable_item +- [`mainwp_monitoring_sitestable_getcolumns`](#mainwp_monitoring_sitestable_getcolumns) - Filter: mainwp_monitoring_sitestable_getcolumns +- [`mainwp_monitoring_sitestable_prepare_extra_view`](#mainwp_monitoring_sitestable_prepare_extra_view) - Prepair the items to be listed. +- [`mainwp_monitoring_table_features`](#mainwp_monitoring_table_features) - Filter: mainwp_monitoring_table_features +- [`mainwp_stats_scan_dir`](#mainwp_stats_scan_dir) - Method get_post_data_authed() +- [`mainwp_uptime_monitoring_allowed_methods`](#mainwp_uptime_monitoring_allowed_methods) - Method get_allowed_methods +- [`mainwp_uptime_monitoring_interval_values`](#mainwp_uptime_monitoring_interval_values) - Method get_interval_values +- [`mainwp_uptime_monitoring_timeout_values`](#mainwp_uptime_monitoring_timeout_values) - Method get_timeout_values +- [`mainwp_automatic_disable_uptime_monitoring_check`](#mainwp_automatic_disable_uptime_monitoring_check) - Method cron_uptime_check +- [`mainwp_uptime_monitoring_send_notification_limit`](#mainwp_uptime_monitoring_send_notification_limit) - Run schedule uptime notification. +- [`mainwp_module_log_check_connector_is_excluded`](#mainwp_module_log_check_connector_is_excluded) - Allows excluded connectors to be overridden and registered. +- [`mainwp_module_cost_tracker_manager_check_status`](#mainwp_module_cost_tracker_manager_check_status) - *Arguments* +- [`mainwp_security_issues_stats`](#mainwp_security_issues_stats) - Filters security issues +- [`mainwp_unset_security_scripts_stylesheets`](#mainwp_unset_security_scripts_stylesheets) - Method Fix Security Issues +- [`mainwp_uptime_monitoring_response_time_widget_title`](#mainwp_uptime_monitoring_response_time_widget_title) - *Arguments* +- [`mainwp_security_issues_widget_title`](#mainwp_security_issues_widget_title) - *Arguments* +- [`mainwp_security_issues_list_item_title_url`](#mainwp_security_issues_list_item_title_url) - *Arguments* +- [`mainwp_security_issues_list_item_title`](#mainwp_security_issues_list_item_title) - *Arguments* +- [`mainwp_uptime_monitoring_status_widget_title`](#mainwp_uptime_monitoring_status_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_uptime_monitoring_after_check_uptime` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$heartbeat` | | +`$monitor` | `mixed` | monitor. +`$previous_heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L885) + + + +### `mainwp_monitoring_sitestable_prepared_items` + +*Action: mainwp_monitoring_sitestable_prepared_items* + +Fires before the Monitoring Sites table itemes are prepared. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites data. +`$site_ids` | `array` | Array containing IDs of all child sites. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 626](class/class-mainwp-monitoring-sites-list-table.php#L626-L636) + + + +### `mainwp-securityissues-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_securityissues_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L773) + + + +### `mainwp_securityissues_sites` + +*Action: mainwp_securityissues_sites* + +Fires on a child site Hardening page at top. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 775](class/class-mainwp-manage-sites-view.php#L775-L786) + + + +### `mainwp-sucuriscan-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_sucuriscan_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L793) + + + +### `mainwp_sucuriscan_sites` + +*Action: mainwp_sucuriscan_sites* + +Fires on a child site Hardening page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 795](class/class-mainwp-manage-sites-view.php#L795-L806) + + + +### `mainwp_licenses_deactivated_alert_email_header` + +*Site Health Monitoring Email Header* + +Fires at the top of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-licenses-deactivated-alert-email.php](templates/emails/mainwp-licenses-deactivated-alert-email.php), [line 31](templates/emails/mainwp-licenses-deactivated-alert-email.php#L31-L38) + + + +### `mainwp_licenses_deactivated_alert_email_footer` + +*Site Health Monitoring Email Footer* + +Fires at the bottom of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-licenses-deactivated-alert-email.php](templates/emails/mainwp-licenses-deactivated-alert-email.php), [line 97](templates/emails/mainwp-licenses-deactivated-alert-email.php#L97-L104) + + + +### `mainwp_http_check_email_header` + +*HTTP Check Email Header* + +Fires at the top of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-after-update-http-check-email.php](templates/emails/mainwp-after-update-http-check-email.php), [line 29](templates/emails/mainwp-after-update-http-check-email.php#L29-L36) + + + +### `mainwp_http_check_email_footer` + +*HTTP Check Email Footer* + +Fires at the bottom of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-after-update-http-check-email.php](templates/emails/mainwp-after-update-http-check-email.php), [line 94](templates/emails/mainwp-after-update-http-check-email.php#L94-L101) + + + +### `mainwp_uptime_monitoring_email_header` + +*Uptime Monitoring Email Header* + +Fires at the top of the uptime monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-uptime-monitoring-email.php](templates/emails/mainwp-uptime-monitoring-email.php), [line 32](templates/emails/mainwp-uptime-monitoring-email.php#L32-L39) + + + +### `mainwp_uptime_monitoring_email_footer` + +*Uptime Monitoring Email Footer* + +Fires at the bottom of the uptime monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-uptime-monitoring-email.php](templates/emails/mainwp-uptime-monitoring-email.php), [line 144](templates/emails/mainwp-uptime-monitoring-email.php#L144-L151) + + + +### `mainwp_secure_request` + +*Method security_nonce().* + +Handle security nonce. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | `string` | security action. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 134](modules/api-backups/classes/class-api-backups-helper.php#L134-L143) + + + +### `mainwp_secure_request` + +*Method admin_init()* + +Handles the uploading of a file. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'qq_nonce'` | | +`'qq_nonce'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 42](pages/page-mainwp-install-bulk.php#L42-L52) + + + +### `mainwp_before_system_requirements_check` + +*Action: mainwp_before_system_requirements_check* + +Fires on the bottom of the System Requirements page, in Quick Setup Wizard. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 911](pages/page-mainwp-server-information.php#L911-L918) + + + +### `mainwp_after_system_requirements_check` + +*Action: mainwp_after_system_requirements_check* + +Fires on the bottom of the System Requirements page, in Quick Setup Wizard. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 973](pages/page-mainwp-server-information.php#L973-L980) + + + +### `mainwp_security_issues_widget_top` + +*Action: mainwp_security_issues_widget_top* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 166](widgets/widget-mainwp-security-issues-widget.php#L166-L173) + + + +### `mainwp_security_issues_widget_top` + +*Action: mainwp_security_issues_widget_top* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 178](widgets/widget-mainwp-security-issues-widget.php#L178-L185) + + + +### `mainwp_security_issues_list_item_column` + +*Action: mainwp_security_issues_list_item_column* + +Fires before the last (actions) colum in the security issues list. + +Preferred HTML structure: + +
+Your content here! +
+ +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 248](widgets/widget-mainwp-security-issues-widget.php#L248-L263) + + + +### `mainwp_security_issues_widget_bottom` + +*Action: mainwp_security_issues_widget_bottom* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 271](widgets/widget-mainwp-security-issues-widget.php#L271-L278) + + + +### `mainwp_security_nonces` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L864) + + + +### `mainwp_create_security_nonces` + +*Create the security nonces.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$security_names` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-base-handler.php](class/class-mainwp-post-base-handler.php), [line 140](class/class-mainwp-post-base-handler.php#L140-L150) + + + +### `mainwp_logger_keep_days` + +*Method check_log_daily()* + +Daily checks to clear the log file. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`7` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 749](class/class-mainwp-logger.php#L749-L763) + + + +### `mainwp_fetch_uptime_disable_check_multi_exec` + +*Apply disable check multi exec.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 61](class/class-mainwp-uptime-monitoring-connect.php#L61-L66) + + + +### `mainwp_fetch_uptime_chunk_size_urls` + +*Check uptime monitors.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 88](class/class-mainwp-uptime-monitoring-connect.php#L88-L97) + + + +### `mainwp_fetch_uptime_chunk_size_urls` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L375) + + + +### `mainwp_uptime_monitoring_check_importance` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$importance` | | +`$heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L845) + + + +### `mainwp_uptime_monitoring_uptime_data` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$heartbeat` | | +`$monitor` | `mixed` | monitor. +`$previous_heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L849) + + + +### `mainwp_uptime_monitoring_check_url` + +*Get apply monitor url.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$url` | | +`$monitor` | `mixed` | monitor. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 1008](class/class-mainwp-uptime-monitoring-connect.php#L1008-L1038) + + + +### `mainwp_uptime_monitoring_get_monitors_to_check_params` + +*Get sites monitors to check.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | params. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-uptime-monitoring.php](class/class-mainwp-db-uptime-monitoring.php), [line 418](class/class-mainwp-db-uptime-monitoring.php#L418-L427) + + + +### `mainwp_security_issues_stats` + +*This filter is documented in ../pages/page-mainwp-security-issues.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$securityStats` | | +`$pWebsite` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 366](class/class-mainwp-sync.php#L366-L367) + + + +### `mainwp_monitoring_sitestable_item` + +*Filter: mainwp_monitoring_sitestable_item* + +Filters the Monitoring Sites table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$item` | `array` | Array containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 99](class/class-mainwp-monitoring-sites-list-table.php#L99-L108) + + + +### `mainwp_monitoring_sitestable_getcolumns` + +*Filter: mainwp_monitoring_sitestable_getcolumns* + +Filters the Monitoring Sites table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 185](class/class-mainwp-monitoring-sites-list-table.php#L185-L194) + + + +### `mainwp_monitoring_sitestable_prepare_extra_view` + +*Prepair the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('favi_icon', 'health_site_status')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 409](class/class-mainwp-monitoring-sites-list-table.php#L409-L616) + + + +### `mainwp_monitoring_table_features` + +*Filter: mainwp_monitoring_table_features* + +Filter the Monitoring table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 722](class/class-mainwp-monitoring-sites-list-table.php#L722-L729) + + + +### `mainwp_stats_scan_dir` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `mixed` | Array of Child Site Info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L427) + + + +### `mainwp_uptime_monitoring_allowed_methods` + +*Method get_allowed_methods* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('useglobal' => esc_html__('Use global settings', 'mainwp'), 'head' => 'HEAD', 'get' => 'GET', 'post' => 'POST', 'push' => 'PUSH', 'patch' => 'PATCH', 'delete' => 'DELETE')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 708](class/class-mainwp-uptime-monitoring-edit.php#L708-L727) + + + +### `mainwp_uptime_monitoring_interval_values` + +*Method get_interval_values* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | | +`$flip_values` | `mixed` | flip values. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 737](class/class-mainwp-uptime-monitoring-edit.php#L737-L766) + + + +### `mainwp_uptime_monitoring_timeout_values` + +*Method get_timeout_values* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | | +`$flip_values` | `mixed` | flip values. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 770](class/class-mainwp-uptime-monitoring-edit.php#L770-L808) + + + +### `mainwp_automatic_disable_uptime_monitoring_check` + +*Method cron_uptime_check* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-schedule.php](class/class-mainwp-uptime-monitoring-schedule.php), [line 67](class/class-mainwp-uptime-monitoring-schedule.php#L67-L74) + + + +### `mainwp_uptime_monitoring_send_notification_limit` + +*Run schedule uptime notification.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-schedule.php](class/class-mainwp-uptime-monitoring-schedule.php), [line 173](class/class-mainwp-uptime-monitoring-schedule.php#L173-L214) + + + +### `mainwp_module_log_check_connector_is_excluded` + +*Allows excluded connectors to be overridden and registered.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$is_excluded` | `bool` | True if excluded, otherwise false. +`$connector_name` | | +`$excluded_connectors` | `array` | An array of all excluded connector slugs. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 148](modules/logs/classes/class-log-connectors.php#L148-L155) + + + +### `mainwp_module_cost_tracker_manager_check_status` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-settings.php](modules/cost-tracker/pages/page-cost-tracker-settings.php), [line 348](modules/cost-tracker/pages/page-cost-tracker-settings.php#L348-L348) + + + +### `mainwp_security_issues_stats` + +*Filters security issues* + +Filters the default security checks and enables user to disable certain checks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$information` | `object` | Object containing data from che chid site related to security issues.
Available options: 'db_reporting', 'php_reporting'. +`$website` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 293](pages/page-mainwp-security-issues.php#L293-L305) + + + +### `mainwp_unset_security_scripts_stylesheets` + +*Method Fix Security Issues* + +Fix the selected security issue. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 312](pages/page-mainwp-security-issues.php#L312-L366) + + + +### `mainwp_uptime_monitoring_response_time_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Uptime Monitoring', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-site-widget.php](widgets/widget-mainwp-uptime-monitoring-site-widget.php), [line 190](widgets/widget-mainwp-uptime-monitoring-site-widget.php#L190-L190) + + + +### `mainwp_security_issues_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Site Hardening', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 98](widgets/widget-mainwp-security-issues-widget.php#L98-L98) + + + +### `mainwp_security_issues_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 225](widgets/widget-mainwp-security-issues-widget.php#L225-L225) + + + +### `mainwp_security_issues_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 236](widgets/widget-mainwp-security-issues-widget.php#L236-L236) + + + +### `mainwp_uptime_monitoring_status_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Uptime Monitoring', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-status.php](widgets/widget-mainwp-uptime-monitoring-status.php), [line 51](widgets/widget-mainwp-uptime-monitoring-status.php#L51-L51) + + + diff --git a/mainwp-hooks-old/dashboard/actions/site-management/index.md b/mainwp-hooks-old/dashboard/actions/site-management/index.md new file mode 100644 index 0000000..062b9d0 --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/site-management/index.md @@ -0,0 +1,3862 @@ +# Site Management Actions + +Hooks related to adding, editing, removing, and managing sites and site groups. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_delete_site`](#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_after_notice_sites_uptime_monitoring_admin`](#mainwp_after_notice_sites_uptime_monitoring_admin) - Basic site uptime monitoring. +- [`mainwp_after_notice_sites_uptime_monitoring_individual`](#mainwp_after_notice_sites_uptime_monitoring_individual) - Basic site uptime monitoring. +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a tag has been deleted. +- [`mainwp_ga_delete_site`](#mainwp_ga_delete_site) - Action: mainwp_ga_delete_site +- [`mainwp_after_sync_site_success`](#mainwp_after_sync_site_success) - Fires immediately after website synced successfully. +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_managesite_backup`](#mainwp_managesite_backup) - Method backup() +- [`mainwp_before_select_sites_filters`](#mainwp_before_select_sites_filters) - Action: mainwp_before_select_sites_filters +- [`mainwp_after_select_sites_filters`](#mainwp_after_select_sites_filters) - Action: mainwp_after_select_sites_filters +- [`mainwp_before_select_sites_list`](#mainwp_before_select_sites_list) - Action: mainwp_before_select_sites_list +- [`mainwp_after_select_sites_list`](#mainwp_after_select_sites_list) - Action: mainwp_after_select_sites_list +- [`mainwp_before_select_groups_list`](#mainwp_before_select_groups_list) - Action: mainwp_before_select_groups_list +- [`mainwp_after_select_groups_list`](#mainwp_after_select_groups_list) - Action: mainwp_after_select_groups_list +- [`mainwp_quick_sites_shortcut`](#mainwp_quick_sites_shortcut) - Action: mainwp_quick_sites_shortcut +- [`mainwp_before_header`](#mainwp_before_header) - Action: mainwp_before_header +- [`mainwp_after_header`](#mainwp_after_header) - Action: mainwp_after_header +- [`mainwp_managesites_tabletop`](#mainwp_managesites_tabletop) - Action: mainwp_managesites_tabletop +- [`mainwp_before_edit_site_note`](#mainwp_before_edit_site_note) - Action: mainwp_before_edit_site_note +- [`mainwp_after_edit_site_note`](#mainwp_after_edit_site_note) - Action: mainwp_after_edit_site_note +- [`mainwp-site-synced`](#mainwp-site-synced) - Method sync_information_array() +- [`mainwp_site_synced`](#mainwp_site_synced) - Action: mainwp_site_synced +- [`mainwp_site_sync`](#mainwp_site_sync) - Action: mainwp_site_sync +- [`mainwp_before_manage_sites_table`](#mainwp_before_manage_sites_table) - Action: mainwp_before_manage_sites_table +- [`mainwp_after_manage_sites_table`](#mainwp_after_manage_sites_table) - Action: mainwp_after_manage_sites_table +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_action`](#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_action`](#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_sync_popup_content`](#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_popup_content`](#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_synced_all_sites`](#mainwp_synced_all_sites) - Method cron_updates_check() +- [`mainwp_daily_digest_action`](#mainwp_daily_digest_action) - Action: mainwp_daily_digest_action +- [`mainwp_website_before_updated`](#mainwp_website_before_updated) - Action: mainwp_website_before_updated +- [`mainwp_fetch_url_authed`](#mainwp_fetch_url_authed) - Fires immediately after fetch url action. +- [`mainwp_website_updated`](#mainwp_website_updated) - Action: mainwp_website_updated +- [`mainwp-wordfence-sites`](#mainwp-wordfence-sites) - Method render_scan_site() +- [`mainwp_wordfence_sites`](#mainwp_wordfence_sites) - Action: mainwp_wordfence_sites +- [`mainwp-manage-sites-edit`](#mainwp-manage-sites-edit) - Method render_edit_site() +- [`mainwp-extension-sites-edit`](#mainwp-extension-sites-edit) - Method render_edit_site() +- [`mainwp_manage_sites_edit`](#mainwp_manage_sites_edit) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_extension_sites_edit_tablerow`](#mainwp_extension_sites_edit_tablerow) - Method render_edit_site() +- [`mainwp_manage_sites_email_settings`](#mainwp_manage_sites_email_settings) - Action: mainwp_manage_sites_email_settings +- [`mainwp_site_reconnected`](#mainwp_site_reconnected) - Fires immediately after reconnect website. +- [`mainwp_site_added`](#mainwp_site_added) - Fires immediately after a new website is added. +- [`mainwp_added_new_site`](#mainwp_added_new_site) - New site added +- [`mainwp_synced_all_sites`](#mainwp_synced_all_sites) - Action: mainwp_synced_all_sites +- [`mainwp_site_health_monitoring_email_header`](#mainwp_site_health_monitoring_email_header) - Site Health Monitoring Email Header +- [`mainwp_site_health_monitoring_email_footer`](#mainwp_site_health_monitoring_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_delete_key_file`](#mainwp_delete_key_file) - Method update_compatible_site_api_key +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_sync_site_log_install_actions`](#mainwp_sync_site_log_install_actions) - Method sync_log_site_actions(). +- [`mainwp_select_sites_box`](#mainwp_select_sites_box) - Render settings +- [`mainwp_check_site_result`](#mainwp_check_site_result) - Method check_site() +- [`mainwp_delete_site`](#mainwp_delete_site) - *Arguments* +- [`mainwp_site_deleted`](#mainwp_site_deleted) - *Arguments* +- [`mainwp-manage-sites-edit`](#mainwp-manage-sites-edit) - Method render_new_site_add_new_site() +- [`mainwp_manage_sites_edit`](#mainwp_manage_sites_edit) - Edit site +- [`mainwp_site_updated`](#mainwp_site_updated) - Update site +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Site suspended changed. +- [`mainwp_managesite_schedule_backup`](#mainwp_managesite_schedule_backup) - Execute the backup task. +- [`mainwp_before_groups_table`](#mainwp_before_groups_table) - Action: mainwp_before_groups_table +- [`mainwp_after_groups_table`](#mainwp_after_groups_table) - Action: mainwp_after_groups_table +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_tags_help_item`](#mainwp_tags_help_item) - Action: mainwp_tags_help_item +- [`mainwp_updates_pergroup_before_wp_updates`](#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_pergroup_before_wp_updates +- [`mainwp_updates_pergroup_after_wp_updates`](#mainwp_updates_pergroup_after_wp_updates) - Action: mainwp_updates_pergroup_after_wp_updates +- [`mainwp_updates_pergroup_before_wp_updates`](#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_persite_before_wp_updates +- [`mainwp_updates_persite_after_wp_updates`](#mainwp_updates_persite_after_wp_updates) - Action: mainwp_updates_persite_after_wp_updates +- [`mainwp_updates_persite_before_plugin_updates`](#mainwp_updates_persite_before_plugin_updates) - Action: mainwp_updates_persite_before_plugin_updates +- [`mainwp_updates_persite_after_plugin_updates`](#mainwp_updates_persite_after_plugin_updates) - Action: mainwp_updates_persite_after_plugin_updates +- [`mainwp_updates_pergroup_before_plugin_updates`](#mainwp_updates_pergroup_before_plugin_updates) - Action: mainwp_updates_pergroup_before_plugin_updates +- [`mainwp_updates_pergroup_after_plugin_updates`](#mainwp_updates_pergroup_after_plugin_updates) - Action: mainwp_updates_pergroup_after_plugin_updates +- [`mainwp_updates_persite_before_theme_updates`](#mainwp_updates_persite_before_theme_updates) - Action: mainwp_updates_persite_before_theme_updates +- [`mainwp_updates_persite_after_theme_updates`](#mainwp_updates_persite_after_theme_updates) - Action: mainwp_updates_persite_after_theme_updates +- [`mainwp_updates_pergroup_before_theme_updates`](#mainwp_updates_pergroup_before_theme_updates) - Action: mainwp_updates_pergroup_before_theme_updates +- [`mainwp_updates_pergroup_after_theme_updates`](#mainwp_updates_pergroup_after_theme_updates) - Action: mainwp_updates_pergroup_after_theme_updates +- [`mainwp_updates_persite_before_translation_updates`](#mainwp_updates_persite_before_translation_updates) - Action: mainwp_updates_persite_before_translation_updates +- [`mainwp_updates_persite_after_translation_updates`](#mainwp_updates_persite_after_translation_updates) - Action: mainwp_updates_persite_after_translation_updates +- [`mainwp_updates_pergroup_before_translation_updates`](#mainwp_updates_pergroup_before_translation_updates) - Action: mainwp_updates_pergroup_before_translation_updates +- [`mainwp_updates_pergroup_after_translation_updates`](#mainwp_updates_pergroup_after_translation_updates) - Action: mainwp_updates_pergroup_after_translation_updates +- [`mainwp_updates_persite_before_abandoned_plugins`](#mainwp_updates_persite_before_abandoned_plugins) - Action: mainwp_updates_persite_before_abandoned_plugins +- [`mainwp_updates_persite_after_abandoned_plugins`](#mainwp_updates_persite_after_abandoned_plugins) - Action: mainwp_updates_persite_after_abandoned_plugins +- [`mainwp_updates_pergroup_before_abandoned_plugins`](#mainwp_updates_pergroup_before_abandoned_plugins) - Action: mainwp_updates_pergroup_before_abandoned_plugins +- [`mainwp_updates_pergroup_after_abandoned_plugins`](#mainwp_updates_pergroup_after_abandoned_plugins) - Action: mainwp_updates_pergroup_after_abandoned_plugins +- [`mainwp_updates_persite_before_abandoned_themes`](#mainwp_updates_persite_before_abandoned_themes) - Action: mainwp_updates_persite_before_abandoned_themes +- [`mainwp_updates_persite_after_abandoned_themes`](#mainwp_updates_persite_after_abandoned_themes) - Action: mainwp_updates_persite_after_abandoned_themes +- [`mainwp_updates_pergroup_before_abandoned_themes`](#mainwp_updates_pergroup_before_abandoned_themes) - Action: mainwp_updates_pergroup_before_abandoned_themes +- [`mainwp_updates_pergroup_after_abandoned_themes`](#mainwp_updates_pergroup_after_abandoned_themes) - Action: mainwp_updates_pergroup_after_abandoned_themes +- [`mainwp_added_new_site`](#mainwp_added_new_site) - This action is documented in class\class-mainwp-manage-sites-view.php +- [`mainwp_delete_site`](#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_added_new_group`](#mainwp_added_new_group) - This action is documented in pages\page-mainwp-manage-groups.php +- [`mainwp_site_info_widget_top`](#mainwp_site_info_widget_top) - Actoin: mainwp_site_info_widget_top +- [`mainwp_site_info_table_top`](#mainwp_site_info_table_top) - Action: mainwp_site_info_table_top +- [`mainwp_site_info_table_bottom`](#mainwp_site_info_table_bottom) - Action: mainwp_site_info_table_bottom +- [`mainwp_site_info_widget_bottom`](#mainwp_site_info_widget_bottom) - Action: mainwp_site_info_widget_bottom +- [`mainwp_connection_status_widget_bottom`](#mainwp_connection_status_widget_bottom) - Action: mainwp_connection_status_widget_bottom +- [`mainwp_connection_status_widget_top`](#mainwp_connection_status_widget_top) - Action: mainwp_connection_status_widget_top +- [`mainwp_connection_status_before_all_sites_list`](#mainwp_connection_status_before_all_sites_list) - Action: mainwp_connection_status_before_all_sites_list +- [`mainwp_connection_status_after_all_sites_list`](#mainwp_connection_status_after_all_sites_list) - Action: mainwp_connection_status_after_all_sites_list +- [`mainwp_connection_status_before_connected_sites_list`](#mainwp_connection_status_before_connected_sites_list) - Action: mainwp_connection_status_before_connected_sites_list +- [`mainwp_connection_status_after_connected_sites_list`](#mainwp_connection_status_after_connected_sites_list) - Action: mainwp_connection_status_after_connected_sites_list +- [`mainwp_connection_status_before_disconnected_sites_list`](#mainwp_connection_status_before_disconnected_sites_list) - Action: mainwp_connection_status_before_disconnected_sites_list +- [`mainwp_connection_status_after_disconnected_sites_list`](#mainwp_connection_status_after_disconnected_sites_list) - Action: mainwp_connection_status_after_disconnected_sites_list +- [`mainwp_connection_status_widget_footer_left`](#mainwp_connection_status_widget_footer_left) - Action: mainwp_connection_status_widget_footer_left +- [`mainwp_connection_status_widget_footer_right`](#mainwp_connection_status_widget_footer_right) - Action: mainwp_connection_status_widget_footer_right +- [`mainwp_clients_overview_websites_widget_top`](#mainwp_clients_overview_websites_widget_top) - Actoin: mainwp_clients_overview_websites_widget_top +- [`mainwp_clients_overview_websites_widget_bottom`](#mainwp_clients_overview_websites_widget_bottom) - Action: mainwp_clients_overview_websites_widget_bottom +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_callback() +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_count_callback() +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by tag id. +- [`mainwp_rest_pre_insert_site_item`](#mainwp_rest_pre_insert_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_pre_update_site_item`](#mainwp_rest_pre_update_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Update all items of site. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites of client. +- [`mainwp_cron_bulk_update_sites_limit`](#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_batch_updates() +- [`mainwp_currentuserallowedaccessgroups`](#mainwp_currentuserallowedaccessgroups) - Filter: mainwp_currentuserallowedaccessgroups +- [`mainwp_boilerplate_get_tokens`](#mainwp_boilerplate_get_tokens) - Filter: mainwp_boilerplate_get_tokens +- [`mainwp_pro_reports_get_site_tokens`](#mainwp_pro_reports_get_site_tokens) - Filter: mainwp_pro_reports_get_site_tokens +- [`mainwp_client_report_get_site_tokens`](#mainwp_client_report_get_site_tokens) - Filter: mainwp_client_report_get_site_tokens +- [`mainwp_boilerplate_get_tokens`](#mainwp_boilerplate_get_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_pro_reports_get_site_tokens`](#mainwp_pro_reports_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_client_report_get_site_tokens`](#mainwp_client_report_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_connect_sign_algo`](#mainwp_connect_sign_algo) - Method get_connect_sign_algorithm(). +- [`mainwp_staging_current_user_sites_view`](#mainwp_staging_current_user_sites_view) - Method get_select_staging_view_sites() +- [`mainwp_html_regression_largest_change_scope`](#mainwp_html_regression_largest_change_scope) - Method mainwp_upgrade_plugintheme() +- [`mainwp_log_to_db_priority`](#mainwp_log_to_db_priority) - Method log_to_db() +- [`mainwp_log_do_to_db`](#mainwp_log_do_to_db) - Method log_to_db() +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Method log() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Fetch uptime urls. +- [`mainwp_connect_sites_not_allow_ports`](#mainwp_connect_sites_not_allow_ports) - Method mainwp_testwp() +- [`mainwp_connect_sites_allow_ports`](#mainwp_connect_sites_allow_ports) - Method mainwp_testwp() +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method mainwp_testwp() +- [`mainwp_postprocess_backup_sites_feedback`](#mainwp_postprocess_backup_sites_feedback) - Method backup_site() +- [`mainwp_clone_enabled`](#mainwp_clone_enabled) - Filter: mainwp_clone_enabled +- [`mainwp-sync-others-data`](#mainwp-sync-others-data) - Method sync_site() +- [`mainwp_sync_others_data`](#mainwp_sync_others_data) - Filter: mainwp_sync_others_data +- [`mainwp_site_actions_saved_days_number`](#mainwp_site_actions_saved_days_number) - Method sync_site() +- [`mainwp_before_save_sync_result`](#mainwp_before_save_sync_result) - Filter: mainwp_before_save_sync_result +- [`mainwp_sync_site_after_sync_result`](#mainwp_sync_site_after_sync_result) - Method sync_information_array() +- [`mainwp_managesites_getbackuplink`](#mainwp_managesites_getbackuplink) - Filter: mainwp_managesites_getbackuplink +- [`mainwp_managesites_bulk_actions`](#mainwp_managesites_bulk_actions) - Filter: mainwp_managesites_bulk_actions +- [`mainwp_sites_table_features`](#mainwp_sites_table_features) - Filter: mainwp_sites_table_features +- [`mainwp_sitestable_website`](#mainwp_sitestable_website) - Get table rows. +- [`mainwp_sitestable_website`](#mainwp_sitestable_website) - Columns for a single row. +- [`mainwp_monitoringsites_bulk_actions`](#mainwp_monitoringsites_bulk_actions) - Filter: mainwp_monitoringsites_bulk_actions +- [`mainwp_updatescheck_sendmail_for_each_auto_sync_finished`](#mainwp_updatescheck_sendmail_for_each_auto_sync_finished) - Method cron_updates_check() +- [`mainwp_pre_fetch_authed_data`](#mainwp_pre_fetch_authed_data) - Method get_post_data_authed() +- [`mainwp_open_site_login_required_params`](#mainwp_open_site_login_required_params) - Method get_get_data_authed() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method fetch_urls_authed() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method fetch_url_site() +- [`mainwp_manage_sites_navigation_items`](#mainwp_manage_sites_navigation_items) - Method render_managesites_header() +- [`mainwp-sync-extensions-options`](#mainwp-sync-extensions-options) - Method render_sync_exts_settings() +- [`mainwp_sync_extensions_options`](#mainwp_sync_extensions_options) - Method render_sync_exts_settings() +- [`mainwp_default_template_locate`](#mainwp_default_template_locate) - Render the email notification edit form. +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method add_site() +- [`mainwp_clients_website_client_tokens`](#mainwp_clients_website_client_tokens) - Method get_website_client_tokens_data() +- [`mainwp_cron_bulk_update_sites_limit`](#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_auto_updates() +- [`mainwp_getwebsite_by_id`](#mainwp_getwebsite_by_id) - Get sites by website ID. +- [`mainwp_updatewebsiteoptions`](#mainwp_updatewebsiteoptions) - Method update_website_option(). +- [`mainwp_getwebsiteoptions`](#mainwp_getwebsiteoptions) - Method get_website_options(). +- [`mainwp_db_fetch_object`](#mainwp_db_fetch_object) - Method fetch_object(). +- [`mainwp_db_free_result`](#mainwp_db_free_result) - Method free_result(). +- [`mainwp_module_log_data`](#mainwp_module_log_data) - Log handler +- [`mainwp_module_log_cron_tracking`](#mainwp_module_log_cron_tracking) - Log handler. +- [`mainwp_rest_routes_sites_controller_get_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_get_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by item. +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method check_site() +- [`mainwp_posting_selected_groups`](#mainwp_posting_selected_groups) - Method posting_posts() +- [`mainwp_custom_post_types_get_post_connections`](#mainwp_custom_post_types_get_post_connections) - Method posts_search_handler() +- [`mainwp_bulkpost_select_sites_settings`](#mainwp_bulkpost_select_sites_settings) - Renders bulkpost to edit. +- [`mainwp_manage_sites_optimize_loading`](#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_open_site_allow_vars`](#mainwp_open_site_allow_vars) - Child Site Dashboard Link redirect handler. +- [`mainwp_html_regression_largest_change_scope`](#mainwp_html_regression_largest_change_scope) - *Arguments* +- [`mainwp_manage_sites_optimize_loading`](#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_child_site_info_widget_content`](#mainwp_child_site_info_widget_content) - Filter: mainwp_child_site_info_widget_content +- [`mainwp_site_info_widget_title`](#mainwp_site_info_widget_title) - *Arguments* +- [`mainwp_connection_status_widget_title`](#mainwp_connection_status_widget_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_clients_overview_websites_widget_title`](#mainwp_clients_overview_websites_widget_title) - *Arguments* +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method render() + +## Hook Details + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 1444](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L1444-L1452) + + + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 1484](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L1484-L1492) + + + +### `mainwp_delete_site` + +*This action is documented in pages\page-mainwp-manage-sites-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 405](class/class-mainwp-hooks.php#L405-L406) + + + +### `mainwp_after_notice_sites_uptime_monitoring_admin` + +*Basic site uptime monitoring.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the websites. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-handler.php](class/class-mainwp-monitoring-handler.php), [line 151](class/class-mainwp-monitoring-handler.php#L151-L182) + + + +### `mainwp_after_notice_sites_uptime_monitoring_individual` + +*Basic site uptime monitoring.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-handler.php](class/class-mainwp-monitoring-handler.php), [line 151](class/class-mainwp-monitoring-handler.php#L151-L220) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 336](class/class-mainwp-client-list-table.php#L336-L468) + + + +### `mainwp_site_tag_action` + +*Fires after a new sites tag has been created.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | group created. +`'created'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 585](class/class-mainwp-db-common.php#L585-L591) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 634](class/class-mainwp-db-common.php#L634-L641) + + + +### `mainwp_site_tag_action` + +*Fires after a tag has been deleted.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | group created. +`'deleted'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 664](class/class-mainwp-db-common.php#L664-L670) + + + +### `mainwp_ga_delete_site` + +*Action: mainwp_ga_delete_site* + +Fires upon site removal process in order to delete Google Analytics data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websiteid` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 2611](class/class-mainwp-db.php#L2611-L2620) + + + +### `mainwp_after_sync_site_success` + +*Fires immediately after website synced successfully.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 407](class/class-mainwp-post-site-handler.php#L407-L414) + + + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 470](class/class-mainwp-post-site-handler.php#L470-L478) + + + +### `mainwp_managesite_backup` + +*Method backup()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`array('type' => $pType)` | | +`$information` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 753](class/class-mainwp-backup-handler.php#L753-L937) + + + +### `mainwp_before_select_sites_filters` + +*Action: mainwp_before_select_sites_filters* + +Fires before the Select Sites box filters. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 190](class/class-mainwp-ui.php#L190-L197) + + + +### `mainwp_after_select_sites_filters` + +*Action: mainwp_after_select_sites_filters* + +Fires after the Select Sites box filters. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 206](class/class-mainwp-ui.php#L206-L213) + + + +### `mainwp_before_select_sites_list` + +*Action: mainwp_before_select_sites_list* + +Fires before the Select Sites list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 252](class/class-mainwp-ui.php#L252-L261) + + + +### `mainwp_after_select_sites_list` + +*Action: mainwp_after_select_sites_list* + +Fires after the Select Sites list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 330](class/class-mainwp-ui.php#L330-L339) + + + +### `mainwp_before_select_groups_list` + +*Action: mainwp_before_select_groups_list* + +Fires before the Select Groups list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groups` | `object` | Object containing groups info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 419](class/class-mainwp-ui.php#L419-L428) + + + +### `mainwp_after_select_groups_list` + +*Action: mainwp_after_select_groups_list* + +Fires after the Select Groups list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groups` | `object` | Object containing groups info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 458](class/class-mainwp-ui.php#L458-L467) + + + +### `mainwp_quick_sites_shortcut` + +*Action: mainwp_quick_sites_shortcut* + +Adds a new shortcut item in the Quick Sites Shortcuts sidebar menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing the child site data.

Suggested HTML markup:



Your custom label text
+ +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 738](class/class-mainwp-ui.php#L738-L754) + + + +### `mainwp_before_header` + +*Action: mainwp_before_header* + +Fires before the MainWP header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 866](class/class-mainwp-ui.php#L866-L875) + + + +### `mainwp_after_header` + +*Action: mainwp_after_header* + +Fires after the MainWP header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1072](class/class-mainwp-ui.php#L1072-L1081) + + + +### `mainwp_managesites_tabletop` + +*Action: mainwp_managesites_tabletop* + +Fires at the table top on the Manage Sites and Monitoring page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1176](class/class-mainwp-ui.php#L1176-L1183) + + + +### `mainwp_before_edit_site_note` + +*Action: mainwp_before_edit_site_note* + +Fires before the site note content in the Edit Note modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2033](class/class-mainwp-ui.php#L2033-L2040) + + + +### `mainwp_after_edit_site_note` + +*Action: mainwp_after_edit_site_note* + +Fires after the site note content in the Edit Note modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2051](class/class-mainwp-ui.php#L2051-L2058) + + + +### `mainwp-site-synced` + +*Method sync_information_array()* + +Grab all Child Site Information. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($pWebsite, $information)` | | +`'4.0.7.2'` | | +`'mainwp_site_synced'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 221](class/class-mainwp-sync.php#L221-L579) + + + +### `mainwp_site_synced` + +*Action: mainwp_site_synced* + +Fires upon successful site synchronization. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pWebsite` | `object` | Object containing child site info. +`$information` | `array` | Array containing information returned from child site. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 581](class/class-mainwp-sync.php#L581-L591) + + + +### `mainwp_site_sync` + +*Action: mainwp_site_sync* + +Fires upon successful site synchronization. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pWebsite` | `object` | Object containing child site info. +`$information` | `array` | Array containing information returned from child site. +`$act_success` | `bool` | action success or failed. +`$_error` | | +`$post_data` | `array` | Addition post data. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 596](class/class-mainwp-sync.php#L596-L609) + + + +### `mainwp_before_manage_sites_table` + +*Action: mainwp_before_manage_sites_table* + +Fires before the Manage Sites table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1073](class/class-mainwp-manage-sites-list-table.php#L1073-L1080) + + + +### `mainwp_after_manage_sites_table` + +*Action: mainwp_after_manage_sites_table* + +Fires after the Manage Sites table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1106](class/class-mainwp-manage-sites-list-table.php#L1106-L1113) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1044](class/class-mainwp-manage-sites-list-table.php#L1044-L1204) + + + +### `mainwp_manage_sites_action` + +*Action: mainwp_manage_sites_action* + +Adds custom manage sites action item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1876](class/class-mainwp-manage-sites-list-table.php#L1876-L1885) + + + +### `mainwp_manage_sites_action` + +*Action: mainwp_manage_sites_action* + +Adds custom manage sites action item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 2288](class/class-mainwp-manage-sites-list-table.php#L2288-L2297) + + + +### `mainwp_sync_popup_content` + +*Method render_footer_content()* + +Render footer content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 996](class/class-mainwp-system-view.php#L996-L1054) + + + +### `mainwp_sync_popup_content` + +*Method render_footer_content()* + +Render footer content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 996](class/class-mainwp-system-view.php#L996-L1071) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 644](class/class-mainwp-monitoring-sites-list-table.php#L644-L917) + + + +### `mainwp_synced_all_sites` + +*Method cron_updates_check()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 375](class/class-mainwp-system-cron-jobs.php#L375-L664) + + + +### `mainwp_daily_digest_action` + +*Action: mainwp_daily_digest_action* + +Hooks the daily digest email notification send process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object conaining child site info. +`$plain_text` | `bool` | Whether plain text email should be sent. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1038](class/class-mainwp-system-cron-jobs.php#L1038-L1048) + + + +### `mainwp_website_before_updated` + +*Action: mainwp_website_before_updated* + +Fires before the child site update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. +`$type` | `string` | Type parameter. +`$list` | `string` | List parameter. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1175](class/class-mainwp-connect.php#L1175-L1186) + + + +### `mainwp_fetch_url_authed` + +*Fires immediately after fetch url action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$information` | `array` | information result data. +`$what` | `string` | action. +`$params` | `array` | params input array. +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1201](class/class-mainwp-connect.php#L1201-L1212) + + + +### `mainwp_website_updated` + +*Action: mainwp_website_updated* + +Fires after the child site update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. +`$type` | `string` | Type parameter. +`$list` | `string` | List parameter. +`$information` | `array` | Array containing the information fetched from the child site. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1224](class/class-mainwp-connect.php#L1224-L1236) + + + +### `mainwp-wordfence-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_wordfence_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L813) + + + +### `mainwp_wordfence_sites` + +*Action: mainwp_wordfence_sites* + +Fires on a child site Hardening page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 815](class/class-mainwp-manage-sites-view.php#L815-L826) + + + +### `mainwp-manage-sites-edit` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1390) + + + +### `mainwp-extension-sites-edit` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1391) + + + +### `mainwp_manage_sites_edit` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1393](class/class-mainwp-manage-sites-view.php#L1393-L1394) + + + +### `mainwp_extension_sites_edit_tablerow` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1395) + + + +### `mainwp_manage_sites_email_settings` + +*Action: mainwp_manage_sites_email_settings* + +Fires on the Email Settigns page at bottom. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the website info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1826](class/class-mainwp-manage-sites-view.php#L1826-L1835) + + + +### `mainwp_site_reconnected` + +*Fires immediately after reconnect website.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$success` | | +`$_error` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1997](class/class-mainwp-manage-sites-view.php#L1997-L2004) + + + +### `mainwp_site_added` + +*Fires immediately after a new website is added.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$information` | `array` | The array of information data . + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2259](class/class-mainwp-manage-sites-view.php#L2259-L2267) + + + +### `mainwp_added_new_site` + +*New site added* + +Fires after adding a website to MainWP Dashboard. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | `int` | Child site ID. +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2269](class/class-mainwp-manage-sites-view.php#L2269-L2278) + + + +### `mainwp_synced_all_sites` + +*Action: mainwp_synced_all_sites* + +Fires upon successfull synchronization process. + + +**Changelog** + +Version | Description +------- | ----------- +`3.5.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-handler.php](class/class-mainwp-post-handler.php), [line 605](class/class-mainwp-post-handler.php#L605-L612) + + + +### `mainwp_site_health_monitoring_email_header` + +*Site Health Monitoring Email Header* + +Fires at the top of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-site-health-monitoring-email.php](templates/emails/mainwp-site-health-monitoring-email.php), [line 31](templates/emails/mainwp-site-health-monitoring-email.php#L31-L38) + + + +### `mainwp_site_health_monitoring_email_footer` + +*Site Health Monitoring Email Footer* + +Fires at the bottom of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-site-health-monitoring-email.php](templates/emails/mainwp-site-health-monitoring-email.php), [line 118](templates/emails/mainwp-site-health-monitoring-email.php#L118-L125) + + + +### `mainwp_delete_key_file` + +*Method update_compatible_site_api_key* + +Encrypt data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key_file` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 607](modules/api-backups/classes/class-api-backups-utility.php#L607-L643) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'mainwp_api_backups_selected_websites'` | | +`array(&$this, 'ajax_backups_selected_websites')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-handler.php](modules/api-backups/classes/class-api-backups-handler.php), [line 53](modules/api-backups/classes/class-api-backups-handler.php#L53-L58) + + + +### `mainwp_sync_site_log_install_actions` + +*Method sync_log_site_actions().* + +Sync site actions data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$record_mapping` | | +`$object_id` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-manager.php](modules/logs/classes/class-log-manager.php), [line 239](modules/logs/classes/class-log-manager.php#L239-L329) + + + +### `mainwp_select_sites_box` + +*Render settings* + +Renders the extension settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`'checkbox'` | | +`true` | | +`true` | | +`''` | | +`''` | | +`$sel_sites` | | +`$sel_groups` | | +`true` | | +`$sel_clients` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-add-edit.php](modules/cost-tracker/pages/page-cost-tracker-add-edit.php), [line 85](modules/cost-tracker/pages/page-cost-tracker-add-edit.php#L85-L507) + + + +### `mainwp_check_site_result` + +*Method check_site()* + +Check to add site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$_POST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 26](pages/page-mainwp-manage-sites-handler.php#L26-L93) + + + +### `mainwp_delete_site` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 453](pages/page-mainwp-manage-sites-handler.php#L453-L453) + + + +### `mainwp_site_deleted` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 462](pages/page-mainwp-manage-sites-handler.php#L462-L462) + + + +### `mainwp-manage-sites-edit` + +*Method render_new_site_add_new_site()* + +Render page managesites add new site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 787](pages/page-mainwp-manage-sites.php#L787-L1054) + + + +### `mainwp_manage_sites_edit` + +*Edit site* + +Fires on the Edit child site page and allows user to hook in new site options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1056](pages/page-mainwp-manage-sites.php#L1056-L1063) + + + +### `mainwp_site_updated` + +*Update site* + +Fires after updating a website settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `int` | Child site Ọbject. +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2071](pages/page-mainwp-manage-sites.php#L2071-L2080) + + + +### `mainwp_site_suspended` + +*Site suspended changed.* + +Fires after suspended a website changed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `int` | ->id Child site ID. +`$suspended` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2083](pages/page-mainwp-manage-sites.php#L2083-L2092) + + + +### `mainwp_managesite_schedule_backup` + +*Execute the backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`array('type' => $task->type)` | | +`$_backup_result` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 282](pages/page-mainwp-manage-backups-handler.php#L282-L422) + + + +### `mainwp_before_groups_table` + +*Action: mainwp_before_groups_table* + +Fires before the Manage Groups table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 315](pages/page-mainwp-manage-groups.php#L315-L322) + + + +### `mainwp_after_groups_table` + +*Action: mainwp_after_groups_table* + +Fires after the Manage Groups table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 463](pages/page-mainwp-manage-groups.php#L463-L470) + + + +### `mainwp_site_tag_action` + +*Fires after a new sites tag has been created.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | tag created. +`'updated'` | | +`$data` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 584](pages/page-mainwp-manage-groups.php#L584-L591) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 684](pages/page-mainwp-manage-groups.php#L684-L691) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 729](pages/page-mainwp-manage-groups.php#L729-L736) + + + +### `mainwp_tags_help_item` + +*Action: mainwp_tags_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Tags page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 789](pages/page-mainwp-manage-groups.php#L789-L800) + + + +### `mainwp_updates_pergroup_before_wp_updates` + +*Action: mainwp_updates_pergroup_before_wp_updates* + +Fires at the top of the WP updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 874](pages/page-mainwp-updates.php#L874-L887) + + + +### `mainwp_updates_pergroup_after_wp_updates` + +*Action: mainwp_updates_pergroup_after_wp_updates* + +Fires at the bottom of the WP updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 889](pages/page-mainwp-updates.php#L889-L902) + + + +### `mainwp_updates_pergroup_before_wp_updates` + +*Action: mainwp_updates_persite_before_wp_updates* + +Fires at the top of the WP updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 904](pages/page-mainwp-updates.php#L904-L917) + + + +### `mainwp_updates_persite_after_wp_updates` + +*Action: mainwp_updates_persite_after_wp_updates* + +Fires at the bottom of the WP updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 920](pages/page-mainwp-updates.php#L920-L933) + + + +### `mainwp_updates_persite_before_plugin_updates` + +*Action: mainwp_updates_persite_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1008](pages/page-mainwp-updates.php#L1008-L1024) + + + +### `mainwp_updates_persite_after_plugin_updates` + +*Action: mainwp_updates_persite_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1026](pages/page-mainwp-updates.php#L1026-L1042) + + + +### `mainwp_updates_pergroup_before_plugin_updates` + +*Action: mainwp_updates_pergroup_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1044](pages/page-mainwp-updates.php#L1044-L1060) + + + +### `mainwp_updates_pergroup_after_plugin_updates` + +*Action: mainwp_updates_pergroup_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1062](pages/page-mainwp-updates.php#L1062-L1078) + + + +### `mainwp_updates_persite_before_theme_updates` + +*Action: mainwp_updates_persite_before_theme_updates* + +Fires at the top of the Theme updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1181](pages/page-mainwp-updates.php#L1181-L1197) + + + +### `mainwp_updates_persite_after_theme_updates` + +*Action: mainwp_updates_persite_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1199](pages/page-mainwp-updates.php#L1199-L1215) + + + +### `mainwp_updates_pergroup_before_theme_updates` + +*Action: mainwp_updates_pergroup_before_theme_updates* + +Fires at the top of the Theme updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1217](pages/page-mainwp-updates.php#L1217-L1233) + + + +### `mainwp_updates_pergroup_after_theme_updates` + +*Action: mainwp_updates_pergroup_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1235](pages/page-mainwp-updates.php#L1235-L1251) + + + +### `mainwp_updates_persite_before_translation_updates` + +*Action: mainwp_updates_persite_before_translation_updates* + +Fires at the top of the Translation updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1352](pages/page-mainwp-updates.php#L1352-L1368) + + + +### `mainwp_updates_persite_after_translation_updates` + +*Action: mainwp_updates_persite_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1370](pages/page-mainwp-updates.php#L1370-L1386) + + + +### `mainwp_updates_pergroup_before_translation_updates` + +*Action: mainwp_updates_pergroup_before_translation_updates* + +Fires at the top of the Translation updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1388](pages/page-mainwp-updates.php#L1388-L1404) + + + +### `mainwp_updates_pergroup_after_translation_updates` + +*Action: mainwp_updates_pergroup_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1406](pages/page-mainwp-updates.php#L1406-L1422) + + + +### `mainwp_updates_persite_before_abandoned_plugins` + +*Action: mainwp_updates_persite_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1518](pages/page-mainwp-updates.php#L1518-L1532) + + + +### `mainwp_updates_persite_after_abandoned_plugins` + +*Action: mainwp_updates_persite_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1534](pages/page-mainwp-updates.php#L1534-L1548) + + + +### `mainwp_updates_pergroup_before_abandoned_plugins` + +*Action: mainwp_updates_pergroup_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1550](pages/page-mainwp-updates.php#L1550-L1564) + + + +### `mainwp_updates_pergroup_after_abandoned_plugins` + +*Action: mainwp_updates_pergroup_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1566](pages/page-mainwp-updates.php#L1566-L1580) + + + +### `mainwp_updates_persite_before_abandoned_themes` + +*Action: mainwp_updates_persite_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1669](pages/page-mainwp-updates.php#L1669-L1683) + + + +### `mainwp_updates_persite_after_abandoned_themes` + +*Action: mainwp_updates_persite_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1685](pages/page-mainwp-updates.php#L1685-L1699) + + + +### `mainwp_updates_pergroup_before_abandoned_themes` + +*Action: mainwp_updates_pergroup_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1701](pages/page-mainwp-updates.php#L1701-L1715) + + + +### `mainwp_updates_pergroup_after_abandoned_themes` + +*Action: mainwp_updates_pergroup_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1717](pages/page-mainwp-updates.php#L1717-L1731) + + + +### `mainwp_added_new_site` + +*This action is documented in class\class-mainwp-manage-sites-view.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 950](pages/page-mainwp-extensions-handler.php#L950-L951) + + + +### `mainwp_delete_site` + +*This action is documented in pages\page-mainwp-manage-sites-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clone_site` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 1040](pages/page-mainwp-extensions-handler.php#L1040-L1041) + + + +### `mainwp_added_new_group` + +*This action is documented in pages\page-mainwp-manage-groups.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 1075](pages/page-mainwp-extensions-handler.php#L1075-L1076) + + + +### `mainwp_site_info_widget_top` + +*Actoin: mainwp_site_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 124](widgets/widget-mainwp-site-info.php#L124-L133) + + + +### `mainwp_site_info_table_top` + +*Action: mainwp_site_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 146](widgets/widget-mainwp-site-info.php#L146-L155) + + + +### `mainwp_site_info_table_bottom` + +*Action: mainwp_site_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 179](widgets/widget-mainwp-site-info.php#L179-L188) + + + +### `mainwp_site_info_widget_bottom` + +*Action: mainwp_site_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 194](widgets/widget-mainwp-site-info.php#L194-L203) + + + +### `mainwp_connection_status_widget_bottom` + +*Action: mainwp_connection_status_widget_bottom* + +Fires at the bottom of the Connection Status widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 103](widgets/widget-mainwp-connection-status.php#L103-L110) + + + +### `mainwp_connection_status_widget_top` + +*Action: mainwp_connection_status_widget_top* + +Fires at the top of the Connection Status widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 199](widgets/widget-mainwp-connection-status.php#L199-L206) + + + +### `mainwp_connection_status_before_all_sites_list` + +*Action: mainwp_connection_status_before_all_sites_list* + +Fires before the list of all sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 264](widgets/widget-mainwp-connection-status.php#L264-L271) + + + +### `mainwp_connection_status_after_all_sites_list` + +*Action: mainwp_connection_status_after_all_sites_list* + +Fires after the list of all sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 277](widgets/widget-mainwp-connection-status.php#L277-L284) + + + +### `mainwp_connection_status_before_connected_sites_list` + +*Action: mainwp_connection_status_before_connected_sites_list* + +Fires before the list of connected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 290](widgets/widget-mainwp-connection-status.php#L290-L297) + + + +### `mainwp_connection_status_after_connected_sites_list` + +*Action: mainwp_connection_status_after_connected_sites_list* + +Fires after the list of connected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 303](widgets/widget-mainwp-connection-status.php#L303-L310) + + + +### `mainwp_connection_status_before_disconnected_sites_list` + +*Action: mainwp_connection_status_before_disconnected_sites_list* + +Fires before the list of disconnected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 316](widgets/widget-mainwp-connection-status.php#L316-L323) + + + +### `mainwp_connection_status_after_disconnected_sites_list` + +*Action: mainwp_connection_status_after_disconnected_sites_list* + +Fires after the list of disconnected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 329](widgets/widget-mainwp-connection-status.php#L329-L336) + + + +### `mainwp_connection_status_widget_footer_left` + +*Action: mainwp_connection_status_widget_footer_left* + +Fires in the left column of the Connection status widget + + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 344](widgets/widget-mainwp-connection-status.php#L344-L351) + + + +### `mainwp_connection_status_widget_footer_right` + +*Action: mainwp_connection_status_widget_footer_right* + +Fires in the right column of the Connection status widget + + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 356](widgets/widget-mainwp-connection-status.php#L356-L363) + + + +### `mainwp_clients_overview_websites_widget_top` + +*Actoin: mainwp_clients_overview_websites_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 124](widgets/widget-mainwp-client-overview-sites.php#L124-L133) + + + +### `mainwp_clients_overview_websites_widget_bottom` + +*Action: mainwp_clients_overview_websites_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 149](widgets/widget-mainwp-client-overview-sites.php#L149-L158) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method mainwp_rest_api_non_mainwp_changes_callback()* + +Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10000` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 3448](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L3448-L3487) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method mainwp_rest_api_non_mainwp_changes_count_callback()* + +Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes-count +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes-count +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10000` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 3513](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L3513-L3556) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites by tag id.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php), [line 370](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php#L370-L390) + + + +### `mainwp_rest_pre_insert_site_item` + +*Filters an object before it is inserted via the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item_fields` | `array` | Site data. +`$request` | `\WP_REST_Request` | Request object. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2078](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2078-L2086) + + + +### `mainwp_rest_pre_update_site_item` + +*Filters an object before it is inserted via the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | +`$request` | `\WP_REST_Request` | Request object. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2125](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2125-L2133) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'simple_view'` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 828](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L828-L828) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Update all items of site.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'simple_view'` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 792](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L792-L858) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites of client.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php), [line 497](includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php#L497-L521) + + + +### `mainwp_cron_bulk_update_sites_limit` + +*Method handle_cron_batch_updates()* + +MainWP Cron batch Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 95](class/class-mainwp-cron-jobs-batch.php#L95-L128) + + + +### `mainwp_currentuserallowedaccessgroups` + +*Filter: mainwp_currentuserallowedaccessgroups* + +Filters allowed groups for the current user. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'all'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 1963](class/class-mainwp-db.php#L1963-L1970) + + + +### `mainwp_boilerplate_get_tokens` + +*Filter: mainwp_boilerplate_get_tokens* + +Enables and filters the Boilerplate extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object` | Object containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 629](class/class-mainwp-notification-settings.php#L629-L638) + + + +### `mainwp_pro_reports_get_site_tokens` + +*Filter: mainwp_pro_reports_get_site_tokens* + +Enables and filters the Pro Reports extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 648](class/class-mainwp-notification-settings.php#L648-L657) + + + +### `mainwp_client_report_get_site_tokens` + +*Filter: mainwp_client_report_get_site_tokens* + +Enables and filters the Client Reports extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 667](class/class-mainwp-notification-settings.php#L667-L676) + + + +### `mainwp_boilerplate_get_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 708](class/class-mainwp-notification-settings.php#L708-L709) + + + +### `mainwp_pro_reports_get_site_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 715](class/class-mainwp-notification-settings.php#L715-L716) + + + +### `mainwp_client_report_get_site_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 722](class/class-mainwp-notification-settings.php#L722-L723) + + + +### `mainwp_connect_sign_algo` + +*Method get_connect_sign_algorithm().* + +Get supported sign algorithms. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$alg` | | +`$website` | `mixed` | The Website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1541](class/class-mainwp-system-utility.php#L1541-L1583) + + + +### `mainwp_staging_current_user_sites_view` + +*Method get_select_staging_view_sites()* + +Get staging options sites view for current users. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$view` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1654](class/class-mainwp-system-utility.php#L1654-L1669) + + + +### `mainwp_html_regression_largest_change_scope` + +*Method mainwp_upgrade_plugintheme()* + +Update plugin or theme. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websiteId` | | +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 525](class/class-mainwp-post-plugin-theme-handler.php#L525-L638) + + + +### `mainwp_log_to_db_priority` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$priority` | `int` | Set priority. +`$website` | `mixed` | website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L445) + + + +### `mainwp_log_do_to_db` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$do_log` | | +`$website` | `mixed` | website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L457) + + + +### `mainwp_logger_to_db` + +*Method log()* + +Create Log File. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$website` | `mixed` | Site object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 502](class/class-mainwp-logger.php#L502-L525) + + + +### `mainwp_curl_curlopt_resolve` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$mo_url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L502) + + + +### `mainwp_connect_sites_not_allow_ports` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$def_not_allow` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L264) + + + +### `mainwp_connect_sites_allow_ports` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L282) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L292) + + + +### `mainwp_postprocess_backup_sites_feedback` + +*Method backup_site()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$unique` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 28](class/class-mainwp-backup-handler.php#L28-L513) + + + +### `mainwp_clone_enabled` + +*Filter: mainwp_clone_enabled* + +Filters whether the Clone feature is enabled or disabled. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 104](class/class-mainwp-sync.php#L104-L111) + + + +### `mainwp-sync-others-data` + +*Method sync_site()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array(), $pWebsite)` | | +`'4.0.7.2'` | | +`'mainwp_sync_others_data'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 62](class/class-mainwp-sync.php#L62-L150) + + + +### `mainwp_sync_others_data` + +*Filter: mainwp_sync_others_data* + +Filters additional data in the sync request. Allows extensions or 3rd party plugins to hook data to the sync request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$othersData` | | +`$pWebsite` | `object` | Object contaning child site data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 152](class/class-mainwp-sync.php#L152-L163) + + + +### `mainwp_site_actions_saved_days_number` + +*Method sync_site()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`30` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 62](class/class-mainwp-sync.php#L62-L165) + + + +### `mainwp_before_save_sync_result` + +*Filter: mainwp_before_save_sync_result* + +Filters data returned from child site before saving to the database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pWebsite` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 267](class/class-mainwp-sync.php#L267-L276) + + + +### `mainwp_sync_site_after_sync_result` + +*Method sync_information_array()* + +Grab all Child Site Information. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$error` | `bool` | True\|False. +`$pWebsite` | `object` | The website object. +`$information` | `array` | Array contaning information returned from child site. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 221](class/class-mainwp-sync.php#L221-L575) + + + +### `mainwp_managesites_getbackuplink` + +*Filter: mainwp_managesites_getbackuplink* + +Filters the link for the last backup item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$item['id']` | | +`$lastBackup` | `string` | Last backup timestamp for the child site. +`$backup_method` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 104](class/class-mainwp-manage-sites-list-table.php#L104-L114) + + + +### `mainwp_managesites_bulk_actions` + +*Filter: mainwp_managesites_bulk_actions* + +Filters bulk actions on the Manage Sites page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 504](class/class-mainwp-manage-sites-list-table.php#L504-L511) + + + +### `mainwp_sites_table_features` + +*Filter: mainwp_sites_table_features* + +Filter the Monitoring table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1136](class/class-mainwp-manage-sites-list-table.php#L1136-L1143) + + + +### `mainwp_sitestable_website` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$this->userExtension` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1554](class/class-mainwp-manage-sites-list-table.php#L1554-L1700) + + + +### `mainwp_sitestable_website` + +*Columns for a single row.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `mixed` | Child Site. +`$this->userExtension` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1971](class/class-mainwp-manage-sites-list-table.php#L1971-L2148) + + + +### `mainwp_monitoringsites_bulk_actions` + +*Filter: mainwp_monitoringsites_bulk_actions* + +Filters bulk actions on the Monitoring Sites page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 295](class/class-mainwp-monitoring-sites-list-table.php#L295-L302) + + + +### `mainwp_updatescheck_sendmail_for_each_auto_sync_finished` + +*Method cron_updates_check()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 375](class/class-mainwp-system-cron-jobs.php#L375-L456) + + + +### `mainwp_pre_fetch_authed_data` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$params` | `null` | Post parameters. +`$what` | `mixed` | What we are posting. +`$website` | `mixed` | Array of Child Site Info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L380) + + + +### `mainwp_open_site_login_required_params` + +*Method get_get_data_authed()* + +Get authorized $_GET data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$params` | | +`$website` | `mixed` | Child Site data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 525](class/class-mainwp-connect.php#L525-L583) + + + +### `mainwp_curl_curlopt_resolve` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$website->url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L899) + + + +### `mainwp_curl_curlopt_resolve` + +*Method fetch_url_site()* + +M Fetch URL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$website->url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1351](class/class-mainwp-connect.php#L1351-L1494) + + + +### `mainwp_manage_sites_navigation_items` + +*Method render_managesites_header()* + +Render manage sites header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$renderItems` | | +`$site_id` | `int` | Site id. +`$shownPage` | `string` | Current Page. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 316](class/class-mainwp-manage-sites-view.php#L316-L374) + + + +### `mainwp-sync-extensions-options` + +*Method render_sync_exts_settings()* + +Render sync extension settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_sync_extensions_options'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 566](class/class-mainwp-manage-sites-view.php#L566-L575) + + + +### `mainwp_sync_extensions_options` + +*Method render_sync_exts_settings()* + +Render sync extension settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sync_extensions_options` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 566](class/class-mainwp-manage-sites-view.php#L566-L576) + + + +### `mainwp_default_template_locate` + +*Render the email notification edit form.* + +Credits. + +Plugin-Name: WooCommerce. +Plugin URI: https://woocommerce.com/. +Author: Automattic. +Author URI: https://woocommerce.com. +License: GPLv3 or later. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$default_file` | | +`$template` | | +`$default_dir` | | +`$type` | `string` | Email type. +`$siteid` | `bool` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1654](class/class-mainwp-manage-sites-view.php#L1654-L1680) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method add_site()* + +Add Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$params['url']` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2020](class/class-mainwp-manage-sites-view.php#L2020-L2039) + + + +### `mainwp_clients_website_client_tokens` + +*Method get_website_client_tokens_data()* + +Get website client tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_tokens` | | +`$websiteid` | `int` | Website ID. +`$clientid` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-handler.php](class/class-mainwp-client-handler.php), [line 454](class/class-mainwp-client-handler.php#L454-L530) + + + +### `mainwp_cron_bulk_update_sites_limit` + +*Method handle_cron_auto_updates()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 104](class/class-mainwp-cron-jobs-auto-updates.php#L104-L115) + + + +### `mainwp_getwebsite_by_id` + +*Get sites by website ID.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website_id` | `int` | User ID. +`$selectGroups` | `bool` | Select groups. +`$extra_view` | `array` | get extra option fields. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 60](modules/api-backups/classes/class-api-backups-helper.php#L60-L70) + + + +### `mainwp_updatewebsiteoptions` + +*Method update_website_option().* + +Update the website option. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object\|int` | website object or ID. +`$opt_name` | `string` | website. +`$opt_value` | `string` | website. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 78](modules/api-backups/classes/class-api-backups-helper.php#L78-L88) + + + +### `mainwp_getwebsiteoptions` + +*Method get_website_options().* + +Get the website options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object\|int` | website object or ID. +`$options` | `string\|array` | Options name. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 91](modules/api-backups/classes/class-api-backups-helper.php#L91-L100) + + + +### `mainwp_db_fetch_object` + +*Method fetch_object().* + +Handle fetch object db. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$websites` | `mixed` | websites results. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 104](modules/api-backups/classes/class-api-backups-helper.php#L104-L114) + + + +### `mainwp_db_free_result` + +*Method free_result().* + +Handle fetch result db. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$results` | `mixed` | websites results. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 118](modules/api-backups/classes/class-api-backups-helper.php#L118-L131) + + + +### `mainwp_module_log_data` + +*Log handler* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`compact('connector', 'message', 'args', 'site_id', 'context', 'action', 'state', 'user_id')` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connector.php](modules/logs/classes/class-log-connector.php), [line 81](modules/logs/classes/class-log-connector.php#L81-L100) + + + +### `mainwp_module_log_cron_tracking` + +*Log handler.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$connector` | `\MainWP\Dashboard\Module\Log\Connector` | Connector responsible for logging the event. +`$message` | `string` | sprintf-ready error message string. +`$args` | `array` | sprintf (and extra) arguments to use. +`$site_id` | `int` | Target site id. +`$context` | `string` | Context of the event. +`$action` | `string` | Action of the event. +`$user_id` | `int` | User responsible for the event. +`$state` | `int\|null` | action status: null - N/A, 0 - failed, 1 - success. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log.php](modules/logs/classes/class-log.php), [line 36](modules/logs/classes/class-log.php#L36-L60) + + + +### `mainwp_rest_routes_sites_controller_get_allowed_fields_by_context` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'view'` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 545](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L545-L545) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites by item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 509](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L509-L552) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method check_site()* + +Check to add site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 26](pages/page-mainwp-manage-sites-handler.php#L26-L56) + + + +### `mainwp_posting_selected_groups` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_groups` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L635) + + + +### `mainwp_custom_post_types_get_post_connections` + +*Method posts_search_handler()* + +Post page search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$child_post_ids` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1282](pages/page-mainwp-post.php#L1282-L1325) + + + +### `mainwp_bulkpost_select_sites_settings` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sites_settings` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2275) + + + +### `mainwp_manage_sites_optimize_loading` + +*Method render_all_sites()* + +Render manage sites content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | +`'manage-sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1706](pages/page-mainwp-manage-sites.php#L1706-L1717) + + + +### `mainwp_open_site_allow_vars` + +*Child Site Dashboard Link redirect handler.* + +This method checks to see if the current user is allow to access the +Child Site, then grabs the websiteid, location, openurl & passes it onto +either open_site_location or open_site methods. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allow_vars` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-site-open.php](pages/page-mainwp-site-open.php), [line 27](pages/page-mainwp-site-open.php#L27-L72) + + + +### `mainwp_html_regression_largest_change_scope` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 58](pages/page-mainwp-updates-handler.php#L58-L58) + + + +### `mainwp_manage_sites_optimize_loading` + +*Method render_all_sites()* + +Render monitoring sites content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | +`'monitor-sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 272](pages/page-mainwp-monitoring.php#L272-L285) + + + +### `mainwp_child_site_info_widget_content` + +*Filter: mainwp_child_site_info_widget_content* + +Filters the Child Info array for the Site Info widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$child_site_info` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 83](widgets/widget-mainwp-site-info.php#L83-L90) + + + +### `mainwp_site_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Site Info', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 116](widgets/widget-mainwp-site-info.php#L116-L116) + + + +### `mainwp_connection_status_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Connection Status', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 156](widgets/widget-mainwp-connection-status.php#L156-L156) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 407](widgets/widget-mainwp-connection-status.php#L407-L407) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 418](widgets/widget-mainwp-connection-status.php#L418-L418) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 459](widgets/widget-mainwp-connection-status.php#L459-L459) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 470](widgets/widget-mainwp-connection-status.php#L470-L470) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 506](widgets/widget-mainwp-connection-status.php#L506-L506) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 517](widgets/widget-mainwp-connection-status.php#L517-L517) + + + +### `mainwp_clients_overview_websites_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Sites', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 117](widgets/widget-mainwp-client-overview-sites.php#L117-L117) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method render()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`50` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 75](widgets/widget-mainwp-site-actions.php#L75-L84) + + + diff --git a/mainwp-hooks-old/dashboard/actions/system-settings/index.md b/mainwp-hooks-old/dashboard/actions/system-settings/index.md new file mode 100644 index 0000000..c45339e --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/system-settings/index.md @@ -0,0 +1,481 @@ +# System & Settings Actions + +Hooks related to general settings and system configuration. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_system_init`](#mainwp_system_init) - MainWP_System constructor. +- [`mainwp_log_system_query`](#mainwp_log_system_query) - Method log_system_query +- [`mainwp_before_save_email_settings`](#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_after_save_email_settings`](#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_settings_email_settings`](#mainwp_settings_email_settings) - Action: mainwp_settings_email_settings +- [`mainwp_module_cost_tracker_settings_bottom`](#mainwp_module_cost_tracker_settings_bottom) - Render settings content. +- [`mainwp_before_save_general_settings`](#mainwp_before_save_general_settings) - Action: mainwp_before_save_general_settings +- [`mainwp_after_save_general_settings`](#mainwp_after_save_general_settings) - Action: mainwp_after_save_general_settings +- [`mainwp_settings_form_top`](#mainwp_settings_form_top) - Action: mainwp_settings_form_top +- [`mainwp_settings_form_bottom`](#mainwp_settings_form_bottom) - Action: mainwp_settings_form_bottom +- [`mainwp_before_save_advanced_settings`](#mainwp_before_save_advanced_settings) - Action: mainwp_before_save_advanced_settings +- [`mainwp_after_save_advanced_settings`](#mainwp_after_save_advanced_settings) - Action: mainwp_after_save_advanced_settings +- [`mainwp_advanced_settings_form_top`](#mainwp_advanced_settings_form_top) - Action: mainwp_advanced_settings_form_top +- [`mainwp_advanced_settings_form_bottom`](#mainwp_advanced_settings_form_bottom) - Action: mainwp_advanced_settings_form_bottom +- [`mainwp_settings_help_item`](#mainwp_settings_help_item) - Action: mainwp_settings_help_item +- [`mainwp_before_save_email_settings`](#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_after_save_email_settings`](#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_before_wp_config_section`](#mainwp_before_wp_config_section) - Action: mainwp_before_wp_config_section +- [`mainwp_after_wp_config_section`](#mainwp_after_wp_config_section) - Action: mainwp_after_wp_config_section +- [`mainwp_init_load_all_options`](#mainwp_init_load_all_options) - Method load_all_options() +- [`mainwp_module_cost_tracker_before_save_settings`](#mainwp_module_cost_tracker_before_save_settings) - Settigns Post +- [`mainwp_default_settings_indicator`](#mainwp_default_settings_indicator) - Method render_not_default_indicator(). +- [`mainwp_default_settings_indicator`](#mainwp_default_settings_indicator) - Method render_not_default_email_settings_indicator(). +- [`mainwp_clear_and_lock_options`](#mainwp_clear_and_lock_options) - Clean and Lock extension options + +## Hook Details + +### `mainwp_system_init` + +*MainWP_System constructor.* + +Runs any time class is called. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 82](class/class-mainwp-system.php#L82-L135) + + + +### `mainwp_log_system_query` + +*Method log_system_query* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | params. +`$sql` | `string` | query. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 3242](class/class-mainwp-db.php#L3242-L3252) + + + +### `mainwp_before_save_email_settings` + +*Action: mainwp_before_save_email_settings* + +Fires before save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$update_settings` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 76](class/class-mainwp-notification-settings.php#L76-L83) + + + +### `mainwp_after_save_email_settings` + +*Action: mainwp_after_save_email_settings* + +Fires after save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$emails_settings` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 87](class/class-mainwp-notification-settings.php#L87-L94) + + + +### `mainwp_settings_email_settings` + +*Action: mainwp_settings_email_settings* + +Fires after the default email settings. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 175](class/class-mainwp-notification-settings.php#L175-L182) + + + +### `mainwp_module_cost_tracker_settings_bottom` + +*Render settings content.* + +Renders the extension settings page. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-settings.php](modules/cost-tracker/pages/page-cost-tracker-settings.php), [line 88](modules/cost-tracker/pages/page-cost-tracker-settings.php#L88-L343) + + + +### `mainwp_before_save_general_settings` + +*Action: mainwp_before_save_general_settings* + +Fires before general settings save. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 454](pages/page-mainwp-settings.php#L454-L461) + + + +### `mainwp_after_save_general_settings` + +*Action: mainwp_after_save_general_settings* + +Fires after save general settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 585](pages/page-mainwp-settings.php#L585-L592) + + + +### `mainwp_settings_form_top` + +*Action: mainwp_settings_form_top* + +Fires at the top of settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 631](pages/page-mainwp-settings.php#L631-L638) + + + +### `mainwp_settings_form_bottom` + +*Action: mainwp_settings_form_bottom* + +Fires at the bottom of settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 906](pages/page-mainwp-settings.php#L906-L913) + + + +### `mainwp_before_save_advanced_settings` + +*Action: mainwp_before_save_advanced_settings* + +Fires before save advanced settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1319](pages/page-mainwp-settings.php#L1319-L1326) + + + +### `mainwp_after_save_advanced_settings` + +*Action: mainwp_after_save_advanced_settings* + +Fires after advanced settings save. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1373](pages/page-mainwp-settings.php#L1373-L1380) + + + +### `mainwp_advanced_settings_form_top` + +*Action: mainwp_advanced_settings_form_top* + +Fires at the top of advanced settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1401](pages/page-mainwp-settings.php#L1401-L1408) + + + +### `mainwp_advanced_settings_form_bottom` + +*Action: mainwp_advanced_settings_form_bottom* + +Fires at the bottom of advanced settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1680](pages/page-mainwp-settings.php#L1680-L1687) + + + +### `mainwp_settings_help_item` + +*Action: mainwp_settings_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Settings page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 2393](pages/page-mainwp-settings.php#L2393-L2404) + + + +### `mainwp_before_save_email_settings` + +*Action: mainwp_before_save_email_settings* + +Fires before save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$update_settings` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1898](pages/page-mainwp-manage-sites.php#L1898-L1905) + + + +### `mainwp_after_save_email_settings` + +*Action: mainwp_after_save_email_settings* + +Fires after save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$settings_emails` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1911](pages/page-mainwp-manage-sites.php#L1911-L1918) + + + +### `mainwp_before_wp_config_section` + +*Action: mainwp_before_wp_config_section* + +Fires before the WP Config section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1601](pages/page-mainwp-server-information.php#L1601-L1608) + + + +### `mainwp_after_wp_config_section` + +*Action: mainwp_after_wp_config_section* + +Fires after the WP Config section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1639](pages/page-mainwp-server-information.php#L1639-L1646) + + + +### `mainwp_init_load_all_options` + +*Method load_all_options()* + +Load all wp_options data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$options` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 297](class/class-mainwp-system.php#L297-L380) + + + +### `mainwp_module_cost_tracker_before_save_settings` + +*Settigns Post* + +Handles the save settings post request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$all_opts` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 552](modules/cost-tracker/classes/class-cost-tracker-admin.php#L552-L590) + + + +### `mainwp_default_settings_indicator` + +*Method render_not_default_indicator().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$indi` | | +`$field` | `string` | setting field to check. +`$indi_value` | | +`$current_value` | `mixed` | setting current value. +`$render_indi` | `bool` | to render indication. +`$default_val` | `mixed` | default value directly. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 72](pages/page-mainwp-settings-indicator.php#L72-L92) + + + +### `mainwp_default_settings_indicator` + +*Method render_not_default_email_settings_indicator().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$indi` | | +`$field` | `string` | setting field to check. +`$def` | | +`$current_value` | `mixed` | setting current value. +`$render_indi` | `bool` | to render indication. +`$type` | `string` | setting type to get default value. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 99](pages/page-mainwp-settings-indicator.php#L99-L115) + + + +### `mainwp_clear_and_lock_options` + +*Clean and Lock extension options* + +Adds additional options related to Clean and Lock options in order to avoid conflicts when HTTP Basic auth is set. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 379](pages/page-mainwp-install-bulk.php#L379-L386) + + + diff --git a/mainwp-hooks-old/dashboard/actions/ui-display/index.md b/mainwp-hooks-old/dashboard/actions/ui-display/index.md new file mode 100644 index 0000000..d720efe --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/ui-display/index.md @@ -0,0 +1,3765 @@ +# UI & Display Actions + +Hooks for modifying the Dashboard UI, widgets, menus, and display elements. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp-activated`](#mainwp-activated) - MainWP_System constructor. +- [`deprecated_hook_run`](#deprecated_hook_run) - Display a deprecated notice for old hooks. +- [`mainwp_before_log_data`](#mainwp_before_log_data) - Method log_to_db() +- [`mainwp_before_seclect_sites`](#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_after_seclect_sites`](#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_overview_screen_options_top`](#mainwp_overview_screen_options_top) - Action: mainwp_overview_screen_options_top +- [`mainwp_overview_screen_options_bottom`](#mainwp_overview_screen_options_bottom) - Action: mainwp_overview_screen_options_bottom +- [`mainwp_before_subheader`](#mainwp_before_subheader) - Action: mainwp_before_subheader +- [`mainwp_subheader_actions`](#mainwp_subheader_actions) - Action: mainwp_subheader_actions +- [`mainwp_after_subheader`](#mainwp_after_subheader) - Action: mainwp_after_subheader +- [`mainwp_before_upload_custom_icon`](#mainwp_before_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_after_upload_custom_icon`](#mainwp_after_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp-sitestable-prepared-items`](#mainwp-sitestable-prepared-items) - Action is being replaced with mainwp_sitestable_prepared_items +- [`mainwp_sitestable_prepared_items`](#mainwp_sitestable_prepared_items) - Action: mainwp_sitestable_prepared_items +- [`mainwp_cronload_action`](#mainwp_cronload_action) - Action: mainwp_cronload_action +- [`mainwp_admin_menu`](#mainwp_admin_menu) - Action: mainwp_admin_menu +- [`mainwp_admin_menu_sub`](#mainwp_admin_menu_sub) - Action: mainwp_admin_menu_sub +- [`before_mainwp_menu`](#before_mainwp_menu) - Action: before_mainwp_menu +- [`after_mainwp_menu`](#after_mainwp_menu) - Action: after_mainwp_menu +- [`before_mainwp_menu`](#before_mainwp_menu) - Action: before_mainwp_menu +- [`after_mainwp_menu`](#after_mainwp_menu) - Action: after_mainwp_menu +- [`mainwp_before_seclect_sites`](#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_after_seclect_sites`](#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_extensions_top_header_after_tab`](#mainwp_extensions_top_header_after_tab) - Method render_header() +- [`mainwp_before_template_part`](#mainwp_before_template_part) - Action: mainwp_before_template_part +- [`mainwp_after_template_part`](#mainwp_after_template_part) - Action: mainwp_after_template_part +- [`mainwp_removed_extension_menu`](#mainwp_removed_extension_menu) - Remove Extensions menu from MainWP Menu. +- [`mainwp_daily_digest_email_header`](#mainwp_daily_digest_email_header) - Daily Digest Email Header +- [`mainwp_daily_digest_email_footer`](#mainwp_daily_digest_email_footer) - Daily Digest Email Footer +- [`mainwp_module_log_record_insert_error`](#mainwp_module_log_record_insert_error) - Fires on a record insertion error +- [`mainwp_module_log_record_inserted`](#mainwp_module_log_record_inserted) - Fires after a record has been inserted +- [`mainwp_compact_action`](#mainwp_compact_action) - Create compact logs and erase records from the database. +- [`mainwp_log_action`](#mainwp_log_action) - Schedules a purge of records. +- [`mainwp_module_dashboard_insights_help_item`](#mainwp_module_dashboard_insights_help_item) - Action: mainwp_module_dashboard_insights_help_item +- [`mainwp_module_log_after_connectors_registration`](#mainwp_module_log_after_connectors_registration) - Fires after all connectors have been registered. +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_module_log_overview_screen_options_top`](#mainwp_module_log_overview_screen_options_top) - Action: mainwp_module_log_overview_screen_options_top +- [`mainwp_module_log_overview_screen_options_bottom`](#mainwp_module_log_overview_screen_options_bottom) - Action: mainwp_module_log_overview_screen_options_bottom +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_logs_manage_table_top`](#mainwp_logs_manage_table_top) - Action: mainwp_logs_manage_table_top +- [`mainwp_logs_manage_table_bottom`](#mainwp_logs_manage_table_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Actoin: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_module_cost_tracker_summary_screen_options_top`](#mainwp_module_cost_tracker_summary_screen_options_top) - Action: mainwp_module_cost_tracker_summary_screen_options_top +- [`mainwp_module_cost_tracker_summary_screen_options_bottom`](#mainwp_module_cost_tracker_summary_screen_options_bottom) - Action: mainwp_module_cost_tracker_summary_screen_options_bottom +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_module_upcoming_renewals_before_costs_list`](#mainwp_module_upcoming_renewals_before_costs_list) - Action: mainwp_module_upcoming_renewals_before_costs_list +- [`mainwp_module_upcoming_renewals_after_costs_list`](#mainwp_module_upcoming_renewals_after_costs_list) - Action: mainwp_module_upcoming_renewals_after_costs_list +- [`mainwp_module_yearly_renewals_before_costs_list`](#mainwp_module_yearly_renewals_before_costs_list) - Action: mainwp_module_yearly_renewals_before_costs_list +- [`mainwp_module_yearly_renewals_after_costs_list`](#mainwp_module_yearly_renewals_after_costs_list) - Action: mainwp_module_yearly_renewals_after_costs_list +- [`mainwp_module_monthly_renewals_before_costs_list`](#mainwp_module_monthly_renewals_before_costs_list) - Action: mainwp_module_monthly_renewals_before_costs_list +- [`mainwp_module_monthly_renewals_after_costs_list`](#mainwp_module_monthly_renewals_after_costs_list) - Action: mainwp_module_monthly_renewals_after_costs_list +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_reset_admin_pass_modal_top`](#mainwp_reset_admin_pass_modal_top) - Action: mainwp_reset_admin_pass_modal_top +- [`mainwp_reset_admin_pass_modal_bottom`](#mainwp_reset_admin_pass_modal_bottom) - Action: mainwp_reset_admin_pass_modal_bottom +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_before_server_info_table`](#mainwp_before_server_info_table) - Action: mainwp_before_server_info_table +- [`mainwp_after_server_info_table`](#mainwp_after_server_info_table) - Action: mainwp_after_server_info_table +- [`mainwp_before_cron_jobs_table`](#mainwp_before_cron_jobs_table) - Action: mainwp_before_cron_jobs_table +- [`mainwp_after_cron_jobs_table`](#mainwp_after_cron_jobs_table) - Action: mainwp_after_cron_jobs_table +- [`mainwp_before_error_log_table`](#mainwp_before_error_log_table) - Action: mainwp_before_error_log_table +- [`mainwp_after_error_log_table`](#mainwp_after_error_log_table) - Action: mainwp_after_error_log_table +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_added_extension_menu`](#mainwp_added_extension_menu) - Adds Extension to the navigation menu +- [`mainwp_notes_widget_top`](#mainwp_notes_widget_top) - Action: mainwp_notes_widget_top +- [`mainwp_notes_widget_bottom`](#mainwp_notes_widget_bottom) - Action: mainwp_notes_widget_bottom +- [`mainwp_get_started_widget_top`](#mainwp_get_started_widget_top) - Action: mainwp_get_started_widget_top +- [`mainwp_get_started_widget_bottom`](#mainwp_get_started_widget_bottom) - Action: mainwp_get_started_widget_bottom +- [`mainwp_non_mainwp_changes_widget_top`](#mainwp_non_mainwp_changes_widget_top) - Actoin: mainwp_non_mainwp_changes_widget_top +- [`mainwp_non_mainwp_changes_table_top`](#mainwp_non_mainwp_changes_table_top) - Action: mainwp_non_mainwp_changes_table_top +- [`mainwp_non_mainwp_changes_table_bottom`](#mainwp_non_mainwp_changes_table_bottom) - Action: mainwp_non_mainwp_changes_table_bottom +- [`mainwp_non_mainwp_changes_widget_bottom`](#mainwp_non_mainwp_changes_widget_bottom) - Action: mainwp_non_mainwp_changes_widget_bottom +- [`mainwp_disablemenuitems`](#mainwp_disablemenuitems) - Method init() +- [`mainwp_main_menu_disable_menu_items`](#mainwp_main_menu_disable_menu_items) - Filter: mainwp_main_menu_disable_menu_items +- [`mainwp_ui_use_wp_calendar`](#mainwp_ui_use_wp_calendar) - Filter: mainwp_ui_use_wp_calendar +- [`mainwp_admin_enqueue_scripts`](#mainwp_admin_enqueue_scripts) - Method admin_enqueue_scripts() +- [`mainwp_all_disablemenuitems`](#mainwp_all_disablemenuitems) - Method admin_footer() +- [`minwp_notification_template_copy_message`](#minwp_notification_template_copy_message) - Use mainwp_notification_template_copy_message instead. +- [`mainwp_notification_template_copy_message`](#mainwp_notification_template_copy_message) - Filter mainwp_notification_template_copy_message. +- [`mainwp_notification_type_desc`](#mainwp_notification_type_desc) - Get email settings description. +- [`mainwp_notification_types`](#mainwp_notification_types) - Get email notification types. +- [`mainwp_default_emails_fields`](#mainwp_default_emails_fields) - Get default email notifications values. +- [`mainwp-getmetaboxes`](#mainwp-getmetaboxes) - Method apply_filter() +- [`{$filter}`](#filter) - Method apply_filter() +- [`mainwp_log_status`](#mainwp_log_status) - MainWP_Logger constructor. +- [`mainwp_log_specific`](#mainwp_log_specific) - MainWP_Logger constructor. +- [`mainwp_log_to_db_data`](#mainwp_log_to_db_data) - Method log_to_db() +- [`mainwp_file_uploader_size_limit`](#mainwp_file_uploader_size_limit) - Filter: 'mainwp_file_uploader_size_limit' +- [`mainwp_menu_logo_href`](#mainwp_menu_logo_href) - *Arguments* +- [`mainwp_menu_logo_src`](#mainwp_menu_logo_src) - *Arguments* +- [`mainwp_menu_logo_alt`](#mainwp_menu_logo_alt) - *Arguments* +- [`mainwp_header_actions_right`](#mainwp_header_actions_right) - Filter: mainwp_header_actions_right +- [`mainwp_screen_options_pulse_control`](#mainwp_screen_options_pulse_control) - Method render_header_actions() +- [`mainwp_do_widget_boxes_sorted`](#mainwp_do_widget_boxes_sorted) - Method do_widget_boxes() +- [`mainwp_widget_boxes_show_widgets`](#mainwp_widget_boxes_show_widgets) - Method do_widget_boxes() +- [`mainwp-widgets-screen-options`](#mainwp-widgets-screen-options) - Method render_screen_options() +- [`mainwp_widgets_screen_options`](#mainwp_widgets_screen_options) - Filter: mainwp_widgets_screen_options +- [`mainwp_format_email`](#mainwp_format_email) - Method format_email() +- [`mainwp-sitestable-item`](#mainwp-sitestable-item) - Filter is being replaced with mainwp_sitestable_item +- [`mainwp_sitestable_item`](#mainwp_sitestable_item) - Filter: mainwp_sitestable_item +- [`mainwp-sitestable-getcolumns`](#mainwp-sitestable-getcolumns) - Filter is being replaced with mainwp_sitestable_getcolumns +- [`mainwp_sitestable_getcolumns`](#mainwp_sitestable_getcolumns) - Filter: mainwp_sitestable_getcolumns +- [`mainwp_sitestable_prepare_extra_view`](#mainwp_sitestable_prepare_extra_view) - Prepare the items to be listed. +- [`mainwp_sitestable_display_row_columns`](#mainwp_sitestable_display_row_columns) - Get table rows. +- [`mainwp_sitestable_render_column`](#mainwp_sitestable_render_column) - Columns for a single row. +- [`mainwp_open_hide_referrer`](#mainwp_open_hide_referrer) - Filter: mainwp_open_hide_referrer +- [`mainwp_is_enable_schedule_job`](#mainwp_is_enable_schedule_job) - Method init_mainwp_cron() +- [`mainwp_text_format_email`](#mainwp_text_format_email) - Filter: mainwp_text_format_email +- [`mainwp_license_deactivated_alert_plain_text`](#mainwp_license_deactivated_alert_plain_text) - Method cron_deactivated_licenses_alert() +- [`mainwp_register_regular_sequence_process`](#mainwp_register_regular_sequence_process) - Method perform_sequence_process +- [`mainwp_try_visit_follow_location`](#mainwp_try_visit_follow_location) - Method try visit. +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method try visit. +- [`mainwp_fetch_urls_chunk_size`](#mainwp_fetch_urls_chunk_size) - Method fetch_urls_authed() +- [`mainwp_init_primary_menu_items`](#mainwp_init_primary_menu_items) - Method init_mainwp_menu_items() +- [`mainwp_is_disable_menu_item`](#mainwp_is_disable_menu_item) - Method is_disable_menu_item +- [`mainwp_main_menu`](#mainwp_main_menu) - Filter: mainwp_main_menu +- [`mainwp_main_menu_submenu`](#mainwp_main_menu_submenu) - Filter: mainwp_main_menu_submenu +- [`mainwp_go_back_wpadmin_link`](#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_go_back_wpadmin_link`](#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_get_template`](#mainwp_get_template) - Filter: mainwp_get_template +- [`mainwp_locate_template`](#mainwp_locate_template) - Filer: mainwp_locate_template +- [`mainwp_get_notification_template_name_by_type`](#mainwp_get_notification_template_name_by_type) - Get default template name by email/notification type. +- [`mainwp_default_template_source_dir`](#mainwp_default_template_source_dir) - Method handle_template_file_action() +- [`mainwp_module_log_record_array`](#mainwp_module_log_record_array) - Filter allows modification of record information +- [`mainwp_module_log_query_args`](#mainwp_module_log_query_args) - Filter allows additional arguments to query $args +- [`mainwp_module_log_current_agent`](#mainwp_module_log_current_agent) - Filter the current agent string +- [`mainwp_module_log_agent_label`](#mainwp_module_log_agent_label) - Filter agent labels +- [`mainwp_module_log_connectors`](#mainwp_module_log_connectors) - Allows for adding additional connectors via classes that extend Connector. +- [`mainwp_insights_getmetaboxes`](#mainwp_insights_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_module_log_overview_enabled_widgets`](#mainwp_module_log_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_log_widgets_screen_options`](#mainwp_module_log_widgets_screen_options) - Filter: mainwp_module_log_widgets_screen_options +- [`mainwp_cost_summary_getmetaboxes`](#mainwp_cost_summary_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_module_cost_tracker_summary_enabled_widgets`](#mainwp_module_cost_tracker_summary_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_cost_tracker_summary_widgets_screen_options`](#mainwp_module_cost_tracker_summary_widgets_screen_options) - Filter: mainwp_module_cost_tracker_summary_widgets_screen_options +- [`mainwp_module_cost_tracker_upcoming_renewals_widget_title`](#mainwp_module_cost_tracker_upcoming_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_yearly_renewals_widget_title`](#mainwp_module_cost_tracker_yearly_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_monthly_renewals_widget_title`](#mainwp_module_cost_tracker_monthly_renewals_widget_title) - *Arguments* +- [`mainwp_getmetaboxes`](#mainwp_getmetaboxes) - Method on_load_page_dashboard() +- [`mainwp_overview_enabled_widgets`](#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_enabled_widgets`](#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_cron_jobs_table_features`](#mainwp_cron_jobs_table_features) - Filter: mainwp_cron_jobs_table_features +- [`mainwp_menu_extensions_left_menu`](#mainwp_menu_extensions_left_menu) - Method init_extensions_menu() +- [`mainwp_notes_widget_title`](#mainwp_notes_widget_title) - *Arguments* +- [`mainwp_widgets_chart_date_format`](#mainwp_widgets_chart_date_format) - Prepare response time for ui chart data. +- [`mainwp_get_started_widget_title`](#mainwp_get_started_widget_title) - *Arguments* +- [`mainwp_non_mainwp_changes_widget_title`](#mainwp_non_mainwp_changes_widget_title) - *Arguments* + +## Hook Details + +### `mainwp-activated` + +*MainWP_System constructor.* + +Runs any time class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`'4.0.7.2'` | | +`'mainwp_activated'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 82](class/class-mainwp-system.php#L82-L246) + + + +### `deprecated_hook_run` + +*Display a deprecated notice for old hooks.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$old_hook` | `string` | Old hook. +`$new_hook` | `string` | New hook. +`$version` | | +`$message` | `string` | message. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-deprecated-hooks.php](class/class-mainwp-deprecated-hooks.php), [line 152](class/class-mainwp-deprecated-hooks.php#L152-L166) + + + +### `mainwp_before_log_data` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$text` | `string` | Log record text. +`$priority` | `int` | Set priority. +`$log_color` | `int` | Set color. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L465) + + + +### `mainwp_before_seclect_sites` + +*Action: mainwp_before_seclect_sites* + +Fires before the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 72](class/class-mainwp-ui.php#L72-L79) + + + +### `mainwp_after_seclect_sites` + +*Action: mainwp_after_seclect_sites* + +Fires after the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 85](class/class-mainwp-ui.php#L85-L92) + + + +### `mainwp_overview_screen_options_top` + +*Action: mainwp_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 823](class/class-mainwp-ui.php#L823-L830) + + + +### `mainwp_overview_screen_options_bottom` + +*Action: mainwp_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 837](class/class-mainwp-ui.php#L837-L844) + + + +### `mainwp_before_subheader` + +*Action: mainwp_before_subheader* + +Fires before the MainWP sub-header element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1152](class/class-mainwp-ui.php#L1152-L1159) + + + +### `mainwp_subheader_actions` + +*Action: mainwp_subheader_actions* + +Fires at the subheader element to hook available actions. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1188](class/class-mainwp-ui.php#L1188-L1195) + + + +### `mainwp_after_subheader` + +*Action: mainwp_after_subheader* + +Fires after the MainWP sub-header element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1201](class/class-mainwp-ui.php#L1201-L1208) + + + +### `mainwp_before_upload_custom_icon` + +*Action: mainwp_after_upload_custom_icon* + +Fires before the modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1931](class/class-mainwp-ui.php#L1931-L1938) + + + +### `mainwp_after_upload_custom_icon` + +*Action: mainwp_after_upload_custom_icon* + +Fires after the modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1961](class/class-mainwp-ui.php#L1961-L1968) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2480](class/class-mainwp-ui.php#L2480-L2487) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2572](class/class-mainwp-ui.php#L2572-L2579) + + + +### `mainwp-sitestable-prepared-items` + +*Action is being replaced with mainwp_sitestable_prepared_items* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($websites, $site_ids)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_prepared_items'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1018](class/class-mainwp-manage-sites-list-table.php#L1018-L1023) + + + +### `mainwp_sitestable_prepared_items` + +*Action: mainwp_sitestable_prepared_items* + +Fires before the Sites table itemes are prepared. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites data. +`$site_ids` | `array` | Array containing IDs of all child sites. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1025](class/class-mainwp-manage-sites-list-table.php#L1025-L1035) + + + +### `mainwp_cronload_action` + +*Action: mainwp_cronload_action* + +Hooks MainWP cron jobs actions. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 61](class/class-mainwp-system-cron-jobs.php#L61-L68) + + + +### `mainwp_admin_menu` + +*Action: mainwp_admin_menu* + +Hooks main navigation menu items. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 303](class/class-mainwp-menu.php#L303-L310) + + + +### `mainwp_admin_menu_sub` + +*Action: mainwp_admin_menu_sub* + +Hooks main navigation sub-menu items. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 450](class/class-mainwp-menu.php#L450-L457) + + + +### `before_mainwp_menu` + +*Action: before_mainwp_menu* + +Fires before the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 709](class/class-mainwp-menu.php#L709-L716) + + + +### `after_mainwp_menu` + +*Action: after_mainwp_menu* + +Fires after the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 951](class/class-mainwp-menu.php#L951-L958) + + + +### `before_mainwp_menu` + +*Action: before_mainwp_menu* + +Fires before the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1073](class/class-mainwp-menu.php#L1073-L1080) + + + +### `after_mainwp_menu` + +*Action: after_mainwp_menu* + +Fires after the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1271](class/class-mainwp-menu.php#L1271-L1278) + + + +### `mainwp_before_seclect_sites` + +*Action: mainwp_before_seclect_sites* + +Fires before the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 96](class/class-mainwp-ui-select-sites.php#L96-L103) + + + +### `mainwp_after_seclect_sites` + +*Action: mainwp_after_seclect_sites* + +Fires after the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 124](class/class-mainwp-ui-select-sites.php#L124-L131) + + + +### `mainwp_extensions_top_header_after_tab` + +*Method render_header()* + +Render page header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$shownPage` | `string` | The page slug shown at this moment. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 50](class/class-mainwp-extensions-view.php#L50-L99) + + + +### `mainwp_before_template_part` + +*Action: mainwp_before_template_part* + +Fires before the email template is loaded. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_name` | `string` | Template name. +`$located` | `resource` | Template file. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 166](class/class-mainwp-notification-template.php#L166-L177) + + + +### `mainwp_after_template_part` + +*Action: mainwp_after_template_part* + +Fires after the email template is loaded. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_name` | `string` | Template name. +`$located` | `resource` | Template file. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 181](class/class-mainwp-notification-template.php#L181-L192) + + + +### `mainwp_removed_extension_menu` + +*Remove Extensions menu from MainWP Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-extension-handler.php](class/class-mainwp-post-extension-handler.php), [line 408](class/class-mainwp-post-extension-handler.php#L408-L427) + + + +### `mainwp_daily_digest_email_header` + +*Daily Digest Email Header* + +Fires at the top of the daily digest email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-daily-digest-email.php](templates/emails/mainwp-daily-digest-email.php), [line 29](templates/emails/mainwp-daily-digest-email.php#L29-L36) + + + +### `mainwp_daily_digest_email_footer` + +*Daily Digest Email Footer* + +Fires at the bottom of the daily digest email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-daily-digest-email.php](templates/emails/mainwp-daily-digest-email.php), [line 177](templates/emails/mainwp-daily-digest-email.php#L177-L184) + + + +### `mainwp_module_log_record_insert_error` + +*Fires on a record insertion error* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record` | `array` | +`false` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 77](modules/logs/classes/class-log-db.php#L77-L83) + + + +### `mainwp_module_log_record_inserted` + +*Fires after a record has been inserted* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record_id` | `int` | +`$record` | `array` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 88](modules/logs/classes/class-log-db.php#L88-L94) + + + +### `mainwp_compact_action` + +*Create compact logs and erase records from the database.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'saved'` | | +`$year` | | +`$year_data` | | +`$start_time` | `int` | start time to compact. +`$end_time` | `int` | end time to compact. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 205](modules/logs/classes/class-log-db.php#L205-L266) + + + +### `mainwp_log_action` + +*Schedules a purge of records.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'module log :: purge logs schedule start.'` | | +`MainWP_Logger::LOGS_AUTO_PURGE_LOG_PRIORITY` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-admin.php](modules/logs/classes/class-log-admin.php), [line 192](modules/logs/classes/class-log-admin.php#L192-L217) + + + +### `mainwp_module_dashboard_insights_help_item` + +*Action: mainwp_module_dashboard_insights_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Insights page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-admin.php](modules/logs/classes/class-log-admin.php), [line 309](modules/logs/classes/class-log-admin.php#L309-L320) + + + +### `mainwp_module_log_after_connectors_registration` + +*Fires after all connectors have been registered.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$labels` | `array` | All register connectors labels array +`$this` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 179](modules/logs/classes/class-log-connectors.php#L179-L185) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'insights'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 910](modules/logs/pages/page-log-insights-page.php#L910-L917) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'insights'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 932](modules/logs/pages/page-log-insights-page.php#L932-L939) + + + +### `mainwp_module_log_overview_screen_options_top` + +*Action: mainwp_module_log_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 969](modules/logs/pages/page-log-insights-page.php#L969-L976) + + + +### `mainwp_module_log_overview_screen_options_bottom` + +*Action: mainwp_module_log_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 983](modules/logs/pages/page-log-insights-page.php#L983-L990) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1057](modules/logs/pages/page-log-insights-page.php#L1057-L1064) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1093](modules/logs/pages/page-log-insights-page.php#L1093-L1100) + + + +### `mainwp_logs_manage_table_top` + +*Action: mainwp_logs_manage_table_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-manage-insights-events-page.php](modules/logs/pages/page-log-manage-insights-events-page.php), [line 186](modules/logs/pages/page-log-manage-insights-events-page.php#L186-L193) + + + +### `mainwp_logs_manage_table_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-manage-insights-events-page.php](modules/logs/pages/page-log-manage-insights-events-page.php), [line 200](modules/logs/pages/page-log-manage-insights-events-page.php#L200-L207) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'users'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-users-widget.php](modules/logs/widgets/widget-log-users-widget.php), [line 91](modules/logs/widgets/widget-log-users-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'users'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-users-widget.php](modules/logs/widgets/widget-log-users-widget.php), [line 106](modules/logs/widgets/widget-log-users-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'pages'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-pages-widget.php](modules/logs/widgets/widget-log-pages-widget.php), [line 91](modules/logs/widgets/widget-log-pages-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'pages'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-pages-widget.php](modules/logs/widgets/widget-log-pages-widget.php), [line 106](modules/logs/widgets/widget-log-pages-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Actoin: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-recent-events-widget.php](modules/logs/widgets/widget-log-recent-events-widget.php), [line 85](modules/logs/widgets/widget-log-recent-events-widget.php#L85-L92) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-recent-events-widget.php](modules/logs/widgets/widget-log-recent-events-widget.php), [line 100](modules/logs/widgets/widget-log-recent-events-widget.php#L100-L107) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugins'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-plugins-widget.php](modules/logs/widgets/widget-log-plugins-widget.php), [line 91](modules/logs/widgets/widget-log-plugins-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugins'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-plugins-widget.php](modules/logs/widgets/widget-log-plugins-widget.php), [line 106](modules/logs/widgets/widget-log-plugins-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wp'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-wp-widget.php](modules/logs/widgets/widget-log-graph-wp-widget.php), [line 76](modules/logs/widgets/widget-log-graph-wp-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wp'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-wp-widget.php](modules/logs/widgets/widget-log-graph-wp-widget.php), [line 91](modules/logs/widgets/widget-log-graph-wp-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-status-widget.php](modules/logs/widgets/widget-log-graph-status-widget.php), [line 76](modules/logs/widgets/widget-log-graph-status-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-status-widget.php](modules/logs/widgets/widget-log-graph-status-widget.php), [line 91](modules/logs/widgets/widget-log-graph-status-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-clients-widget.php](modules/logs/widgets/widget-log-graph-clients-widget.php), [line 76](modules/logs/widgets/widget-log-graph-clients-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-clients-widget.php](modules/logs/widgets/widget-log-graph-clients-widget.php), [line 91](modules/logs/widgets/widget-log-graph-clients-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-plugins-widget.php](modules/logs/widgets/widget-log-graph-plugins-widget.php), [line 76](modules/logs/widgets/widget-log-graph-plugins-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-plugins-widget.php](modules/logs/widgets/widget-log-graph-plugins-widget.php), [line 91](modules/logs/widgets/widget-log-graph-plugins-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'php'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-php-widget.php](modules/logs/widgets/widget-log-graph-php-widget.php), [line 76](modules/logs/widgets/widget-log-graph-php-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'php'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-php-widget.php](modules/logs/widgets/widget-log-graph-php-widget.php), [line 91](modules/logs/widgets/widget-log-graph-php-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-themes-widget.php](modules/logs/widgets/widget-log-themes-widget.php), [line 91](modules/logs/widgets/widget-log-themes-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-themes-widget.php](modules/logs/widgets/widget-log-themes-widget.php), [line 106](modules/logs/widgets/widget-log-themes-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'core'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-sites-widget.php](modules/logs/widgets/widget-log-sites-widget.php), [line 92](modules/logs/widgets/widget-log-sites-widget.php#L92-L99) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'core'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-sites-widget.php](modules/logs/widgets/widget-log-sites-widget.php), [line 107](modules/logs/widgets/widget-log-sites-widget.php#L107-L114) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-tags-widget.php](modules/logs/widgets/widget-log-graph-tags-widget.php), [line 78](modules/logs/widgets/widget-log-graph-tags-widget.php#L78-L85) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-tags-widget.php](modules/logs/widgets/widget-log-graph-tags-widget.php), [line 93](modules/logs/widgets/widget-log-graph-tags-widget.php#L93-L100) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'posts'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-posts-widget.php](modules/logs/widgets/widget-log-posts-widget.php), [line 91](modules/logs/widgets/widget-log-posts-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'posts'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-posts-widget.php](modules/logs/widgets/widget-log-posts-widget.php), [line 106](modules/logs/widgets/widget-log-posts-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-themes-widget.php](modules/logs/widgets/widget-log-graph-themes-widget.php), [line 76](modules/logs/widgets/widget-log-graph-themes-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-themes-widget.php](modules/logs/widgets/widget-log-graph-themes-widget.php), [line 91](modules/logs/widgets/widget-log-graph-themes-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-clients-widget.php](modules/logs/widgets/widget-log-clients-widget.php), [line 91](modules/logs/widgets/widget-log-clients-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-clients-widget.php](modules/logs/widgets/widget-log-clients-widget.php), [line 106](modules/logs/widgets/widget-log-clients-widget.php#L106-L113) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 373](modules/cost-tracker/classes/class-cost-tracker-summary.php#L373-L380) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 393](modules/cost-tracker/classes/class-cost-tracker-summary.php#L393-L400) + + + +### `mainwp_module_cost_tracker_summary_screen_options_top` + +*Action: mainwp_module_cost_tracker_summary_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 437](modules/cost-tracker/classes/class-cost-tracker-summary.php#L437-L444) + + + +### `mainwp_module_cost_tracker_summary_screen_options_bottom` + +*Action: mainwp_module_cost_tracker_summary_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 451](modules/cost-tracker/classes/class-cost-tracker-summary.php#L451-L458) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 515](modules/cost-tracker/classes/class-cost-tracker-summary.php#L515-L522) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 551](modules/cost-tracker/classes/class-cost-tracker-summary.php#L551-L558) + + + +### `mainwp_module_upcoming_renewals_before_costs_list` + +*Action: mainwp_module_upcoming_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 185](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L185-L195) + + + +### `mainwp_module_upcoming_renewals_after_costs_list` + +*Action: mainwp_module_upcoming_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 223](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L223-L233) + + + +### `mainwp_module_yearly_renewals_before_costs_list` + +*Action: mainwp_module_yearly_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 193](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L193-L203) + + + +### `mainwp_module_yearly_renewals_after_costs_list` + +*Action: mainwp_module_yearly_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 243](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L243-L253) + + + +### `mainwp_module_monthly_renewals_before_costs_list` + +*Action: mainwp_module_monthly_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 190](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L190-L200) + + + +### `mainwp_module_monthly_renewals_after_costs_list` + +*Action: mainwp_module_monthly_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 240](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L240-L250) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'payment-left-for-this-month'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'payment-left-for-this-month'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php#L79-L86) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'monthly-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'monthly-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php#L79-L86) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'category-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'category-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php#L79-L86) + + + +### `mainwp_reset_admin_pass_modal_top` + +*Action: mainwp_reset_admin_pass_modal_top* + +Fires at the top of the Update Admin Passwords modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 193](pages/page-mainwp-bulk-update-admin-passwords.php#L193-L200) + + + +### `mainwp_reset_admin_pass_modal_bottom` + +*Action: mainwp_reset_admin_pass_modal_bottom* + +Fires at the bottom of the Update Admin Passwords modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 213](pages/page-mainwp-bulk-update-admin-passwords.php#L213-L220) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'dashboard'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 382](pages/page-mainwp-overview.php#L382-L389) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'dashboard'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 395](pages/page-mainwp-overview.php#L395-L402) + + + +### `mainwp_before_server_info_table` + +*Action: mainwp_before_server_info_table* + +Fires on the top of the Info page, before the Server Info table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 422](pages/page-mainwp-server-information.php#L422-L429) + + + +### `mainwp_after_server_info_table` + +*Action: mainwp_after_server_info_table* + +Fires on the bottom of the Info page, after the Server Info table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 567](pages/page-mainwp-server-information.php#L567-L574) + + + +### `mainwp_before_cron_jobs_table` + +*Action: mainwp_before_cron_jobs_table* + +Renders on the top of the Cron Jobs page, before the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1044](pages/page-mainwp-server-information.php#L1044-L1051) + + + +### `mainwp_after_cron_jobs_table` + +*Action: mainwp_after_cron_jobs_table* + +Renders on the bottom of the Cron Jobs page, after the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1181](pages/page-mainwp-server-information.php#L1181-L1188) + + + +### `mainwp_before_error_log_table` + +*Action: mainwp_before_error_log_table* + +Fires before the Error Log table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1449](pages/page-mainwp-server-information.php#L1449-L1456) + + + +### `mainwp_after_error_log_table` + +*Action: mainwp_after_error_log_table* + +Fires after the Error Log table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1501](pages/page-mainwp-server-information.php#L1501-L1508) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 316](pages/page-mainwp-client-overview.php#L316-L323) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 329](pages/page-mainwp-client-overview.php#L329-L336) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 456](pages/page-mainwp-client-overview.php#L456-L463) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 492](pages/page-mainwp-client-overview.php#L492-L499) + + + +### `mainwp_added_extension_menu` + +*Adds Extension to the navigation menu* + +Adds Extension instance to the Extensions located in the main MainWP navigation menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$slug` | `string` | Extension slug. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 345](pages/page-mainwp-extensions-handler.php#L345-L354) + + + +### `mainwp_notes_widget_top` + +*Action: mainwp_notes_widget_top* + +Fires at the top of the Notes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 70](widgets/widget-mainwp-notes.php#L70-L79) + + + +### `mainwp_notes_widget_bottom` + +*Action: mainwp_notes_widget_bottom* + +Fires at the bottom of the Notes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 95](widgets/widget-mainwp-notes.php#L95-L104) + + + +### `mainwp_get_started_widget_top` + +*Action: mainwp_get_started_widget_top* + +Fires top the widget. + + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 93](widgets/widget-mainwp-get-started.php#L93-L100) + + + +### `mainwp_get_started_widget_bottom` + +*Action: mainwp_get_started_widget_bottom* + +Fires bottom the widget. + + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 135](widgets/widget-mainwp-get-started.php#L135-L142) + + + +### `mainwp_non_mainwp_changes_widget_top` + +*Actoin: mainwp_non_mainwp_changes_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 150](widgets/widget-mainwp-site-actions.php#L150-L159) + + + +### `mainwp_non_mainwp_changes_table_top` + +*Action: mainwp_non_mainwp_changes_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 162](widgets/widget-mainwp-site-actions.php#L162-L171) + + + +### `mainwp_non_mainwp_changes_table_bottom` + +*Action: mainwp_non_mainwp_changes_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 180](widgets/widget-mainwp-site-actions.php#L180-L189) + + + +### `mainwp_non_mainwp_changes_widget_bottom` + +*Action: mainwp_non_mainwp_changes_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 205](widgets/widget-mainwp-site-actions.php#L205-L214) + + + +### `mainwp_disablemenuitems` + +*Method init()* + +Instantiate Plugin. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 584](class/class-mainwp-system.php#L584-L598) + + + +### `mainwp_main_menu_disable_menu_items` + +*Filter: mainwp_main_menu_disable_menu_items* + +Filters disabled MainWP navigation items. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 600](class/class-mainwp-system.php#L600-L607) + + + +### `mainwp_ui_use_wp_calendar` + +*Filter: mainwp_ui_use_wp_calendar* + +Filters whether default jQuery datepicker should be used to avoid potential problems with Senatic UI Calendar library. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0.5` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 821](class/class-mainwp-system.php#L821-L828) + + + +### `mainwp_admin_enqueue_scripts` + +*Method admin_enqueue_scripts()* + +Enqueue all Mainwp Admin Scripts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 1053](class/class-mainwp-system.php#L1053-L1102) + + + +### `mainwp_all_disablemenuitems` + +*Method admin_footer()* + +Create MainWP admin footer. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 1240](class/class-mainwp-system.php#L1240-L1330) + + + +### `minwp_notification_template_copy_message` + +*Use mainwp_notification_template_copy_message instead.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$templ` | | +`$type` | | +`$overrided` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 330](class/class-mainwp-notification-settings.php#L330-L336) + + + +### `mainwp_notification_template_copy_message` + +*Filter mainwp_notification_template_copy_message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$copy_message` | | +`$templ` | | +`$type` | | +`$overrided` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 337](class/class-mainwp-notification-settings.php#L337-L343) + + + +### `mainwp_notification_type_desc` + +*Get email settings description.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$type` | `string` | Email notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 378](class/class-mainwp-notification-settings.php#L378-L399) + + + +### `mainwp_notification_types` + +*Get email notification types.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$type` | `string` | Email notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 426](class/class-mainwp-notification-settings.php#L426-L447) + + + +### `mainwp_default_emails_fields` + +*Get default email notifications values.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$recipients` | | +`$type` | `string` | Email type. +`$field` | `string` | Field name. +`$general` | `bool` | General or individual site settings. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 551](class/class-mainwp-notification-settings.php#L551-L600) + + + +### `mainwp-getmetaboxes` + +*Method apply_filter()* + +Apply filter + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($value)` | | +`'4.0.7.2'` | | +`'mainwp_getmetaboxes'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-handler.php](class/class-mainwp-system-handler.php), [line 188](class/class-mainwp-system-handler.php#L188-L203) + + + +### `{$filter}` + +*Method apply_filter()* + +Apply filter + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | `array` | Input value. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-handler.php](class/class-mainwp-system-handler.php), [line 188](class/class-mainwp-system-handler.php#L188-L205) + + + +### `mainwp_log_status` + +*MainWP_Logger constructor.* + +Run each time the class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$enabled` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 129](class/class-mainwp-logger.php#L129-L141) + + + +### `mainwp_log_specific` + +*MainWP_Logger constructor.* + +Run each time the class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 129](class/class-mainwp-logger.php#L129-L142) + + + +### `mainwp_log_to_db_data` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L495) + + + +### `mainwp_file_uploader_size_limit` + +*Filter: 'mainwp_file_uploader_size_limit'* + +Filters the maximum upload file size. Default: 8388608 Bytes (B) = 8 Megabytes (MB) + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sizeLimit` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-qq2-file-uploader.php](class/class-mainwp-qq2-file-uploader.php), [line 56](class/class-mainwp-qq2-file-uploader.php#L56-L63) + + + +### `mainwp_menu_logo_href` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`admin_url('admin.php?page=mainwp_tab')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 889](class/class-mainwp-ui.php#L889-L889) + + + +### `mainwp_menu_logo_src` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`MAINWP_PLUGIN_URL . 'assets/images/mainwp-icon.svg'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 901](class/class-mainwp-ui.php#L901-L901) + + + +### `mainwp_menu_logo_alt` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MainWP'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 912](class/class-mainwp-ui.php#L912-L912) + + + +### `mainwp_header_actions_right` + +*Filter: mainwp_header_actions_right* + +Filters the MainWP header element actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1345](class/class-mainwp-ui.php#L1345-L1352) + + + +### `mainwp_screen_options_pulse_control` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1428) + + + +### `mainwp_do_widget_boxes_sorted` + +*Method do_widget_boxes()* + +Customize WordPress do_meta_boxes() function. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$wgsorted` | | +`$page` | | +`$client_id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1605](class/class-mainwp-ui.php#L1605-L1663) + + + +### `mainwp_widget_boxes_show_widgets` + +*Method do_widget_boxes()* + +Customize WordPress do_meta_boxes() function. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$page` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1605](class/class-mainwp-ui.php#L1605-L1670) + + + +### `mainwp-widgets-screen-options` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_widgets_screen_options'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2455) + + + +### `mainwp_widgets_screen_options` + +*Filter: mainwp_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2457](class/class-mainwp-ui.php#L2457-L2464) + + + +### `mainwp_format_email` + +*Method format_email()* + +Format email. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mail_send` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-format.php](class/class-mainwp-format.php), [line 212](class/class-mainwp-format.php#L212-L579) + + + +### `mainwp-sitestable-item` + +*Filter is being replaced with mainwp_sitestable_item* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($item, $item)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_item'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 180](class/class-mainwp-manage-sites-list-table.php#L180-L185) + + + +### `mainwp_sitestable_item` + +*Filter: mainwp_sitestable_item* + +Filters the Manage Sites table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$column_name` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 187](class/class-mainwp-manage-sites-list-table.php#L187-L196) + + + +### `mainwp-sitestable-getcolumns` + +*Filter is being replaced with mainwp_sitestable_getcolumns* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($columns, $columns)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_getcolumns'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 322](class/class-mainwp-manage-sites-list-table.php#L322-L327) + + + +### `mainwp_sitestable_getcolumns` + +*Filter: mainwp_sitestable_getcolumns* + +Filters the Manage Sites table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 329](class/class-mainwp-manage-sites-list-table.php#L329-L338) + + + +### `mainwp_sitestable_prepare_extra_view` + +*Prepare the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('favi_icon', 'health_site_status')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 694](class/class-mainwp-manage-sites-list-table.php#L694-L719) + + + +### `mainwp_sitestable_display_row_columns` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$column_name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1554](class/class-mainwp-manage-sites-list-table.php#L1554-L1722) + + + +### `mainwp_sitestable_render_column` + +*Columns for a single row.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$column_name` | | +`$website` | `mixed` | Child Site. +`$classes` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1971](class/class-mainwp-manage-sites-list-table.php#L1971-L2166) + + + +### `mainwp_open_hide_referrer` + +*Filter: mainwp_open_hide_referrer* + +Filters whether the MainWP should hide referrer when going to child site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 823](class/class-mainwp-system-view.php#L823-L830) + + + +### `mainwp_is_enable_schedule_job` + +*Method init_mainwp_cron()* + +Schedual Cron Jobs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$useWPCron` | `mixed` | Wether or not to use WP_Cron. +`$cron_hook` | `mixed` | When cron is going to reoccur. +`$recurrence` | `mixed` | Cron job hook. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 147](class/class-mainwp-system-cron-jobs.php#L147-L158) + + + +### `mainwp_text_format_email` + +*Filter: mainwp_text_format_email* + +Filters whether the email shuld bein plain text format. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plain_text` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.5` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 629](class/class-mainwp-system-cron-jobs.php#L629-L636) + + + +### `mainwp_license_deactivated_alert_plain_text` + +*Method cron_deactivated_licenses_alert()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plain_text` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1356](class/class-mainwp-system-cron-jobs.php#L1356-L1377) + + + +### `mainwp_register_regular_sequence_process` + +*Method perform_sequence_process* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1692](class/class-mainwp-system-cron-jobs.php#L1692-L1699) + + + +### `mainwp_try_visit_follow_location` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L76) + + + +### `mainwp_curl_curlopt_resolve` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`false` | | +`$url` | `string` | Child Site URL. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L106) + + + +### `mainwp_fetch_urls_chunk_size` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$chunkSize` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L719) + + + +### `mainwp_init_primary_menu_items` + +*Method init_mainwp_menu_items()* + +Init MainWP menus. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$menus_items` | `array` | menus items. +`$part` | `string` | menus part. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 332](class/class-mainwp-menu.php#L332-L345) + + + +### `mainwp_is_disable_menu_item` + +*Method is_disable_menu_item* + +Check if $_mainwp_disable_menus_items contains any menu items to hide. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$disabled` | | +`$level` | `string` | The level the menu item is on. +`$item` | `array\|string` | The menu items meta data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 529](class/class-mainwp-menu.php#L529-L552) + + + +### `mainwp_main_menu` + +*Filter: mainwp_main_menu* + +Filters main navigation menu items + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_leftmenu` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 684](class/class-mainwp-menu.php#L684-L691) + + + +### `mainwp_main_menu_submenu` + +*Filter: mainwp_main_menu_submenu* + +Filters main navigation subt-menu items + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_sub_leftmenu` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 694](class/class-mainwp-menu.php#L694-L702) + + + +### `mainwp_go_back_wpadmin_link` + +*Filter: mainwp_go_back_wpadmin_link* + +Filters URL for the Go to WP Admin button in Main navigation. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$link` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 799](class/class-mainwp-menu.php#L799-L806) + + + +### `mainwp_go_back_wpadmin_link` + +*Filter: mainwp_go_back_wpadmin_link* + +Filters URL for the Go to WP Admin button in Main navigation. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$link` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1242](class/class-mainwp-menu.php#L1242-L1249) + + + +### `mainwp_get_template` + +*Filter: mainwp_get_template* + +Filters available templates and adds support for 3rd party templates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template` | | +`$template_name` | `string` | Template name. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 140](class/class-mainwp-notification-template.php#L140-L150) + + + +### `mainwp_locate_template` + +*Filer: mainwp_locate_template* + +Filters the template location. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template` | | +`$template_name` | `string` | Template name. +`$template_path` | `string` | Template path. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 265](class/class-mainwp-notification-template.php#L265-L275) + + + +### `mainwp_get_notification_template_name_by_type` + +*Get default template name by email/notification type.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$type` | `string` | email/notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 293](class/class-mainwp-notification-template.php#L293-L309) + + + +### `mainwp_default_template_source_dir` + +*Method handle_template_file_action()* + +Handle template file action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_path` | | +`$templ_base_name` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 318](class/class-mainwp-notification-template.php#L318-L352) + + + +### `mainwp_module_log_record_array` + +*Filter allows modification of record information* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record` | `array` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 59](modules/logs/classes/class-log-db.php#L59-L66) + + + +### `mainwp_module_log_query_args` + +*Filter allows additional arguments to query $args* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 162](modules/logs/classes/class-log-db.php#L162-L167) + + + +### `mainwp_module_log_current_agent` + +*Filter the current agent string* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$agent` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 241](modules/logs/classes/class-log-author.php#L241-L246) + + + +### `mainwp_module_log_agent_label` + +*Filter agent labels* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$label` | | +`$agent` | `string` | Key representing agent. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 269](modules/logs/classes/class-log-author.php#L269-L276) + + + +### `mainwp_module_log_connectors` + +*Allows for adding additional connectors via classes that extend Connector.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$classes` | `array` | An array of Connector objects. +`$this->manager->log` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 97](modules/logs/classes/class-log-connectors.php#L97-L102) + + + +### `mainwp_insights_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 248](modules/logs/pages/page-log-insights-page.php#L248-L273) + + + +### `mainwp_module_log_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$enable_widgets` | | +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 284](modules/logs/pages/page-log-insights-page.php#L284-L294) + + + +### `mainwp_module_log_widgets_screen_options` + +*Filter: mainwp_module_log_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1039](modules/logs/pages/page-log-insights-page.php#L1039-L1046) + + + +### `mainwp_cost_summary_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 195](modules/cost-tracker/classes/class-cost-tracker-summary.php#L195-L220) + + + +### `mainwp_module_cost_tracker_summary_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$enable_widgets` | | +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 231](modules/cost-tracker/classes/class-cost-tracker-summary.php#L231-L241) + + + +### `mainwp_module_cost_tracker_summary_widgets_screen_options` + +*Filter: mainwp_module_cost_tracker_summary_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 497](modules/cost-tracker/classes/class-cost-tracker-summary.php#L497-L504) + + + +### `mainwp_module_cost_tracker_upcoming_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L59-L59) + + + +### `mainwp_module_cost_tracker_yearly_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Yearly Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L59-L59) + + + +### `mainwp_module_cost_tracker_monthly_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Monthly Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L59-L59) + + + +### `mainwp_getmetaboxes` + +*Method on_load_page_dashboard()* + +Add individual meta boxes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | +`$dashboard_siteid` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1401](pages/page-mainwp-manage-sites.php#L1401-L1436) + + + +### `mainwp_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`$dashboard_siteid` | `int` | Child site (Overview) ID. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1454](pages/page-mainwp-manage-sites.php#L1454-L1464) + + + +### `mainwp_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 230](pages/page-mainwp-overview.php#L230-L240) + + + +### `mainwp_cron_jobs_table_features` + +*Filter: mainwp_cron_jobs_table_features* + +Filters the Cron Schedules table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1155](pages/page-mainwp-server-information.php#L1155-L1162) + + + +### `mainwp_menu_extensions_left_menu` + +*Method init_extensions_menu()* + +Initiate left Extensions menus. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extensions_and_leftmenus` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 33](pages/page-mainwp-extensions-groups.php#L33-L824) + + + +### `mainwp_notes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Notes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 62](widgets/widget-mainwp-notes.php#L62-L62) + + + +### `mainwp_widgets_chart_date_format` + +*Prepare response time for ui chart data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$format_date` | | +`$params` | `array` | params. +`$slug` | `string` | for date format hook. + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-site-widget.php](widgets/widget-mainwp-uptime-monitoring-site-widget.php), [line 615](widgets/widget-mainwp-uptime-monitoring-site-widget.php#L615-L634) + + + +### `mainwp_get_started_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Get Started with MainWP', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 63](widgets/widget-mainwp-get-started.php#L63-L63) + + + +### `mainwp_non_mainwp_changes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Sites Changes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 127](widgets/widget-mainwp-site-actions.php#L127-L127) + + + diff --git a/mainwp-hooks-old/dashboard/actions/updates-maintenance/index.md b/mainwp-hooks-old/dashboard/actions/updates-maintenance/index.md new file mode 100644 index 0000000..7a5dfdd --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/updates-maintenance/index.md @@ -0,0 +1,6002 @@ +# Updates & Maintenance Actions + +Hooks for managing updates to plugins, themes, and WordPress core. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`deactivate_{$plugin}`](#deactivate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`activate_{$plugin}`](#activate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_activated`](#mainwp_activated) - Action: mainwp_activated +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_install_update_actions`](#mainwp_install_update_actions) - Fires immediately after install action. +- [`mainwp_install_plugin_action`](#mainwp_install_plugin_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_prepareinstallplugintheme`](#mainwp_prepareinstallplugintheme) - Method mainwp_ext_prepareinstallplugintheme() +- [`mainwp_performinstallplugintheme`](#mainwp_performinstallplugintheme) - Method mainwp_ext_performinstallplugintheme() +- [`mainwp_header_actions_after_select_themes`](#mainwp_header_actions_after_select_themes) - After select theme actions. +- [`mainwp_before_plugin_theme_install_progress`](#mainwp_before_plugin_theme_install_progress) - Action: mainwp_before_plugin_theme_install_progress +- [`mainwp_after_plugin_theme_install_progress`](#mainwp_after_plugin_theme_install_progress) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_install_plugin_theme_modal_action`](#mainwp_install_plugin_theme_modal_action) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_select_themes_modal_top`](#mainwp_select_themes_modal_top) - Action: mainwp_select_themes_modal_top +- [`mainwp_select_themes_modal_bottom`](#mainwp_select_themes_modal_bottom) - Action: mainwp_select_themes_modal_bottom +- [`mainwp_widget_updates_actions_top`](#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_updated_site`](#mainwp_updated_site) - Action: mainwp_updated_site +- [`mainwp_install_plugin_card_top`](#mainwp_install_plugin_card_top) - Action: mainwp_install_plugin_card_top +- [`mainwp_install_plugin_card_bottom`](#mainwp_install_plugin_card_bottom) - Action: mainwp_install_plugin_card_bottom +- [`mainwp_db_after_update`](#mainwp_db_after_update) - Method install() +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_delete_key_file`](#mainwp_delete_key_file) - Method update child api key. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_module_cost_tracker_email_header`](#mainwp_module_cost_tracker_email_header) - HTTP Check Email Header +- [`mainwp_module_cost_tracker_email_footer`](#mainwp_module_cost_tracker_email_footer) - HTTP Check Email Footer +- [`mainwp_plugins_actions_bar_left`](#mainwp_plugins_actions_bar_left) - Action: mainwp_plugins_actions_bar_left +- [`mainwp_plugins_actions_bar_right`](#mainwp_plugins_actions_bar_right) - Action: mainwp_plugins_actions_bar_right +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Action: mainwp_manage_plugins_sidebar_top +- [`mainwp_manage_plugins_before_select_sites`](#mainwp_manage_plugins_before_select_sites) - Action: mainwp_manage_plugins_before_select_sites +- [`mainwp_manage_plugins_after_select_sites`](#mainwp_manage_plugins_after_select_sites) - Action: mainwp_manage_plugins_after_select_sites +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Action: mainwp_manage_plugins_before_search_options +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Action: mainwp_manage_plugins_after_search_options +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Action: mainwp_manage_plugins_before_submit_button +- [`mainwp_manage_plugins_after_submit_button`](#mainwp_manage_plugins_after_submit_button) - Action: mainwp_manage_plugins_after_submit_button +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Action: mainwp_manage_plugins_sidebar_bottom +- [`mainwp_plugins_bulk_action`](#mainwp_plugins_bulk_action) - Action: mainwp_plugins_bulk_action +- [`mainwp_before_plugins_table`](#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_after_plugins_table`](#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_before_plugins_table`](#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_after_plugins_table`](#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_install_plugin_theme_tabs_header_top`](#mainwp_install_plugin_theme_tabs_header_top) - Render Install plugins Table. +- [`mainwp_install_plugins_actions_bar_right`](#mainwp_install_plugins_actions_bar_right) - Install Plugins actions bar (right) +- [`mainwp_install_plugins_actions_bar_left`](#mainwp_install_plugins_actions_bar_left) - Install Plugins actions bar (left) +- [`mainwp_bulk_install_tabs_content`](#mainwp_bulk_install_tabs_content) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_select_sites`](#mainwp_manage_plugins_before_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_select_sites`](#mainwp_manage_plugins_after_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_bulk_install_sidebar_submit_bottom`](#mainwp_bulk_install_sidebar_submit_bottom) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Render Install plugins Table. +- [`mainwp_plugins_auto_updates_bulk_action`](#mainwp_plugins_auto_updates_bulk_action) - Action: mainwp_plugins_auto_updates_bulk_action +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_submit_button`](#mainwp_manage_plugins_after_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Render Autoupdate SubPage. +- [`mainwp_plugins_before_auto_updates_table`](#mainwp_plugins_before_auto_updates_table) - Action: mainwp_plugins_before_auto_updates_table +- [`mainwp_plugins_after_auto_updates_table`](#mainwp_plugins_after_auto_updates_table) - Action: mainwp_plugins_after_auto_updates_table +- [`mainwp_plugins_before_ignored_updates`](#mainwp_plugins_before_ignored_updates) - Action: mainwp_plugins_before_ignored_updates +- [`mainwp_plugins_after_ignored_updates`](#mainwp_plugins_after_ignored_updates) - Action: mainwp_plugins_after_ignored_updates +- [`mainwp_plugins_before_ignored_abandoned`](#mainwp_plugins_before_ignored_abandoned) - Action: mainwp_plugins_before_ignored_abandoned +- [`mainwp_plugins_after_ignored_abandoned`](#mainwp_plugins_after_ignored_abandoned) - Action: mainwp_plugins_after_ignored_abandoned +- [`mainwp_plugins_help_item`](#mainwp_plugins_help_item) - Action: mainwp_plugins_help_item +- [`mainwp_applypluginsettings_{$ext_dir_slug}`](#mainwp_applypluginsettings_ext_dir_slug) - Apply plugin settings +- [`mainwp_admin_pass_sidebar_top`](#mainwp_admin_pass_sidebar_top) - Action: mainwp_admin_pass_sidebar_top +- [`mainwp_admin_pass_before_select_sites`](#mainwp_admin_pass_before_select_sites) - Action: mainwp_admin_pass_before_select_sites +- [`mainwp_admin_pass_after_select_sites`](#mainwp_admin_pass_after_select_sites) - Action: mainwp_admin_pass_after_select_sites +- [`mainwp_admin_pass_before_pass_form`](#mainwp_admin_pass_before_pass_form) - Action: mainwp_admin_pass_before_pass_form +- [`mainwp_admin_pass_after_pass_form`](#mainwp_admin_pass_after_pass_form) - Action: mainwp_admin_pass_after_pass_form +- [`mainwp_admin_pass_before_submit_button`](#mainwp_admin_pass_before_submit_button) - Action: mainwp_admin_pass_before_submit_button +- [`mainwp_admin_pass_after_submit_button`](#mainwp_admin_pass_after_submit_button) - Action: mainwp_admin_pass_after_submit_button +- [`mainwp_admin_pass_sidebar_bottom`](#mainwp_admin_pass_sidebar_bottom) - Action: mainwp_admin_pass_sidebar_bottom +- [`mainwp_client_updated`](#mainwp_client_updated) - Add client +- [`mainwp_update_site`](#mainwp_update_site) - Update site +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_plugin_action`](#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_after_plugin_action`](#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_cores_before_ignored_updates`](#mainwp_cores_before_ignored_updates) - Action: mainwp_cores_before_ignored_updates +- [`mainwp_cores_after_ignored_updates`](#mainwp_cores_after_ignored_updates) - Action: mainwp_cores_after_ignored_updates +- [`mainwp_update_backuptask`](#mainwp_update_backuptask) - Update backup task. +- [`mainwp_before_plugin_theme_install`](#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_before_plugin_theme_install`](#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_before_plugin_privacy_section`](#mainwp_before_plugin_privacy_section) - Action: mainwp_before_plugin_privacy_section +- [`mainwp_after_plugin_privacy_section`](#mainwp_after_plugin_privacy_section) - Action: mainwp_after_plugin_privacy_section +- [`mainwp_updates_before_wp_updates`](#mainwp_updates_before_wp_updates) - Action: mainwp_updates_before_wp_updates +- [`mainwp_updates_after_wp_updates`](#mainwp_updates_after_wp_updates) - Action: mainwp_updates_after_wp_updates +- [`mainwp_updates_before_plugin_updates`](#mainwp_updates_before_plugin_updates) - Action: mainwp_updates_before_plugin_updates +- [`mainwp_updates_perplugin_before_plugin_updates`](#mainwp_updates_perplugin_before_plugin_updates) - Action: mainwp_updates_perplugin_before_plugin_updates +- [`mainwp_updates_perplugin_after_plugin_updates`](#mainwp_updates_perplugin_after_plugin_updates) - Action: mainwp_updates_perplugin_after_plugin_updates +- [`mainwp_updates_after_plugin_updates`](#mainwp_updates_after_plugin_updates) - Action: mainwp_updates_after_plugin_updates +- [`mainwp_updates_before_theme_updates`](#mainwp_updates_before_theme_updates) - Action: mainwp_updates_before_theme_updates +- [`mainwp_updates_pertheme_before_theme_updates`](#mainwp_updates_pertheme_before_theme_updates) - Action: mainwp_updates_pertheme_before_theme_updates +- [`mainwp_updates_pertheme_after_theme_updates`](#mainwp_updates_pertheme_after_theme_updates) - Action: mainwp_updates_pertheme_after_theme_updates +- [`mainwp_updates_after_theme_updates`](#mainwp_updates_after_theme_updates) - Action: mainwp_updates_after_theme_updates +- [`mainwp_updates_before_translation_updates`](#mainwp_updates_before_translation_updates) - Action: mainwp_updates_before_translation_updates +- [`mainwp_updates_pertranslation_before_translation_updates`](#mainwp_updates_pertranslation_before_translation_updates) - Action: mainwp_updates_pertranslation_before_translation_updates +- [`mainwp_updates_pertranslation_after_translation_updates`](#mainwp_updates_pertranslation_after_translation_updates) - Action: mainwp_updates_pertranslation_after_translation_updates +- [`mainwp_updates_after_translation_updates`](#mainwp_updates_after_translation_updates) - Action: mainwp_updates_after_translation_updates +- [`mainwp_updates_before_abandoned_plugins`](#mainwp_updates_before_abandoned_plugins) - Action: mainwp_updates_before_abandoned_plugins +- [`mainwp_updates_perplugin_before_abandoned_plugins`](#mainwp_updates_perplugin_before_abandoned_plugins) - Action: mainwp_updates_perplugin_before_abandoned_plugins +- [`mainwp_updates_perplugin_after_abandoned_plugins`](#mainwp_updates_perplugin_after_abandoned_plugins) - Action: mainwp_updates_perplugin_after_abandoned_plugins +- [`mainwp_updates_after_abandoned_plugins`](#mainwp_updates_after_abandoned_plugins) - Action: mainwp_updates_after_abandoned_plugins +- [`mainwp_updates_before_abandoned_themes`](#mainwp_updates_before_abandoned_themes) - Action: mainwp_updates_before_abandoned_themes +- [`mainwp_updates_pertheme_before_abandoned_themes`](#mainwp_updates_pertheme_before_abandoned_themes) - Action: mainwp_updates_pertheme_before_abandoned_themes +- [`mainwp_updates_pertheme_after_abandoned_themes`](#mainwp_updates_pertheme_after_abandoned_themes) - Action: mainwp_updates_pertheme_after_abandoned_themes +- [`mainwp_updates_after_abandoned_themes`](#mainwp_updates_after_abandoned_themes) - Action: mainwp_updates_after_abandoned_themes +- [`mainwp_updates_before_nav_tabs`](#mainwp_updates_before_nav_tabs) - Action: mainwp_updates_before_nav_tabs +- [`mainwp_updates_after_nav_tabs`](#mainwp_updates_after_nav_tabs) - Action: mainwp_updates_after_nav_tabs +- [`mainwp_updates_before_actions_bar`](#mainwp_updates_before_actions_bar) - Action: mainwp_updates_before_actions_bar +- [`mainwp_widget_updates_actions_top`](#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_updates_after_actions_bar`](#mainwp_updates_after_actions_bar) - Action: mainwp_updates_after_actions_bar +- [`mainwp_updates_help_item`](#mainwp_updates_help_item) - Action: mainwp_updates_help_item +- [`mainwp_before_theme_action`](#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_after_theme_action`](#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_upgrade_wp_success`](#mainwp_after_upgrade_wp_success) - Method upgrade_site() +- [`mainwp_before_wp_update`](#mainwp_before_wp_update) - Action: mainwp_before_wp_update +- [`mainwp_after_wp_update`](#mainwp_after_wp_update) - Action: mainwp_after_wp_update +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_before_plugin_theme_unignore`](#mainwp_before_plugin_theme_unignore) - Action: mainwp_before_plugin_theme_unignore +- [`mainwp_before_plugin_unignore`](#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_after_plugin_unignore`](#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_before_theme_unignore`](#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_after_theme_unignore`](#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_before_plugin_unignore`](#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_after_plugin_unignore`](#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_before_theme_unignore`](#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_after_theme_unignore`](#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_after_core_unignore`](#mainwp_after_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_themes_actions_bar_left`](#mainwp_themes_actions_bar_left) - Action: mainwp_themes_actions_bar_left +- [`mainwp_themes_actions_bar_right`](#mainwp_themes_actions_bar_right) - Action: mainwp_themes_actions_bar_right +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Action: mainwp_manage_themes_sidebar_top +- [`mainwp_manage_themes_before_select_sites`](#mainwp_manage_themes_before_select_sites) - Action: mainwp_manage_themes_before_select_sites +- [`mainwp_manage_themes_after_select_sites`](#mainwp_manage_themes_after_select_sites) - Action: mainwp_manage_themes_after_select_sites +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Action: mainwp_manage_themes_before_search_options +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Action: mainwp_manage_themes_after_search_options +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Action: mainwp_manage_themes_before_submit_button +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Action: mainwp_manage_themes_after_submit_button +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Action: mainwp_manage_themes_sidebar_bottom +- [`mainwp_before_themes_table`](#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_after_themes_table`](#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_before_themes_table`](#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_after_themes_table`](#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_themes_bulk_action`](#mainwp_themes_bulk_action) - Action: mainwp_themes_bulk_action +- [`mainwp_install_plugin_theme_tabs_header_top`](#mainwp_install_plugin_theme_tabs_header_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_themes_actions_bar_right`](#mainwp_install_themes_actions_bar_right) - Install Themes actions bar (right) +- [`mainwp_install_themes_actions_bar_left`](#mainwp_install_themes_actions_bar_left) - Install Themes actions bar (left) +- [`mainwp_bulk_install_tabs_content`](#mainwp_bulk_install_tabs_content) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_select_sites`](#mainwp_manage_themes_before_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_select_sites`](#mainwp_manage_themes_after_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_install_sidebar_submit_bottom`](#mainwp_bulk_install_sidebar_submit_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_theme_card_template_bottom`](#mainwp_install_theme_card_template_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_themes_auto_updates_bulk_action`](#mainwp_themes_auto_updates_bulk_action) - Action: mainwp_themes_auto_updates_bulk_action +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Render the Themes Auto Update Tab. +- [`mainwp_themes_before_auto_updates_table`](#mainwp_themes_before_auto_updates_table) - Action: mainwp_themes_before_auto_updates_table +- [`mainwp_themes_after_auto_updates_table`](#mainwp_themes_after_auto_updates_table) - Action: mainwp_themes_after_auto_updates_table +- [`mainwp_themes_before_ignored_updates`](#mainwp_themes_before_ignored_updates) - Action: mainwp_themes_before_ignored_updates +- [`mainwp_themes_after_ignored_updates`](#mainwp_themes_after_ignored_updates) - Action: mainwp_themes_after_ignored_updates +- [`mainwp_themes_before_ignored_abandoned`](#mainwp_themes_before_ignored_abandoned) - Action: mainwp_themes_before_ignored_abandoned +- [`mainwp_themes_after_ignored_abandoned`](#mainwp_themes_after_ignored_abandoned) - Action: mainwp_themes_after_ignored_abandoned +- [`mainwp_themes_help_item`](#mainwp_themes_help_item) - Action: mainwp_themes_help_item +- [`mainwp_plugins_widget_top`](#mainwp_plugins_widget_top) - Action: mainwp_plugins_widget_top +- [`mainwp_before_active_plugins_list`](#mainwp_before_active_plugins_list) - Action: mainwp_before_active_plugins_list +- [`mainwp_after_active_plugins_list`](#mainwp_after_active_plugins_list) - Action: mainwp_after_active_plugins_list +- [`mainwp_before_inactive_plugins_list`](#mainwp_before_inactive_plugins_list) - Action: mainwp_before_inactive_plugins_list +- [`mainwp_after_inactive_plugins_list`](#mainwp_after_inactive_plugins_list) - Action: mainwp_after_inactive_plugins_list +- [`mainwp_plugins_widget_bottom`](#mainwp_plugins_widget_bottom) - Action: mainwp_plugins_widget_bottom +- [`mainwp_before_plugin_action`](#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_after_plugin_action`](#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_themes_widget_top`](#mainwp_themes_widget_top) - Action: mainwp_themes_widget_top +- [`mainwp_before_inactive_themes_list`](#mainwp_before_inactive_themes_list) - Action: mainwp_before_inactive_themes_list +- [`mainwp_after_inactive_themes_list`](#mainwp_after_inactive_themes_list) - Action: mainwp_after_inactive_themes_list +- [`mainwp_themes_widget_bottom`](#mainwp_themes_widget_bottom) - Action: mainwp_themes_widget_bottom +- [`mainwp_before_theme_action`](#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_after_theme_action`](#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_updates_overview_after_update_details`](#mainwp_updates_overview_after_update_details) - Action: mainwp_updates_overview_after_update_details +- [`mainwp_updates_overview_before_total_updates`](#mainwp_updates_overview_before_total_updates) - Action: mainwp_updates_overview_before_total_updates +- [`mainwp_updates_overview_after_total_updates`](#mainwp_updates_overview_after_total_updates) - Action: mainwp_updates_overview_after_total_updates +- [`mainwp_updates_overview_before_update_details`](#mainwp_updates_overview_before_update_details) - Action: mainwp_updates_overview_before_update_details +- [`mainwp_updates_overview_before_wordpress_updates`](#mainwp_updates_overview_before_wordpress_updates) - Action: mainwp_updates_overview_before_wordpress_updates +- [`mainwp_updates_overview_after_wordpress_updates`](#mainwp_updates_overview_after_wordpress_updates) - Action: mainwp_updates_overview_after_wordpress_updates +- [`mainwp_updates_overview_before_plugin_updates`](#mainwp_updates_overview_before_plugin_updates) - Action: mainwp_updates_overview_before_plugin_updates +- [`mainwp_updates_overview_after_plugin_updates`](#mainwp_updates_overview_after_plugin_updates) - Action: mainwp_updates_overview_after_plugin_updates +- [`mainwp_updates_overview_before_theme_updates`](#mainwp_updates_overview_before_theme_updates) - Action: mainwp_updates_overview_before_theme_updates +- [`mainwp_updates_overview_after_theme_updates`](#mainwp_updates_overview_after_theme_updates) - Action: mainwp_updates_overview_after_theme_updates +- [`mainwp_updates_overview_before_translation_updates`](#mainwp_updates_overview_before_translation_updates) - Action: mainwp_updates_overview_before_translation_updates +- [`mainwp_updates_overview_after_translation_updates`](#mainwp_updates_overview_after_translation_updates) - Action: mainwp_updates_overview_after_translation_updates +- [`mainwp_updates_overview_before_abandoned_plugins_themes`](#mainwp_updates_overview_before_abandoned_plugins_themes) - Action: mainwp_updates_overview_before_abandoned_plugins_themes +- [`mainwp_updates_overview_after_abandoned_plugins_themes`](#mainwp_updates_overview_after_abandoned_plugins_themes) - Action: mainwp_updates_overview_after_abandoned_plugins_themes +- [`mainwp_updatesoverview_widget_bottom`](#mainwp_updatesoverview_widget_bottom) - Action: mainwp_updatesoverview_widget_bottom +- [`mainwp_load_text_domain`](#mainwp_load_text_domain) - Method localization() +- [`mainwp_cron_bulk_update_items_limit`](#mainwp_cron_bulk_update_items_limit) - Method handle_cron_batch_updates() +- [`mainwp_api_manager_upgrade_url`](#mainwp_api_manager_upgrade_url) - Get Upgrade URL. +- [`mainwp_update_cached_icons`](#mainwp_update_cached_icons) - Method update_cached_icons(). +- [`mainwp_get_plugin_theme_icon`](#mainwp_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](#mainwp_forced_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_get_plugin_theme_icon`](#mainwp_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](#mainwp_forced_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_plugin_theme_icon_cache_days`](#mainwp_plugin_theme_icon_cache_days) - Gets a plugin|theme icon to output. +- [`mainwp_cache_icon_expired`](#mainwp_cache_icon_expired) - Gets a plugin|theme icon to output. +- [`mainwp_updates_table_columns_header`](#mainwp_updates_table_columns_header) - Get column info. +- [`mainwp_updates_table_header_content`](#mainwp_updates_table_header_content) - Echo the column headers. +- [`mainwp_updates_table_row_columns`](#mainwp_updates_table_row_columns) - Echo columns. +- [`mainwp_update_plugintheme_max`](#mainwp_update_plugintheme_max) - Filter: mainwp_update_plugintheme_max +- [`mainwp_show_all_updates_button_text`](#mainwp_show_all_updates_button_text) - *Arguments* +- [`mainwp_plugin_information_sslverify`](#mainwp_plugin_information_sslverify) - Sends and receives data to and from the server API. +- [`mainwp_api_manager_upgrade_package_url`](#mainwp_api_manager_upgrade_package_url) - +- [`mainwp_plugins_install_checks`](#mainwp_plugins_install_checks) - Method get_plugins_install_check() +- [`mainwp_updatescheck_sendmail_at_time`](#mainwp_updatescheck_sendmail_at_time) - Filter: mainwp_updatescheck_sendmail_at_time +- [`mainwp_updatescheck_hours_interval`](#mainwp_updatescheck_hours_interval) - Filter: mainwp_updatescheck_hours_interval +- [`mainwp_detect_premiums_updates`](#mainwp_detect_premiums_updates) - Filter: mainwp_detect_premiums_updates +- [`mainwp_detect_premium_plugins_update`](#mainwp_detect_premium_plugins_update) - Filter: mainwp_detect_premium_plugins_update +- [`mainwp_detect_premium_themes_update`](#mainwp_detect_premium_themes_update) - Filter: mainwp_detect_premium_themes_update +- [`mainwp_request_update_premium_plugins`](#mainwp_request_update_premium_plugins) - Filter: mainwp_request_update_premium_plugins +- [`mainwp_request_update_premium_themes`](#mainwp_request_update_premium_themes) - Filter: mainwp_request_update_premium_themes +- [`mainwp_uptime_monitoring_update_monitor_data`](#mainwp_uptime_monitoring_update_monitor_data) - Method handle_save_settings +- [`mainwp_default_template_source_dir`](#mainwp_default_template_source_dir) - Locate a template and return the path for inclusion. +- [`mainwp_update_uptime_monitor_data`](#mainwp_update_uptime_monitor_data) - Method update_uptime_global_settings +- [`mainwp_available_updates_count_custom_fields_data`](#mainwp_available_updates_count_custom_fields_data) - Method sites_available_updates_count() +- [`mainwp_database_updater_supported_plugins`](#mainwp_database_updater_supported_plugins) - Method sites_available_updates_count() +- [`mainwp_db_install_tables`](#mainwp_db_install_tables) - Method install() +- [`mainwp_cron_bulk_update_items_limit`](#mainwp_cron_bulk_update_items_limit) - Method handle_cron_auto_updates() +- [`mainwp-getsubpages-plugins`](#mainwp-getsubpages-plugins) - Plugins Subpages +- [`mainwp_getsubpages_plugins`](#mainwp_getsubpages_plugins) - Instantiate Main Plugins Menu. +- [`mainwp_manage_plugin_theme_hide_show_updates_per`](#mainwp_manage_plugin_theme_hide_show_updates_per) - Method render_select_manage_view(). +- [`file_mod_allowed`](#file_mod_allowed) - Disables plugin installation +- [`mainwp_plugin_auto_updates_table_fatures`](#mainwp_plugin_auto_updates_table_fatures) - Filter: mainwp_plugin_auto_updates_table_fatures +- [`mainwp_update_admin_password_complexity`](#mainwp_update_admin_password_complexity) - Filter: mainwp_update_admin_password_complexity +- [`mainwp_file_uploader_chunk_size`](#mainwp_file_uploader_chunk_size) - Method render_upload() +- [`mainwp_prepare_install_download_url`](#mainwp_prepare_install_download_url) - Method prepare_install() +- [`mainwp_bulk_prepare_install_result`](#mainwp_bulk_prepare_install_result) - Filter: mainwp_bulk_prepare_install_result +- [`mainwp_perform_install_data`](#mainwp_perform_install_data) - Perform insatallation additional data +- [`mainwp_installbulk_prepareupload`](#mainwp_installbulk_prepareupload) - Prepare upload +- [`mainwp_perform_install_data`](#mainwp_perform_install_data) - This filter is documented in pages/page-mainwp-install-bulk.php +- [`mainwp_bulk_upload_install_result`](#mainwp_bulk_upload_install_result) - Filter: mainwp_bulk_upload_install_result +- [`mainwp_sub_leftmenu_updates`](#mainwp_sub_leftmenu_updates) - Initiates Updates menu. +- [`mainwp_updates_translation_sort_by`](#mainwp_updates_translation_sort_by) - Filter: mainwp_updates_translation_sort_by +- [`mainwp_updates_plugins_sort_by`](#mainwp_updates_plugins_sort_by) - Filter: mainwp_updates_plugins_sort_by +- [`mainwp_updates_themes_sort_by`](#mainwp_updates_themes_sort_by) - Filter: mainwp_updates_themes_sort_by +- [`mainwp_updates_abandoned_plugins_sort_by`](#mainwp_updates_abandoned_plugins_sort_by) - Filter: mainwp_updates_abandoned_plugins_sort_by +- [`mainwp_updates_abandoned_themes_sort_by`](#mainwp_updates_abandoned_themes_sort_by) - Filter: mainwp_updates_abandoned_themes_sort_by +- [`mainwp_limit_updates_all`](#mainwp_limit_updates_all) - Limits number of updates to process. +- [`mainwp_pages_updates_render_tabs`](#mainwp_pages_updates_render_tabs) - Renders updates page. +- [`mainwp_updates_table_features`](#mainwp_updates_table_features) - Filter: mainwp_updates_table_features +- [`mainwp_page_hearder_tabs_updates`](#mainwp_page_hearder_tabs_updates) - Renders header tabs +- [`mainwp_updates_hide_show_updates_per`](#mainwp_updates_hide_show_updates_per) - Renders header tabs +- [`mainwp_manage_updates_limit_loading`](#mainwp_manage_updates_limit_loading) - Method handle_limit_sites(). +- [`mainwp-getsubpages-themes`](#mainwp-getsubpages-themes) - Themes Subpages +- [`mainwp_getsubpages_themes`](#mainwp_getsubpages_themes) - Method init_menu() +- [`file_mod_allowed`](#file_mod_allowed) - Disables themes installation +- [`mainwp_favorites_themes`](#mainwp_favorites_themes) - Render the Themes table for the Install Themes Tab. +- [`mainwp_theme_auto_updates_table_fatures`](#mainwp_theme_auto_updates_table_fatures) - Filter: mainwp_theme_auto_updates_table_fatures +- [`mainwp_module_cost_tracker_get_total_cost`](#mainwp_module_cost_tracker_get_total_cost) - Method render_sites() +- [`mainwp_plugins_widget_title`](#mainwp_plugins_widget_title) - *Arguments* +- [`mainwp_themes_widget_title`](#mainwp_themes_widget_title) - *Arguments* +- [`mainwp_limit_updates_all`](#mainwp_limit_updates_all) - Filter: mainwp_limit_updates_all +- [`mainwp_updates_overview_widget_title`](#mainwp_updates_overview_widget_title) - *Arguments* +- [`mainwp_update_everything_button_text`](#mainwp_update_everything_button_text) - *Arguments* + +## Hook Details + +### `deactivate_{$plugin}` + +*Emulate deactivating, then subsequently reactivating the plugin.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/tests/test-case.php](tests/test-case.php), [line 11](tests/test-case.php#L11-L17) + + + +### `activate_{$plugin}` + +*Emulate deactivating, then subsequently reactivating the plugin.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/tests/test-case.php](tests/test-case.php), [line 11](tests/test-case.php#L11-L18) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1273](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1273-L1280) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1283](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1283-L1290) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1310](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1310-L1317) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1319](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1319-L1326) + + + +### `mainwp_activated` + +*Action: mainwp_activated* + +Fires upon MainWP plugin activation. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 248](class/class-mainwp-system.php#L248-L255) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`implode(',', $pluginsToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 252](class/class-mainwp-cron-jobs-batch.php#L252-L259) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'plugin'` | | +`implode(',', $pluginsToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 274](class/class-mainwp-cron-jobs-batch.php#L274-L281) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`implode(',', $themesToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 316](class/class-mainwp-cron-jobs-batch.php#L316-L323) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'theme'` | | +`implode(',', $themesToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 343](class/class-mainwp-cron-jobs-batch.php#L343-L350) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 1427](class/class-mainwp-hooks.php#L1427-L1434) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 1445](class/class-mainwp-hooks.php#L1445-L1452) + + + +### `mainwp_install_update_actions` + +*Fires immediately after install action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$type` | | +`$post_data` | | +`$upload` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 94](class/class-mainwp-actions-handler.php#L94-L99) + + + +### `mainwp_install_plugin_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$plugin_act` | | +`$params` | `array` | params input array. +`$information['other_data']['plugin_action_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L118) + + + +### `mainwp_install_theme_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`'deactivate'` | | +`$params` | `array` | params input array. +`$information['other_data']['theme_deactivate_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L123) + + + +### `mainwp_install_theme_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$theme_act` | | +`$params` | `array` | params input array. +`$information['other_data']['theme_action_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L126) + + + +### `mainwp_prepareinstallplugintheme` + +*Method mainwp_ext_prepareinstallplugintheme()* + +Prepair Installation of plugins & themes, +Page: ManageSites. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 451](class/class-mainwp-post-plugin-theme-handler.php#L451-L458) + + + +### `mainwp_performinstallplugintheme` + +*Method mainwp_ext_performinstallplugintheme()* + +Installation of plugins & themes, +Page: ManageSites. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 461](class/class-mainwp-post-plugin-theme-handler.php#L461-L469) + + + +### `mainwp_header_actions_after_select_themes` + +*After select theme actions.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1365](class/class-mainwp-ui.php#L1365-L1370) + + + +### `mainwp_before_plugin_theme_install_progress` + +*Action: mainwp_before_plugin_theme_install_progress* + +Fires before the progress list in the install modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1873](class/class-mainwp-ui.php#L1873-L1880) + + + +### `mainwp_after_plugin_theme_install_progress` + +*Action: mainwp_after_plugin_theme_install_progress* + +Fires after the progress list in the install modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1884](class/class-mainwp-ui.php#L1884-L1891) + + + +### `mainwp_install_plugin_theme_modal_action` + +*Action: mainwp_after_plugin_theme_install_progress* + +Fires after the progress list in the install modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$what` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1896](class/class-mainwp-ui.php#L1896-L1903) + + + +### `mainwp_select_themes_modal_top` + +*Action: mainwp_select_themes_modal_top* + +Fires at the top of the modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2602](class/class-mainwp-ui.php#L2602-L2609) + + + +### `mainwp_select_themes_modal_bottom` + +*Action: mainwp_select_themes_modal_bottom* + +Fires at the bottom of the modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2613](class/class-mainwp-ui.php#L2613-L2620) + + + +### `mainwp_widget_updates_actions_top` + +*Action: mainwp_widget_updates_actions_top* + +Updates actions top content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$active_tab` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 710](class/class-mainwp-manage-sites-view.php#L710-L717) + + + +### `mainwp_updated_site` + +*Action: mainwp_updated_site* + +Fires after updatig the child site options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | +`$data` | `array` | Child site data. + +**Changelog** + +Version | Description +------- | ----------- +`3.5.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2361](class/class-mainwp-manage-sites-view.php#L2361-L2371) + + + +### `mainwp_install_plugin_card_top` + +*Action: mainwp_install_plugin_card_top* + +Fires at the plugin card at top on the Install Plugins page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-plugins-install-list-table.php](class/class-mainwp-plugins-install-list-table.php), [line 484](class/class-mainwp-plugins-install-list-table.php#L484-L491) + + + +### `mainwp_install_plugin_card_bottom` + +*Action: mainwp_install_plugin_card_bottom* + +Fires at the plugin card at bottom on the Install Plugins page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugin` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-plugins-install-list-table.php](class/class-mainwp-plugins-install-list-table.php), [line 529](class/class-mainwp-plugins-install-list-table.php#L529-L536) + + + +### `mainwp_db_after_update` + +*Method install()* + +Installs the new DB. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$currentVersion` | | +`$this->mainwp_db_version` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-install.php](class/class-mainwp-install.php), [line 64](class/class-mainwp-install.php#L64-L442) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 648](class/class-mainwp-cron-jobs-auto-updates.php#L648-L655) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'plugin'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 672](class/class-mainwp-cron-jobs-auto-updates.php#L672-L679) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 735](class/class-mainwp-cron-jobs-auto-updates.php#L735-L742) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'theme'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 761](class/class-mainwp-cron-jobs-auto-updates.php#L761-L768) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'translation'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 817](class/class-mainwp-cron-jobs-auto-updates.php#L817-L824) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'translation'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 842](class/class-mainwp-cron-jobs-auto-updates.php#L842-L849) + + + +### `mainwp_delete_key_file` + +*Method update child api key.* + +Encrypt data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key_file` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 700](modules/api-backups/classes/class-api-backups-utility.php#L700-L742) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_update_ids'` | | +`array(&$this, 'ajax_cloudways_action_update_ids')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L107) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_update_ids'` | | +`array(&$this, 'ajax_gridpane_action_update_ids')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L115) + + + +### `mainwp_module_cost_tracker_email_header` + +*HTTP Check Email Header* + +Fires at the top of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/templates/emails/module-cost-tracker-email.php](modules/cost-tracker/templates/emails/module-cost-tracker-email.php), [line 29](modules/cost-tracker/templates/emails/module-cost-tracker-email.php#L29-L36) + + + +### `mainwp_module_cost_tracker_email_footer` + +*HTTP Check Email Footer* + +Fires at the bottom of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/templates/emails/module-cost-tracker-email.php](modules/cost-tracker/templates/emails/module-cost-tracker-email.php), [line 75](modules/cost-tracker/templates/emails/module-cost-tracker-email.php#L75-L82) + + + +### `mainwp_plugins_actions_bar_left` + +*Action: mainwp_plugins_actions_bar_left* + +Fires at the left side of the actions bar on the Plugins screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 447](pages/page-mainwp-plugins.php#L447-L454) + + + +### `mainwp_plugins_actions_bar_right` + +*Action: mainwp_plugins_actions_bar_right* + +Fires at the right side of the actions bar on the Plugins screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 461](pages/page-mainwp-plugins.php#L461-L468) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Action: mainwp_manage_plugins_sidebar_top* + +Fires at the top of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 505](pages/page-mainwp-plugins.php#L505-L512) + + + +### `mainwp_manage_plugins_before_select_sites` + +*Action: mainwp_manage_plugins_before_select_sites* + +Fires before the Select Sites elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 517](pages/page-mainwp-plugins.php#L517-L524) + + + +### `mainwp_manage_plugins_after_select_sites` + +*Action: mainwp_manage_plugins_after_select_sites* + +Fires after the Select Sites elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 540](pages/page-mainwp-plugins.php#L540-L547) + + + +### `mainwp_manage_plugins_before_search_options` + +*Action: mainwp_manage_plugins_before_search_options* + +Fires before the Search Options elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 555](pages/page-mainwp-plugins.php#L555-L562) + + + +### `mainwp_manage_plugins_after_search_options` + +*Action: mainwp_manage_plugins_after_search_options* + +Fires after the Search Options elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 580](pages/page-mainwp-plugins.php#L580-L587) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Action: mainwp_manage_plugins_before_submit_button* + +Fires before the Submit Button elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 596](pages/page-mainwp-plugins.php#L596-L603) + + + +### `mainwp_manage_plugins_after_submit_button` + +*Action: mainwp_manage_plugins_after_submit_button* + +Fires after the Submit Button elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 607](pages/page-mainwp-plugins.php#L607-L614) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Action: mainwp_manage_plugins_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 618](pages/page-mainwp-plugins.php#L618-L625) + + + +### `mainwp_plugins_bulk_action` + +*Action: mainwp_plugins_bulk_action* + +Adds a new action to the Manage Plugins bulk actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1132](pages/page-mainwp-plugins.php#L1132-L1141) + + + +### `mainwp_before_plugins_table` + +*Action: mainwp_before_plugins_table* + +Fires before the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1268](pages/page-mainwp-plugins.php#L1268-L1275) + + + +### `mainwp_after_plugins_table` + +*Action: mainwp_after_plugins_table* + +Fires after the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1476](pages/page-mainwp-plugins.php#L1476-L1483) + + + +### `mainwp_before_plugins_table` + +*Action: mainwp_before_plugins_table* + +Fires before the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1553](pages/page-mainwp-plugins.php#L1553-L1560) + + + +### `mainwp_after_plugins_table` + +*Action: mainwp_after_plugins_table* + +Fires after the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1784](pages/page-mainwp-plugins.php#L1784-L1791) + + + +### `mainwp_install_plugin_theme_tabs_header_top` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1834) + + + +### `mainwp_install_plugins_actions_bar_right` + +*Install Plugins actions bar (right)* + +Fires at the left side of the actions bar on the Install Plugins screen, after the Nav buttons. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1837](pages/page-mainwp-plugins.php#L1837-L1844) + + + +### `mainwp_install_plugins_actions_bar_left` + +*Install Plugins actions bar (left)* + +Fires at the left side of the actions bar on the Install Plugins screen, after the Search bar. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1871](pages/page-mainwp-plugins.php#L1871-L1878) + + + +### `mainwp_bulk_install_tabs_content` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1905) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1922) + + + +### `mainwp_manage_plugins_before_select_sites` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1924) + + + +### `mainwp_manage_plugins_after_select_sites` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1936) + + + +### `mainwp_manage_plugins_before_search_options` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1941) + + + +### `mainwp_manage_plugins_after_search_options` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1959) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1963) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1984) + + + +### `mainwp_bulk_install_sidebar_submit_bottom` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1987) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'install'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1990) + + + +### `mainwp_plugins_auto_updates_bulk_action` + +*Action: mainwp_plugins_auto_updates_bulk_action* + +Adds new action to the bulk actions menu on Plugins Auto Updates. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2030](pages/page-mainwp-plugins.php#L2030-L2037) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2079) + + + +### `mainwp_manage_plugins_before_search_options` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2081) + + + +### `mainwp_manage_plugins_after_search_options` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2094) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2119) + + + +### `mainwp_manage_plugins_after_submit_button` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2121) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2123) + + + +### `mainwp_plugins_before_auto_updates_table` + +*Action: mainwp_plugins_before_auto_updates_table* + +Fires before the Auto Update Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2313](pages/page-mainwp-plugins.php#L2313-L2320) + + + +### `mainwp_plugins_after_auto_updates_table` + +*Action: mainwp_plugins_after_auto_updates_table* + +Fires after the Auto Update Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2398](pages/page-mainwp-plugins.php#L2398-L2405) + + + +### `mainwp_plugins_before_ignored_updates` + +*Action: mainwp_plugins_before_ignored_updates* + +Fires on the top of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2494](pages/page-mainwp-plugins.php#L2494-L2501) + + + +### `mainwp_plugins_after_ignored_updates` + +*Action: mainwp_plugins_after_ignored_updates* + +Fires on the bottom of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2515](pages/page-mainwp-plugins.php#L2515-L2522) + + + +### `mainwp_plugins_before_ignored_abandoned` + +*Action: mainwp_plugins_before_ignored_abandoned* + +Fires on the top of the Ignored Plugins Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2780](pages/page-mainwp-plugins.php#L2780-L2787) + + + +### `mainwp_plugins_after_ignored_abandoned` + +*Action: mainwp_plugins_after_ignored_abandoned* + +Fires on the bottom of the Ignored Plugins Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2801](pages/page-mainwp-plugins.php#L2801-L2808) + + + +### `mainwp_plugins_help_item` + +*Action: mainwp_plugins_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Plugins page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 3018](pages/page-mainwp-plugins.php#L3018-L3029) + + + +### `mainwp_applypluginsettings_{$ext_dir_slug}` + +*Apply plugin settings* + +Fires to apply certain plugin settigns automatically while adding a new site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site_id` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 276](pages/page-mainwp-manage-sites-handler.php#L276-L285) + + + +### `mainwp_admin_pass_sidebar_top` + +*Action: mainwp_admin_pass_sidebar_top* + +Fires at the top of the sidebar on Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 357](pages/page-mainwp-bulk-update-admin-passwords.php#L357-L364) + + + +### `mainwp_admin_pass_before_select_sites` + +*Action: mainwp_admin_pass_before_select_sites* + +Fires before the Select Sites section on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 368](pages/page-mainwp-bulk-update-admin-passwords.php#L368-L375) + + + +### `mainwp_admin_pass_after_select_sites` + +*Action: mainwp_admin_pass_after_select_sites* + +Fires after the Select Sites section on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 387](pages/page-mainwp-bulk-update-admin-passwords.php#L387-L394) + + + +### `mainwp_admin_pass_before_pass_form` + +*Action: mainwp_admin_pass_before_pass_form* + +Fires before the New password form on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 402](pages/page-mainwp-bulk-update-admin-passwords.php#L402-L409) + + + +### `mainwp_admin_pass_after_pass_form` + +*Action: mainwp_admin_pass_after_pass_form* + +Fires after the New password form on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 423](pages/page-mainwp-bulk-update-admin-passwords.php#L423-L430) + + + +### `mainwp_admin_pass_before_submit_button` + +*Action: mainwp_admin_pass_before_submit_button* + +Fires before the Submit button on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 437](pages/page-mainwp-bulk-update-admin-passwords.php#L437-L444) + + + +### `mainwp_admin_pass_after_submit_button` + +*Action: mainwp_admin_pass_after_submit_button* + +Fires after the Submit button on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 452](pages/page-mainwp-bulk-update-admin-passwords.php#L452-L459) + + + +### `mainwp_admin_pass_sidebar_bottom` + +*Action: mainwp_admin_pass_sidebar_bottom* + +Fires at the bottom of the sidebar on Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 463](pages/page-mainwp-bulk-update-admin-passwords.php#L463-L470) + + + +### `mainwp_client_updated` + +*Add client* + +Fires after add a client. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$inserted` | `object` | client data. +`$add_new` | `bool` | true add new, false updated. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 1340](pages/page-mainwp-client.php#L1340-L1350) + + + +### `mainwp_update_site` + +*Update site* + +Fires after updating a website settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2003](pages/page-mainwp-manage-sites.php#L2003-L2012) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 149](pages/page-mainwp-plugins-handler.php#L149-L156) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 160](pages/page-mainwp-plugins-handler.php#L160-L167) + + + +### `mainwp_before_plugin_action` + +*Action: mainwp_before_plugin_action* + +Fires before plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 217](pages/page-mainwp-plugins-handler.php#L217-L224) + + + +### `mainwp_after_plugin_action` + +*Action: mainwp_after_plugin_action* + +Fires after plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 235](pages/page-mainwp-plugins-handler.php#L235-L242) + + + +### `mainwp_cores_before_ignored_updates` + +*Action: mainwp_cores_before_ignored_updates* + +Fires on the top of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-wp-updates.php](pages/page-mainwp-wp-updates.php), [line 74](pages/page-mainwp-wp-updates.php#L74-L81) + + + +### `mainwp_cores_after_ignored_updates` + +*Action: mainwp_cores_after_ignored_updates* + +Fires on the bottom of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-wp-updates.php](pages/page-mainwp-wp-updates.php), [line 95](pages/page-mainwp-wp-updates.php#L95-L102) + + + +### `mainwp_update_backuptask` + +*Update backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$task->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 129](pages/page-mainwp-manage-backups-handler.php#L129-L187) + + + +### `mainwp_before_plugin_theme_install` + +*Action: mainwp_before_plugin_theme_install* + +Fires before plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 457](pages/page-mainwp-install-bulk.php#L457-L464) + + + +### `mainwp_after_plugin_theme_install` + +*Action: mainwp_after_plugin_theme_install* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 483](pages/page-mainwp-install-bulk.php#L483-L490) + + + +### `mainwp_before_plugin_theme_install` + +*Action: mainwp_before_plugin_theme_install* + +Fires before plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 671](pages/page-mainwp-install-bulk.php#L671-L678) + + + +### `mainwp_after_plugin_theme_install` + +*Action: mainwp_after_plugin_theme_install* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$websites` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 695](pages/page-mainwp-install-bulk.php#L695-L702) + + + +### `mainwp_before_plugin_privacy_section` + +*Action: mainwp_before_plugin_privacy_section* + +Fires before the Plugin Privacy section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1779](pages/page-mainwp-server-information.php#L1779-L1786) + + + +### `mainwp_after_plugin_privacy_section` + +*Action: mainwp_after_plugin_privacy_section* + +Fires after the Plugin Privacy section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1844](pages/page-mainwp-server-information.php#L1844-L1851) + + + +### `mainwp_updates_before_wp_updates` + +*Action: mainwp_updates_before_wp_updates* + +Fires at the top of the WP updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 859](pages/page-mainwp-updates.php#L859-L872) + + + +### `mainwp_updates_after_wp_updates` + +*Action: mainwp_updates_after_wp_updates* + +Fires at the top of the WP updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 935](pages/page-mainwp-updates.php#L935-L948) + + + +### `mainwp_updates_before_plugin_updates` + +*Action: mainwp_updates_before_plugin_updates* + +Fires at the top of the Plugin updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 990](pages/page-mainwp-updates.php#L990-L1006) + + + +### `mainwp_updates_perplugin_before_plugin_updates` + +*Action: mainwp_updates_perplugin_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1080](pages/page-mainwp-updates.php#L1080-L1096) + + + +### `mainwp_updates_perplugin_after_plugin_updates` + +*Action: mainwp_updates_perplugin_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1098](pages/page-mainwp-updates.php#L1098-L1114) + + + +### `mainwp_updates_after_plugin_updates` + +*Action: mainwp_updates_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1116](pages/page-mainwp-updates.php#L1116-L1132) + + + +### `mainwp_updates_before_theme_updates` + +*Action: mainwp_updates_before_theme_updates* + +Fires at the top of the Theme updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1163](pages/page-mainwp-updates.php#L1163-L1179) + + + +### `mainwp_updates_pertheme_before_theme_updates` + +*Action: mainwp_updates_pertheme_before_theme_updates* + +Fires at the top of the Theme updates tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1253](pages/page-mainwp-updates.php#L1253-L1269) + + + +### `mainwp_updates_pertheme_after_theme_updates` + +*Action: mainwp_updates_pertheme_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1271](pages/page-mainwp-updates.php#L1271-L1287) + + + +### `mainwp_updates_after_theme_updates` + +*Action: mainwp_updates_after_theme_updates* + +Fires at the bottom of the Theme updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1289](pages/page-mainwp-updates.php#L1289-L1305) + + + +### `mainwp_updates_before_translation_updates` + +*Action: mainwp_updates_before_translation_updates* + +Fires at the top of the Translation updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1334](pages/page-mainwp-updates.php#L1334-L1350) + + + +### `mainwp_updates_pertranslation_before_translation_updates` + +*Action: mainwp_updates_pertranslation_before_translation_updates* + +Fires at the top of the Translation updates tab, per Translation view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1424](pages/page-mainwp-updates.php#L1424-L1440) + + + +### `mainwp_updates_pertranslation_after_translation_updates` + +*Action: mainwp_updates_pertranslation_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Translation view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1442](pages/page-mainwp-updates.php#L1442-L1458) + + + +### `mainwp_updates_after_translation_updates` + +*Action: mainwp_updates_after_translation_updates* + +Fires at the bottom of the Translation updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1460](pages/page-mainwp-updates.php#L1460-L1476) + + + +### `mainwp_updates_before_abandoned_plugins` + +*Action: mainwp_updates_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1502](pages/page-mainwp-updates.php#L1502-L1516) + + + +### `mainwp_updates_perplugin_before_abandoned_plugins` + +*Action: mainwp_updates_perplugin_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1582](pages/page-mainwp-updates.php#L1582-L1596) + + + +### `mainwp_updates_perplugin_after_abandoned_plugins` + +*Action: mainwp_updates_perplugin_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1598](pages/page-mainwp-updates.php#L1598-L1612) + + + +### `mainwp_updates_after_abandoned_plugins` + +*Action: mainwp_updates_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1614](pages/page-mainwp-updates.php#L1614-L1628) + + + +### `mainwp_updates_before_abandoned_themes` + +*Action: mainwp_updates_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1653](pages/page-mainwp-updates.php#L1653-L1667) + + + +### `mainwp_updates_pertheme_before_abandoned_themes` + +*Action: mainwp_updates_pertheme_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1733](pages/page-mainwp-updates.php#L1733-L1747) + + + +### `mainwp_updates_pertheme_after_abandoned_themes` + +*Action: mainwp_updates_pertheme_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1749](pages/page-mainwp-updates.php#L1749-L1763) + + + +### `mainwp_updates_after_abandoned_themes` + +*Action: mainwp_updates_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1765](pages/page-mainwp-updates.php#L1765-L1779) + + + +### `mainwp_updates_before_nav_tabs` + +*Action: mainwp_updates_before_nav_tabs* + +Fires before the navigation tabs on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1931](pages/page-mainwp-updates.php#L1931-L1938) + + + +### `mainwp_updates_after_nav_tabs` + +*Action: mainwp_updates_after_nav_tabs* + +Fires after the navigation tabs on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2003](pages/page-mainwp-updates.php#L2003-L2010) + + + +### `mainwp_updates_before_actions_bar` + +*Action: mainwp_updates_before_actions_bar* + +Fires before the actions bar on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2012](pages/page-mainwp-updates.php#L2012-L2019) + + + +### `mainwp_widget_updates_actions_top` + +*Action: mainwp_widget_updates_actions_top* + +Updates actions top content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$current_tab` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2037](pages/page-mainwp-updates.php#L2037-L2044) + + + +### `mainwp_updates_after_actions_bar` + +*Action: mainwp_updates_after_actions_bar* + +Fires after the actions bar on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2066](pages/page-mainwp-updates.php#L2066-L2073) + + + +### `mainwp_updates_help_item` + +*Action: mainwp_updates_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Updates page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2564](pages/page-mainwp-updates.php#L2564-L2575) + + + +### `mainwp_before_theme_action` + +*Action: mainwp_before_theme_action* + +Fires before theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 145](pages/page-mainwp-themes-handler.php#L145-L152) + + + +### `mainwp_after_theme_action` + +*Action: mainwp_after_theme_action* + +Fires after theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 167](pages/page-mainwp-themes-handler.php#L167-L174) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 230](pages/page-mainwp-themes-handler.php#L230-L237) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 240](pages/page-mainwp-themes-handler.php#L240-L247) + + + +### `mainwp_after_upgrade_wp_success` + +*Method upgrade_site()* + +Check Child Site ID & Update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$information` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 26](pages/page-mainwp-updates-handler.php#L26-L56) + + + +### `mainwp_before_wp_update` + +*Action: mainwp_before_wp_update* + +Fires before WP update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 99](pages/page-mainwp-updates-handler.php#L99-L106) + + + +### `mainwp_after_wp_update` + +*Action: mainwp_after_wp_update* + +Fires after WP update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 138](pages/page-mainwp-updates-handler.php#L138-L145) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 175](pages/page-mainwp-updates-handler.php#L175-L182) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 209](pages/page-mainwp-updates-handler.php#L209-L216) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 221](pages/page-mainwp-updates-handler.php#L221-L228) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 252](pages/page-mainwp-updates-handler.php#L252-L259) + + + +### `mainwp_before_plugin_theme_unignore` + +*Action: mainwp_before_plugin_theme_unignore* + +Fires after plugin/theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$slug` | | +`$id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 289](pages/page-mainwp-updates-handler.php#L289-L296) + + + +### `mainwp_before_plugin_unignore` + +*Action: mainwp_before_plugin_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 303](pages/page-mainwp-updates-handler.php#L303-L310) + + + +### `mainwp_after_plugin_unignore` + +*Action: mainwp_after_plugin_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 314](pages/page-mainwp-updates-handler.php#L314-L321) + + + +### `mainwp_before_theme_unignore` + +*Action: mainwp_before_theme_unignore* + +Fires before theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 324](pages/page-mainwp-updates-handler.php#L324-L331) + + + +### `mainwp_after_theme_unignore` + +*Action: mainwp_after_theme_unignore* + +Fires after theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 334](pages/page-mainwp-updates-handler.php#L334-L341) + + + +### `mainwp_before_plugin_unignore` + +*Action: mainwp_before_plugin_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 352](pages/page-mainwp-updates-handler.php#L352-L359) + + + +### `mainwp_after_plugin_unignore` + +*Action: mainwp_after_plugin_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 387](pages/page-mainwp-updates-handler.php#L387-L394) + + + +### `mainwp_before_theme_unignore` + +*Action: mainwp_before_theme_unignore* + +Fires before theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 400](pages/page-mainwp-updates-handler.php#L400-L407) + + + +### `mainwp_after_theme_unignore` + +*Action: mainwp_after_theme_unignore* + +Fires after theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 437](pages/page-mainwp-updates-handler.php#L437-L444) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_before_core_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'_ALL_'` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 474](pages/page-mainwp-updates-handler.php#L474-L481) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_after_core_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'_ALL_'` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 484](pages/page-mainwp-updates-handler.php#L484-L491) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_before_core_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignored_info` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 504](pages/page-mainwp-updates-handler.php#L504-L511) + + + +### `mainwp_after_core_unignore` + +*Action: mainwp_after_core_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignored_info` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 526](pages/page-mainwp-updates-handler.php#L526-L533) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$list_items` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 1144](pages/page-mainwp-updates-handler.php#L1144-L1151) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`$list_items` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 1162](pages/page-mainwp-updates-handler.php#L1162-L1169) + + + +### `mainwp_themes_actions_bar_left` + +*Action: mainwp_themes_actions_bar_left* + +Fires at the left side of the actions bar on the Themes screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 437](pages/page-mainwp-themes.php#L437-L444) + + + +### `mainwp_themes_actions_bar_right` + +*Action: mainwp_themes_actions_bar_right* + +Fires at the right side of the actions bar on the Themes screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 451](pages/page-mainwp-themes.php#L451-L458) + + + +### `mainwp_manage_themes_sidebar_top` + +*Action: mainwp_manage_themes_sidebar_top* + +Fires at the top of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 494](pages/page-mainwp-themes.php#L494-L501) + + + +### `mainwp_manage_themes_before_select_sites` + +*Action: mainwp_manage_themes_before_select_sites* + +Fires before the Select Sites element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 505](pages/page-mainwp-themes.php#L505-L512) + + + +### `mainwp_manage_themes_after_select_sites` + +*Action: mainwp_manage_themes_after_select_sites* + +Fires after the Select Sites element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 528](pages/page-mainwp-themes.php#L528-L535) + + + +### `mainwp_manage_themes_before_search_options` + +*Action: mainwp_manage_themes_before_search_options* + +Fires before the Search Options element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 543](pages/page-mainwp-themes.php#L543-L550) + + + +### `mainwp_manage_themes_after_search_options` + +*Action: mainwp_manage_themes_after_search_options* + +Fires after the Search Options element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 568](pages/page-mainwp-themes.php#L568-L575) + + + +### `mainwp_manage_themes_before_submit_button` + +*Action: mainwp_manage_themes_before_submit_button* + +Fires before the Submit Button element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 584](pages/page-mainwp-themes.php#L584-L591) + + + +### `mainwp_manage_themes_after_submit_button` + +*Action: mainwp_manage_themes_after_submit_button* + +Fires after the Submit Button element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 595](pages/page-mainwp-themes.php#L595-L602) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Action: mainwp_manage_themes_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 606](pages/page-mainwp-themes.php#L606-L613) + + + +### `mainwp_before_themes_table` + +*Action: mainwp_before_themes_table* + +Fires before the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1127](pages/page-mainwp-themes.php#L1127-L1134) + + + +### `mainwp_after_themes_table` + +*Action: mainwp_after_themes_table* + +Fires after the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1327](pages/page-mainwp-themes.php#L1327-L1334) + + + +### `mainwp_before_themes_table` + +*Action: mainwp_before_themes_table* + +Fires before the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1402](pages/page-mainwp-themes.php#L1402-L1409) + + + +### `mainwp_after_themes_table` + +*Action: mainwp_after_themes_table* + +Fires after the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1628](pages/page-mainwp-themes.php#L1628-L1635) + + + +### `mainwp_themes_bulk_action` + +*Action: mainwp_themes_bulk_action* + +Adds a new action to the Manage Themes bulk actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1679](pages/page-mainwp-themes.php#L1679-L1688) + + + +### `mainwp_install_plugin_theme_tabs_header_top` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1754) + + + +### `mainwp_install_themes_actions_bar_right` + +*Install Themes actions bar (right)* + +Fires at the right side of the actions bar on the Install Themes screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1757](pages/page-mainwp-themes.php#L1757-L1764) + + + +### `mainwp_install_themes_actions_bar_left` + +*Install Themes actions bar (left)* + +Fires at the left side of the actions bar on the Install Themes screen, after the search form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1773](pages/page-mainwp-themes.php#L1773-L1780) + + + +### `mainwp_bulk_install_tabs_content` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1806) + + + +### `mainwp_manage_themes_sidebar_top` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1812) + + + +### `mainwp_manage_themes_before_select_sites` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1814) + + + +### `mainwp_manage_themes_after_select_sites` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1835) + + + +### `mainwp_manage_themes_before_search_options` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1839) + + + +### `mainwp_manage_themes_after_search_options` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1851) + + + +### `mainwp_manage_themes_before_submit_button` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1855) + + + +### `mainwp_manage_themes_after_submit_button` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1876) + + + +### `mainwp_bulk_install_sidebar_submit_bottom` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1879) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'install'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1882) + + + +### `mainwp_install_theme_card_template_bottom` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1926) + + + +### `mainwp_themes_auto_updates_bulk_action` + +*Action: mainwp_themes_auto_updates_bulk_action* + +Adds new action to the bulk actions menu on Themes Auto Updates. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2015](pages/page-mainwp-themes.php#L2015-L2022) + + + +### `mainwp_manage_themes_sidebar_top` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2063) + + + +### `mainwp_manage_themes_before_search_options` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2080) + + + +### `mainwp_manage_themes_after_search_options` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2099) + + + +### `mainwp_manage_themes_before_submit_button` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2103) + + + +### `mainwp_manage_themes_after_submit_button` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2105) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2107) + + + +### `mainwp_themes_before_auto_updates_table` + +*Action: mainwp_themes_before_auto_updates_table* + +Fires before the Auto Update Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2273](pages/page-mainwp-themes.php#L2273-L2280) + + + +### `mainwp_themes_after_auto_updates_table` + +*Action: mainwp_themes_after_auto_updates_table* + +Fires before the Auto Update Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2351](pages/page-mainwp-themes.php#L2351-L2358) + + + +### `mainwp_themes_before_ignored_updates` + +*Action: mainwp_themes_before_ignored_updates* + +Fires on the top of the Ignored Theme Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2446](pages/page-mainwp-themes.php#L2446-L2453) + + + +### `mainwp_themes_after_ignored_updates` + +*Action: mainwp_themes_after_ignored_updates* + +Fires on the bottom of the Ignored Theme Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2467](pages/page-mainwp-themes.php#L2467-L2474) + + + +### `mainwp_themes_before_ignored_abandoned` + +*Action: mainwp_themes_before_ignored_abandoned* + +Fires on the top of the Ignored Themes Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2713](pages/page-mainwp-themes.php#L2713-L2720) + + + +### `mainwp_themes_after_ignored_abandoned` + +*Action: mainwp_themes_after_ignored_abandoned* + +Fires on the bottom of the Ignored Themes Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2734](pages/page-mainwp-themes.php#L2734-L2741) + + + +### `mainwp_themes_help_item` + +*Action: mainwp_themes_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Themes page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2919](pages/page-mainwp-themes.php#L2919-L2930) + + + +### `mainwp_plugins_widget_top` + +*Action: mainwp_plugins_widget_top* + +Fires at the top of the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allPlugins` | `array` | Array containing all detected plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 154](widgets/widget-mainwp-widget-plugins.php#L154-L164) + + + +### `mainwp_before_active_plugins_list` + +*Action: mainwp_before_active_plugins_list* + +Fires before the active plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$actived_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 168](widgets/widget-mainwp-widget-plugins.php#L168-L178) + + + +### `mainwp_after_active_plugins_list` + +*Action: mainwp_after_active_plugins_list* + +Fires after the active plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$actived_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 213](widgets/widget-mainwp-widget-plugins.php#L213-L223) + + + +### `mainwp_before_inactive_plugins_list` + +*Action: mainwp_before_inactive_plugins_list* + +Fires before the inactive plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 228](widgets/widget-mainwp-widget-plugins.php#L228-L238) + + + +### `mainwp_after_inactive_plugins_list` + +*Action: mainwp_after_inactive_plugins_list* + +Fires after the inactive plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 276](widgets/widget-mainwp-widget-plugins.php#L276-L286) + + + +### `mainwp_plugins_widget_bottom` + +*Action: mainwp_plugins_widget_bottom* + +Fires at the bottom of the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allPlugins` | `array` | Array containing all detected plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 297](widgets/widget-mainwp-widget-plugins.php#L297-L307) + + + +### `mainwp_before_plugin_action` + +*Action: mainwp_before_plugin_action* + +Fires before plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 383](widgets/widget-mainwp-widget-plugins.php#L383-L390) + + + +### `mainwp_after_plugin_action` + +*Action: mainwp_after_plugin_action* + +Fires after plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$action` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 401](widgets/widget-mainwp-widget-plugins.php#L401-L408) + + + +### `mainwp_themes_widget_top` + +*Action: mainwp_themes_widget_top* + +Fires at the top of the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allThemes` | `array` | Array containing all detected themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 114](widgets/widget-mainwp-widget-themes.php#L114-L124) + + + +### `mainwp_before_inactive_themes_list` + +*Action: mainwp_before_inactive_themes_list* + +Fires before the inactive themes list in the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_themes` | `array` | Array containing all inactive themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 128](widgets/widget-mainwp-widget-themes.php#L128-L138) + + + +### `mainwp_after_inactive_themes_list` + +*Action: mainwp_after_inactive_themes_list* + +Fires after the inactive themes list in the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_themes` | `array` | Array containing all inactive themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 175](widgets/widget-mainwp-widget-themes.php#L175-L185) + + + +### `mainwp_themes_widget_bottom` + +*Action: mainwp_themes_widget_bottom* + +Fires at the bottom of the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allThemes` | `array` | Array containing all detected themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 191](widgets/widget-mainwp-widget-themes.php#L191-L201) + + + +### `mainwp_before_theme_action` + +*Action: mainwp_before_theme_action* + +Fires before theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 272](widgets/widget-mainwp-widget-themes.php#L272-L279) + + + +### `mainwp_after_theme_action` + +*Action: mainwp_after_theme_action* + +Fires after theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$action` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 293](widgets/widget-mainwp-widget-themes.php#L293-L300) + + + +### `mainwp_updates_overview_after_update_details` + +*Action: mainwp_updates_overview_after_update_details* + +Fires at the bottom of the Update Details section in the Updates Overview widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$currentSite` | | +`$globalView` | | +`$userExtension` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 424](widgets/widget-mainwp-updates-overview.php#L424-L431) + + + +### `mainwp_updates_overview_before_total_updates` + +*Action: mainwp_updates_overview_before_total_updates* + +Fires before the total updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 517](widgets/widget-mainwp-updates-overview.php#L517-L524) + + + +### `mainwp_updates_overview_after_total_updates` + +*Action: mainwp_updates_overview_after_total_updates* + +Fires after the total updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 559](widgets/widget-mainwp-updates-overview.php#L559-L566) + + + +### `mainwp_updates_overview_before_update_details` + +*Action: mainwp_updates_overview_before_update_details* + +Fires at the top of the Update Details section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 596](widgets/widget-mainwp-updates-overview.php#L596-L603) + + + +### `mainwp_updates_overview_before_wordpress_updates` + +*Action: mainwp_updates_overview_before_wordpress_updates* + +Fires before the WordPress updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 605](widgets/widget-mainwp-updates-overview.php#L605-L612) + + + +### `mainwp_updates_overview_after_wordpress_updates` + +*Action: mainwp_updates_overview_after_wordpress_updates* + +Fires after the WordPress updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 652](widgets/widget-mainwp-updates-overview.php#L652-L659) + + + +### `mainwp_updates_overview_before_plugin_updates` + +*Action: mainwp_updates_overview_before_plugin_updates* + +Fires before the Plugin updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 687](widgets/widget-mainwp-updates-overview.php#L687-L694) + + + +### `mainwp_updates_overview_after_plugin_updates` + +*Action: mainwp_updates_overview_after_plugin_updates* + +Fires after the Plugin updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 729](widgets/widget-mainwp-updates-overview.php#L729-L736) + + + +### `mainwp_updates_overview_before_theme_updates` + +*Action: mainwp_updates_overview_before_theme_updates* + +Fires before the Theme updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 764](widgets/widget-mainwp-updates-overview.php#L764-L771) + + + +### `mainwp_updates_overview_after_theme_updates` + +*Action: mainwp_updates_overview_after_theme_updates* + +Fires after the Theme updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 806](widgets/widget-mainwp-updates-overview.php#L806-L813) + + + +### `mainwp_updates_overview_before_translation_updates` + +*Action: mainwp_updates_overview_before_translation_updates* + +Fires before the Translation updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 832](widgets/widget-mainwp-updates-overview.php#L832-L839) + + + +### `mainwp_updates_overview_after_translation_updates` + +*Action: mainwp_updates_overview_after_translation_updates* + +Fires after the Translation updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 869](widgets/widget-mainwp-updates-overview.php#L869-L876) + + + +### `mainwp_updates_overview_before_abandoned_plugins_themes` + +*Action: mainwp_updates_overview_before_abandoned_plugins_themes* + +Fires at the top of the Abandoned Plugins & Themes section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 899](widgets/widget-mainwp-updates-overview.php#L899-L906) + + + +### `mainwp_updates_overview_after_abandoned_plugins_themes` + +*Action: mainwp_updates_overview_after_abandoned_plugins_themes* + +Fires at the bottom of the Abandoned Plugins & Themes section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 992](widgets/widget-mainwp-updates-overview.php#L992-L999) + + + +### `mainwp_updatesoverview_widget_bottom` + +*Action: mainwp_updatesoverview_widget_bottom* + +Fires at the bottom of the Updates Overview widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site_ids` | | +`$globalView` | `bool` | Whether it's global or individual site view. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 1115](widgets/widget-mainwp-updates-overview.php#L1115-L1125) + + + +### `mainwp_load_text_domain` + +*Method localization()* + +Loads plugin language files. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 414](class/class-mainwp-system.php#L414-L420) + + + +### `mainwp_cron_bulk_update_items_limit` + +*Method handle_cron_batch_updates()* + +MainWP Cron batch Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 95](class/class-mainwp-cron-jobs-batch.php#L95-L129) + + + +### `mainwp_api_manager_upgrade_url` + +*Get Upgrade URL.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$this->upgrade_url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager.php](class/class-mainwp-api-manager.php), [line 91](class/class-mainwp-api-manager.php#L91-L97) + + + +### `mainwp_update_cached_icons` + +*Method update_cached_icons().* + +Update cached icons + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$icon` | `string` | The icon. +`$slug` | `string` | slug. +`$type` | `string` | Type: plugin\|theme. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1039](class/class-mainwp-system-utility.php#L1039-L1061) + + + +### `mainwp_get_plugin_theme_icon` + +*Gets a plugin icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$slug` | `string` | Plugin slug. +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1212](class/class-mainwp-system-utility.php#L1212-L1220) + + + +### `mainwp_forced_get_plugin_theme_icon` + +*Gets a plugin icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forced_get` | `bool` | Forced get icon, default: false. +`$slug` | `string` | Plugin slug. +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1212](class/class-mainwp-system-utility.php#L1212-L1226) + + + +### `mainwp_get_plugin_theme_icon` + +*Gets a theme icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$slug` | `string` | Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1261](class/class-mainwp-system-utility.php#L1261-L1269) + + + +### `mainwp_forced_get_plugin_theme_icon` + +*Gets a theme icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forced_get` | `bool` | Forced get icon, default: false. +`$slug` | `string` | Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1261](class/class-mainwp-system-utility.php#L1261-L1275) + + + +### `mainwp_plugin_theme_icon_cache_days` + +*Gets a plugin|theme icon to output.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`15` | | +`$slug` | `string` | Plugin\|Theme slug. +`$type` | `string` | Type icon, plugin\|theme. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1311](class/class-mainwp-system-utility.php#L1311-L1333) + + + +### `mainwp_cache_icon_expired` + +*Gets a plugin|theme icon to output.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$slug` | `string` | Plugin\|Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1311](class/class-mainwp-system-utility.php#L1311-L1361) + + + +### `mainwp_updates_table_columns_header` + +*Get column info.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($columns, $sortable, $collapsing)` | | +`$this->type` | | +`$this->view_per` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 96](class/class-mainwp-updates-table-helper.php#L96-L106) + + + +### `mainwp_updates_table_header_content` + +*Echo the column headers.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$column_display_name` | | +`$column_key` | | +`$top` | `bool` | true\|false. +`$this` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 141](class/class-mainwp-updates-table-helper.php#L141-L164) + + + +### `mainwp_updates_table_row_columns` + +*Echo columns.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array of columns. +`$website` | `object` | The website. +`$this->type` | | +`$this->view_per` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 222](class/class-mainwp-updates-table-helper.php#L222-L232) + + + +### `mainwp_update_plugintheme_max` + +*Filter: mainwp_update_plugintheme_max* + +Filters the max number of plugins/themes to be updated in one run in order to improve performance. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$websiteId` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 567](class/class-mainwp-post-plugin-theme-handler.php#L567-L576) + + + +### `mainwp_show_all_updates_button_text` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Show All Updates', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1997](class/class-mainwp-ui.php#L1997-L1997) + + + +### `mainwp_plugin_information_sslverify` + +*Sends and receives data to and from the server API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$default` | | +`$args` | `array` | Request arguments. + +**Changelog** + +Version | Description +------- | ----------- +`1.0.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager-plugin-update.php](class/class-mainwp-api-manager-plugin-update.php), [line 149](class/class-mainwp-api-manager-plugin-update.php#L149-L172) + + + +### `mainwp_api_manager_upgrade_package_url` + +*For debugging errors from the API +For errors like: unserialize(): Error at offset 0 of 170 bytes +Comment out $response above first* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$response->package` | | +`$response` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager-plugin-update.php](class/class-mainwp-api-manager-plugin-update.php), [line 191](class/class-mainwp-api-manager-plugin-update.php#L191-L199) + + + +### `mainwp_plugins_install_checks` + +*Method get_plugins_install_check()* + +Get plugins for install checking. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugins` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 1129](class/class-mainwp-system-view.php#L1129-L1184) + + + +### `mainwp_updatescheck_sendmail_at_time` + +*Filter: mainwp_updatescheck_sendmail_at_time* + +Filters the the time when the Daily Digest email will be sent. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 440](class/class-mainwp-system-cron-jobs.php#L440-L447) + + + +### `mainwp_updatescheck_hours_interval` + +*Filter: mainwp_updatescheck_hours_interval* + +Filters the status check interval. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 513](class/class-mainwp-system-cron-jobs.php#L513-L520) + + + +### `mainwp_detect_premiums_updates` + +*Filter: mainwp_detect_premiums_updates* + +Use mainwp_detect_premium_plugins_update instead. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 90](class/class-mainwp-premium-update.php#L90-L97) + + + +### `mainwp_detect_premium_plugins_update` + +*Filter: mainwp_detect_premium_plugins_update* + +Filters supported premium plugins to fix compatiblity issues with detecting premium plugin updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 99](class/class-mainwp-premium-update.php#L99-L106) + + + +### `mainwp_detect_premium_themes_update` + +*Filter: mainwp_detect_premium_themes_update* + +Filters supported premium themes to fix compatiblity issues with detecting premium theme updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 119](class/class-mainwp-premium-update.php#L119-L126) + + + +### `mainwp_request_update_premium_plugins` + +*Filter: mainwp_request_update_premium_plugins* + +Filters supported premium plugins to fix compatibility problmes with updating premium plugins. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update_premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 223](class/class-mainwp-premium-update.php#L223-L230) + + + +### `mainwp_request_update_premium_themes` + +*Filter: mainwp_request_update_premium_themes* + +Filters supported premium themes to fix compatibility problmes with updating premium themes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update_premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 243](class/class-mainwp-premium-update.php#L243-L250) + + + +### `mainwp_uptime_monitoring_update_monitor_data` + +*Method handle_save_settings* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update` | | +`$site_id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 88](class/class-mainwp-uptime-monitoring-edit.php#L88-L193) + + + +### `mainwp_default_template_source_dir` + +*Locate a template and return the path for inclusion.* + +Credits. + +Plugin-Name: WooCommerce. +Plugin URI: https://woocommerce.com/. +Author: Automattic. +Author URI: https://woocommerce.com. +License: GPLv3 or later. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_path` | | +`$template_name` | `string` | Template name. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 234](class/class-mainwp-notification-template.php#L234-L261) + + + +### `mainwp_update_uptime_monitor_data` + +*Method update_uptime_global_settings* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$settings` | `array` | settings. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-handle.php](class/class-mainwp-uptime-monitoring-handle.php), [line 122](class/class-mainwp-uptime-monitoring-handle.php#L122-L134) + + + +### `mainwp_available_updates_count_custom_fields_data` + +*Method sites_available_updates_count()* + +Returns the number of available udpates for sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`'updates_count'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-common-handler.php](class/class-mainwp-common-handler.php), [line 41](class/class-mainwp-common-handler.php#L41-L56) + + + +### `mainwp_database_updater_supported_plugins` + +*Method sites_available_updates_count()* + +Returns the number of available udpates for sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-common-handler.php](class/class-mainwp-common-handler.php), [line 41](class/class-mainwp-common-handler.php#L41-L61) + + + +### `mainwp_db_install_tables` + +*Method install()* + +Installs the new DB. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sql` | | +`$currentVersion` | | +`$charset_collate` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-install.php](class/class-mainwp-install.php), [line 64](class/class-mainwp-install.php#L64-L422) + + + +### `mainwp_cron_bulk_update_items_limit` + +*Method handle_cron_auto_updates()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 104](class/class-mainwp-cron-jobs-auto-updates.php#L104-L116) + + + +### `mainwp-getsubpages-plugins` + +*Plugins Subpages* + +Filters subpages for the Plugins page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_plugins'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 150](pages/page-mainwp-plugins.php#L150-L157) + + + +### `mainwp_getsubpages_plugins` + +*Instantiate Main Plugins Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 73](pages/page-mainwp-plugins.php#L73-L158) + + + +### `mainwp_manage_plugin_theme_hide_show_updates_per` + +*Method render_select_manage_view().* + +Handle render view mode selection. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$which` | `string` | plugin\|theme. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1167](pages/page-mainwp-plugins.php#L1167-L1180) + + + +### `file_mod_allowed` + +*Disables plugin installation* + +Filters whether file modifications are allowed on the Dashboard site. If not, installation process will be disabled too. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`'mainwp_install_plugin'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1965](pages/page-mainwp-plugins.php#L1965-L1972) + + + +### `mainwp_plugin_auto_updates_table_fatures` + +*Filter: mainwp_plugin_auto_updates_table_fatures* + +Filters the Plugin Auto Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2418](pages/page-mainwp-plugins.php#L2418-L2425) + + + +### `mainwp_update_admin_password_complexity` + +*Filter: mainwp_update_admin_password_complexity* + +Filters the Password lenght for the Update Admin Password, Password field. + +Since 4.1 + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'24'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 242](pages/page-mainwp-bulk-update-admin-passwords.php#L242-L249) + + + +### `mainwp_file_uploader_chunk_size` + +*Method render_upload()* + +Renders the upload sub part. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1000000` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 67](pages/page-mainwp-install-bulk.php#L67-L173) + + + +### `mainwp_prepare_install_download_url` + +*Method prepare_install()* + +Prepare for the installation. + +Grab all the necessary data to make the upload and prepare json response. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$url` | | +`$_POST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 302](pages/page-mainwp-install-bulk.php#L302-L336) + + + +### `mainwp_bulk_prepare_install_result` + +*Filter: mainwp_bulk_prepare_install_result* + +Fires after plugin/theme prepare install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 356](pages/page-mainwp-install-bulk.php#L356-L363) + + + +### `mainwp_perform_install_data` + +*Perform insatallation additional data* + +Adds support for additional data such as HTTP User and HTTP Password. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | `array` | Array containg the post data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 437](pages/page-mainwp-install-bulk.php#L437-L446) + + + +### `mainwp_installbulk_prepareupload` + +*Prepare upload* + +Prepares upload URLs for the bulk install process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output['urls']` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 527](pages/page-mainwp-install-bulk.php#L527-L534) + + + +### `mainwp_perform_install_data` + +*This filter is documented in pages/page-mainwp-install-bulk.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 649](pages/page-mainwp-install-bulk.php#L649-L650) + + + +### `mainwp_bulk_upload_install_result` + +*Filter: mainwp_bulk_upload_install_result* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$type` | | +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 704](pages/page-mainwp-install-bulk.php#L704-L711) + + + +### `mainwp_sub_leftmenu_updates` + +*Initiates Updates menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$init_sub_subleftmenu` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 142](pages/page-mainwp-updates.php#L142-L248) + + + +### `mainwp_updates_translation_sort_by` + +*Filter: mainwp_updates_translation_sort_by* + +Filters the default sorting option for Translation updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 695](pages/page-mainwp-updates.php#L695-L702) + + + +### `mainwp_updates_plugins_sort_by` + +*Filter: mainwp_updates_plugins_sort_by* + +Filters the default sorting option for Plugin updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 704](pages/page-mainwp-updates.php#L704-L711) + + + +### `mainwp_updates_themes_sort_by` + +*Filter: mainwp_updates_themes_sort_by* + +Filters the default sorting option for Theme updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 713](pages/page-mainwp-updates.php#L713-L720) + + + +### `mainwp_updates_abandoned_plugins_sort_by` + +*Filter: mainwp_updates_abandoned_plugins_sort_by* + +Filters the default sorting option for Abandoned plugins. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 722](pages/page-mainwp-updates.php#L722-L729) + + + +### `mainwp_updates_abandoned_themes_sort_by` + +*Filter: mainwp_updates_abandoned_themes_sort_by* + +Filters the default sorting option for Abandoned themes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 731](pages/page-mainwp-updates.php#L731-L738) + + + +### `mainwp_limit_updates_all` + +*Limits number of updates to process.* + +Limits the number of updates that will be processed in a single run on Update Everything action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 748](pages/page-mainwp-updates.php#L748-L755) + + + +### `mainwp_pages_updates_render_tabs` + +*Renders updates page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$current_tab` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 383](pages/page-mainwp-updates.php#L383-L797) + + + +### `mainwp_updates_table_features` + +*Filter: mainwp_updates_table_features* + +Filters the Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1799](pages/page-mainwp-updates.php#L1799-L1806) + + + +### `mainwp_page_hearder_tabs_updates` + +*Renders header tabs* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$header_tabs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1916](pages/page-mainwp-updates.php#L1916-L1978) + + + +### `mainwp_updates_hide_show_updates_per` + +*Renders header tabs* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$hide_show_updates_per` | | +`$current_tab` | `string` | current tab. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1916](pages/page-mainwp-updates.php#L1916-L1999) + + + +### `mainwp_manage_updates_limit_loading` + +*Method handle_limit_sites().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`'updates'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2250](pages/page-mainwp-updates.php#L2250-L2255) + + + +### `mainwp-getsubpages-themes` + +*Themes Subpages* + +Filters subpages for the Themes page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_themes'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 147](pages/page-mainwp-themes.php#L147-L154) + + + +### `mainwp_getsubpages_themes` + +*Method init_menu()* + +Initiate the MainWP Themes SubMenu page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 68](pages/page-mainwp-themes.php#L68-L155) + + + +### `file_mod_allowed` + +*Disables themes installation* + +Filters whether file modifications are allowed on the Dashboard site. If not, installation process will be disabled too. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`'mainwp_install_theme'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1857](pages/page-mainwp-themes.php#L1857-L1864) + + + +### `mainwp_favorites_themes` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1888) + + + +### `mainwp_theme_auto_updates_table_fatures` + +*Filter: mainwp_theme_auto_updates_table_fatures* + +Filters the Theme Auto Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2371](pages/page-mainwp-themes.php#L2371-L2378) + + + +### `mainwp_module_cost_tracker_get_total_cost` + +*Method render_sites()* + +Grab available Child Sites updates a build Widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 46](widgets/widget-mainwp-get-started.php#L46-L74) + + + +### `mainwp_plugins_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Plugins', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 137](widgets/widget-mainwp-widget-plugins.php#L137-L137) + + + +### `mainwp_themes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Themes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 107](widgets/widget-mainwp-widget-themes.php#L107-L107) + + + +### `mainwp_limit_updates_all` + +*Filter: mainwp_limit_updates_all* + +Limits the number of updates that will be processed in a single run on Update Everything action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 373](widgets/widget-mainwp-updates-overview.php#L373-L380) + + + +### `mainwp_updates_overview_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Updates Overview', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 475](widgets/widget-mainwp-updates-overview.php#L475-L475) + + + +### `mainwp_update_everything_button_text` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Update Everything', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 551](widgets/widget-mainwp-updates-overview.php#L551-L551) + + + diff --git a/mainwp-hooks-old/dashboard/actions/user-management/index.md b/mainwp-hooks-old/dashboard/actions/user-management/index.md new file mode 100644 index 0000000..3653afd --- /dev/null +++ b/mainwp-hooks-old/dashboard/actions/user-management/index.md @@ -0,0 +1,1182 @@ +# User Management Actions + +Hooks related to user management, roles, and capabilities. + +## Navigation + +- [Back to All Actions](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_admin_pass_before_users_table`](#mainwp_admin_pass_before_users_table) - Action: mainwp_admin_pass_before_users_table +- [`mainwp_admin_pass_after_users_table`](#mainwp_admin_pass_after_users_table) - Action: mainwp_admin_pass_after_users_table +- [`mainwp_users_bulk_action`](#mainwp_users_bulk_action) - Action: mainwp_users_bulk_action +- [`mainwp_users_actions_bar_left`](#mainwp_users_actions_bar_left) - Users actions bar (left) +- [`mainwp_users_actions_bar_right`](#mainwp_users_actions_bar_right) - Users actions bar (right) +- [`mainwp_manage_users_sidebar_top`](#mainwp_manage_users_sidebar_top) - Action: mainwp_manage_users_sidebar_top +- [`mainwp_manage_users_before_select_sites`](#mainwp_manage_users_before_select_sites) - Action: mainwp_manage_users_before_select_sites +- [`mainwp_manage_users_after_select_sites`](#mainwp_manage_users_after_select_sites) - Action: mainwp_manage_users_after_select_sites +- [`mainwp_manage_users_before_search_options`](#mainwp_manage_users_before_search_options) - Action: mainwp_manage_users_before_search_options +- [`mainwp_manage_users_after_search_options`](#mainwp_manage_users_after_search_options) - Action: mainwp_manage_users_after_search_options +- [`mainwp_manage_users_before_submit_button`](#mainwp_manage_users_before_submit_button) - Action: mainwp_manage_users_before_submit_button +- [`mainwp_manage_users_after_submit_button`](#mainwp_manage_users_after_submit_button) - Action: mainwp_manage_users_after_submit_button +- [`mainwp_manage_users_sidebar_bottom`](#mainwp_manage_users_sidebar_bottom) - Action: mainwp_manage_users_sidebar_bottom +- [`mainwp_before_users_table`](#mainwp_before_users_table) - Action: mainwp_before_users_table +- [`mainwp_users_table_header`](#mainwp_users_table_header) - Renders Users Table. +- [`mainwp_after_users_table`](#mainwp_after_users_table) - Action: mainwp_after_users_table +- [`mainwp_users_table_column`](#mainwp_users_table_column) - Renders Search results. +- [`mainwp_users_table_action`](#mainwp_users_table_action) - Action: mainwp_users_table_action +- [`mainwp_before_user_action`](#mainwp_before_user_action) - Action: mainwp_before_user_action +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after user action. +- [`mainwp_after_user_action`](#mainwp_after_user_action) - Action: mainwp_after_user_action +- [`mainwp_before_new_user_form`](#mainwp_before_new_user_form) - Action: mainwp_before_new_user_form +- [`mainwp_before_new_user_form_fields`](#mainwp_before_new_user_form_fields) - Action: mainwp_before_new_user_form_fields +- [`mainwp_after_new_user_form_fields`](#mainwp_after_new_user_form_fields) - Action: mainwp_after_new_user_form_fields +- [`mainwp_add_new_user_sidebar_top`](#mainwp_add_new_user_sidebar_top) - Action: mainwp_add_new_user_sidebar_top +- [`mainwp_add_new_user_before_select_sites`](#mainwp_add_new_user_before_select_sites) - Action: mainwp_add_new_user_before_select_sites +- [`mainwp_add_new_user_after_select_sites`](#mainwp_add_new_user_after_select_sites) - Action: mainwp_add_new_user_after_select_sites +- [`mainwp_add_new_user_before_submit_button`](#mainwp_add_new_user_before_submit_button) - Action: mainwp_add_new_user_before_submit_button +- [`mainwp_add_new_user_after_submit_button`](#mainwp_add_new_user_after_submit_button) - Action: mainwp_add_new_user_after_submit_button +- [`mainwp_add_new_user_sidebar_bottom`](#mainwp_add_new_user_sidebar_bottom) - Action: mainwp_add_new_user_sidebar_bottom +- [`mainwp_after_new_user_form`](#mainwp_after_new_user_form) - Action: mainwp_after_new_user_form +- [`mainwp_before_import_users`](#mainwp_before_import_users) - Action: mainwp_before_import_users +- [`mainwp_after_import_users`](#mainwp_after_import_users) - Action: mainwp_after_import_users +- [`mainwp_before_user_create`](#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_after_user_create`](#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_import_users_modal_top`](#mainwp_import_users_modal_top) - Action: mainwp_import_users_modal_top +- [`mainwp_import_users_modal_bottom`](#mainwp_import_users_modal_bottom) - Action: mainwp_import_users_modal_bottom +- [`mainwp_before_user_create`](#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_after_user_create`](#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_users_help_item`](#mainwp_users_help_item) - Action: mainwp_users_help_item +- [`mainwp_before_htaccess_section`](#mainwp_before_htaccess_section) - Action: mainwp_before_htaccess_section +- [`mainwp_after_htaccess_section`](#mainwp_after_htaccess_section) - Action: mainwp_after_htaccess_section +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after new user action. +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after update admin password action. +- [`mainwp_disable_rest_api_access_log`](#mainwp_disable_rest_api_access_log) - This filter enables the exclusion of the most recent access time from being logged for REST API calls. +- [`mainwp_currentusercan`](#mainwp_currentusercan) - Method \mainwp_current_user_can() +- [`mainwp_currentuserallowedaccesssites`](#mainwp_currentuserallowedaccesssites) - Filter: mainwp_currentuserallowedaccesssites +- [`mainwp_alter_login_user`](#mainwp_alter_login_user) - Filter: mainwp_alter_login_user +- [`mainwp_alter_login_user`](#mainwp_alter_login_user) - This filter is documented in ../class/class-mainwp-connect.php +- [`mainwp_module_log_get_role_list_separator`](#mainwp_module_log_get_role_list_separator) - Tries to find a label for the record's user_role. +- [`mainwp_admin_users_table_fatures`](#mainwp_admin_users_table_fatures) - Filter: mainwp_admin_users_table_fatures +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders manage users dashboard. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders manage users dashboard. +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders Edit Users Modal window. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders Edit Users Modal window. +- [`mainwp_users_table_fatures`](#mainwp_users_table_fatures) - Renders Users Table. +- [`mainwp_new_user_password_complexity`](#mainwp_new_user_password_complexity) - Filter: mainwp_new_user_password_complexity +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders the Add New user form. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders the Add New user form. +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Method do_bulk_add() +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Method do_bulk_add() + +## Hook Details + +### `mainwp_admin_pass_before_users_table` + +*Action: mainwp_admin_pass_before_users_table* + +Fires before the Connected Admin Users mysql_list_tables + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 264](pages/page-mainwp-bulk-update-admin-passwords.php#L264-L271) + + + +### `mainwp_admin_pass_after_users_table` + +*Action: mainwp_admin_pass_after_users_table* + +Fires after the Connected Admin Users mysql_list_tables + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 309](pages/page-mainwp-bulk-update-admin-passwords.php#L309-L316) + + + +### `mainwp_users_bulk_action` + +*Action: mainwp_users_bulk_action* + +Adds new Bulk Actions option under on Manage Users. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 411](pages/page-mainwp-user.php#L411-L421) + + + +### `mainwp_users_actions_bar_left` + +*Users actions bar (left)* + +Fires at the left side of the actions bar on the Users screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 426](pages/page-mainwp-user.php#L426-L433) + + + +### `mainwp_users_actions_bar_right` + +*Users actions bar (right)* + +Fires at the right side of the actions bar on the Users screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 438](pages/page-mainwp-user.php#L438-L445) + + + +### `mainwp_manage_users_sidebar_top` + +*Action: mainwp_manage_users_sidebar_top* + +Fires on top of the sidebar on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 474](pages/page-mainwp-user.php#L474-L481) + + + +### `mainwp_manage_users_before_select_sites` + +*Action: mainwp_manage_users_before_select_sites* + +Fires before the Select Sites section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 485](pages/page-mainwp-user.php#L485-L492) + + + +### `mainwp_manage_users_after_select_sites` + +*Action: mainwp_manage_users_after_select_sites* + +Fires after the Select Sites section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 508](pages/page-mainwp-user.php#L508-L515) + + + +### `mainwp_manage_users_before_search_options` + +*Action: mainwp_manage_users_before_search_options* + +Fires before the Search Options section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 538](pages/page-mainwp-user.php#L538-L545) + + + +### `mainwp_manage_users_after_search_options` + +*Action: mainwp_manage_users_after_search_options* + +Fires after the Search Options section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 565](pages/page-mainwp-user.php#L565-L572) + + + +### `mainwp_manage_users_before_submit_button` + +*Action: mainwp_manage_users_before_submit_button* + +Fires before the Submit Button on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 584](pages/page-mainwp-user.php#L584-L591) + + + +### `mainwp_manage_users_after_submit_button` + +*Action: mainwp_manage_users_after_submit_button* + +Fires after the Submit Button on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 595](pages/page-mainwp-user.php#L595-L602) + + + +### `mainwp_manage_users_sidebar_bottom` + +*Action: mainwp_manage_users_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 606](pages/page-mainwp-user.php#L606-L613) + + + +### `mainwp_before_users_table` + +*Action: mainwp_before_users_table* + +Fires before the User table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 819](pages/page-mainwp-user.php#L819-L826) + + + +### `mainwp_users_table_header` + +*Renders Users Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 805](pages/page-mainwp-user.php#L805-L832) + + + +### `mainwp_after_users_table` + +*Action: mainwp_after_users_table* + +Fires after the User table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 853](pages/page-mainwp-user.php#L853-L860) + + + +### `mainwp_users_table_column` + +*Renders Search results.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user` | | +`$website` | `object` | Object containing the child site info. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1207](pages/page-mainwp-user.php#L1207-L1229) + + + +### `mainwp_users_table_action` + +*Action: mainwp_users_table_action* + +Adds a new item in the Actions menu in Manage Users table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user` | `array` | Array containing the user data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1257](pages/page-mainwp-user.php#L1257-L1270) + + + +### `mainwp_before_user_action` + +*Action: mainwp_before_user_action* + +Fires before user edit/delete/update_user/update_password actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$userId` | | +`$extra` | | +`$pass` | | +`$optimize` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1415](pages/page-mainwp-user.php#L1415-L1422) + + + +### `mainwp_user_action` + +*Fires immediately after user action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$extra` | | +`$optimize` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1440](pages/page-mainwp-user.php#L1440-L1445) + + + +### `mainwp_after_user_action` + +*Action: mainwp_after_user_action* + +Fires after user edit/delete/update_user/update_password actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$userId` | | +`$extra` | | +`$pass` | | +`$optimize` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1451](pages/page-mainwp-user.php#L1451-L1458) + + + +### `mainwp_before_new_user_form` + +*Action: mainwp_before_new_user_form* + +Fires before the Add New user form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1499](pages/page-mainwp-user.php#L1499-L1506) + + + +### `mainwp_before_new_user_form_fields` + +*Action: mainwp_before_new_user_form_fields* + +Fires before the Add New user form fields. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1521](pages/page-mainwp-user.php#L1521-L1528) + + + +### `mainwp_after_new_user_form_fields` + +*Action: mainwp_after_new_user_form_fields* + +Fires after the Add New user form fields. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1621](pages/page-mainwp-user.php#L1621-L1628) + + + +### `mainwp_add_new_user_sidebar_top` + +*Action: mainwp_add_new_user_sidebar_top* + +Fires at the top of the sidebar on Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1634](pages/page-mainwp-user.php#L1634-L1641) + + + +### `mainwp_add_new_user_before_select_sites` + +*Action: mainwp_add_new_user_before_select_sites* + +Fires before the Select Sites section on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1645](pages/page-mainwp-user.php#L1645-L1652) + + + +### `mainwp_add_new_user_after_select_sites` + +*Action: mainwp_add_new_user_after_select_sites* + +Fires after the Select Sites section on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1664](pages/page-mainwp-user.php#L1664-L1671) + + + +### `mainwp_add_new_user_before_submit_button` + +*Action: mainwp_add_new_user_before_submit_button* + +Fires before the Submit button on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1677](pages/page-mainwp-user.php#L1677-L1684) + + + +### `mainwp_add_new_user_after_submit_button` + +*Action: mainwp_add_new_user_after_submit_button* + +Fires after the Submit button on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1694](pages/page-mainwp-user.php#L1694-L1701) + + + +### `mainwp_add_new_user_sidebar_bottom` + +*Action: mainwp_add_new_user_sidebar_bottom* + +Fires at the bottom of the sidebar on Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1705](pages/page-mainwp-user.php#L1705-L1712) + + + +### `mainwp_after_new_user_form` + +*Action: mainwp_after_new_user_form* + +Fires after the Add New user form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1718](pages/page-mainwp-user.php#L1718-L1725) + + + +### `mainwp_before_import_users` + +*Action: mainwp_before_import_users* + +Fires above the Import Users section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1773](pages/page-mainwp-user.php#L1773-L1780) + + + +### `mainwp_after_import_users` + +*Action: mainwp_after_import_users* + +Fires under the Import Users section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1813](pages/page-mainwp-user.php#L1813-L1820) + + + +### `mainwp_before_user_create` + +*Action: mainwp_before_user_create* + +Fires before user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1952](pages/page-mainwp-user.php#L1952-L1959) + + + +### `mainwp_after_user_create` + +*Action: mainwp_after_user_create* + +Fires after user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1972](pages/page-mainwp-user.php#L1972-L1979) + + + +### `mainwp_import_users_modal_top` + +*Action: mainwp_import_users_modal_top* + +Fires on the top of the Import Users modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2099](pages/page-mainwp-user.php#L2099-L2106) + + + +### `mainwp_import_users_modal_bottom` + +*Action: mainwp_import_users_modal_bottom* + +Fires on the bottom of the Import Users modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2120](pages/page-mainwp-user.php#L2120-L2127) + + + +### `mainwp_before_user_create` + +*Action: mainwp_before_user_create* + +Fires before user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2278](pages/page-mainwp-user.php#L2278-L2285) + + + +### `mainwp_after_user_create` + +*Action: mainwp_after_user_create* + +Fires after user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2298](pages/page-mainwp-user.php#L2298-L2305) + + + +### `mainwp_users_help_item` + +*Action: mainwp_users_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Users page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2359](pages/page-mainwp-user.php#L2359-L2370) + + + +### `mainwp_before_htaccess_section` + +*Action: mainwp_before_htaccess_section* + +Fires before the .htaccess file section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1867](pages/page-mainwp-server-information.php#L1867-L1874) + + + +### `mainwp_after_htaccess_section` + +*Action: mainwp_after_htaccess_section* + +Fires after the .htaccess file section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1890](pages/page-mainwp-server-information.php#L1890-L1897) + + + +### `mainwp_user_action` + +*Fires immediately after new user action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'created'` | | +`$data` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 62](pages/page-mainwp-bulk-add.php#L62-L67) + + + +### `mainwp_user_action` + +*Fires immediately after update admin password action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'newadminpassword'` | | +`$data` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 72](pages/page-mainwp-bulk-add.php#L72-L77) + + + +### `mainwp_disable_rest_api_access_log` + +*This filter enables the exclusion of the most recent access time from being logged for REST API calls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$this->user->key_id` | | +`$this->user->user_id` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-authentication.php](includes/rest-api/class-mainwp-rest-authentication.php), [line 790](includes/rest-api/class-mainwp-rest-authentication.php#L790-L799) + + + +### `mainwp_currentusercan` + +*Method \mainwp_current_user_can()* + +Check permission level by hook mainwp_currentusercan of Team Control extension. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$cap_type` | `string` | group or type of capabilities. +`$cap` | `string` | capabilities for current user. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 612](class/class-mainwp-system.php#L612-L649) + + + +### `mainwp_currentuserallowedaccesssites` + +*Filter: mainwp_currentuserallowedaccesssites* + +Filters allowed sites for the current user. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'all'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 1892](class/class-mainwp-db.php#L1892-L1899) + + + +### `mainwp_alter_login_user` + +*Filter: mainwp_alter_login_user* + +Filters users accounts so it allows you user to jump to child site under alternative administrator account. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$current_user->ID` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 440](class/class-mainwp-connect.php#L440-L450) + + + +### `mainwp_alter_login_user` + +*This filter is documented in ../class/class-mainwp-connect.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$current_user->ID` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 611](class/class-mainwp-connect.php#L611-L612) + + + +### `mainwp_module_log_get_role_list_separator` + +*Tries to find a label for the record's user_role.* + +If the user_role exists, use the label associated with it. + +Otherwise, if there is a user role label stored as Log meta then use that. +Otherwise, if the user exists, use the label associated with their current role. +Otherwise, use the role slug as the label. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`' - '` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 155](modules/logs/classes/class-log-author.php#L155-L183) + + + +### `mainwp_admin_users_table_fatures` + +*Filter: mainwp_admin_users_table_fatures* + +Filters Admin Users table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 326](pages/page-mainwp-bulk-update-admin-passwords.php#L326-L333) + + + +### `mainwp-users-manage-roles` + +*Renders manage users dashboard.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 368](pages/page-mainwp-user.php#L368-L528) + + + +### `mainwp_users_manage_roles` + +*Renders manage users dashboard.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 368](pages/page-mainwp-user.php#L368-L529) + + + +### `mainwp-users-manage-roles` + +*Renders Edit Users Modal window.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($editable_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 661](pages/page-mainwp-user.php#L661-L675) + + + +### `mainwp_users_manage_roles` + +*Renders Edit Users Modal window.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$editable_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 661](pages/page-mainwp-user.php#L661-L676) + + + +### `mainwp_users_table_fatures` + +*Renders Users Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 805](pages/page-mainwp-user.php#L805-L879) + + + +### `mainwp_new_user_password_complexity` + +*Filter: mainwp_new_user_password_complexity* + +Filters the Password lenght for the Add New user, Password field. + +Since 4.1 + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'24'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1486](pages/page-mainwp-user.php#L1486-L1493) + + + +### `mainwp-users-manage-roles` + +*Renders the Add New user form.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1481](pages/page-mainwp-user.php#L1481-L1597) + + + +### `mainwp_users_manage_roles` + +*Renders the Add New user form.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1481](pages/page-mainwp-user.php#L1481-L1598) + + + +### `mainwp-users-manage-roles` + +*Method do_bulk_add()* + +Bulk User addition $_POST Handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($cus_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1826](pages/page-mainwp-user.php#L1826-L1867) + + + +### `mainwp_users_manage_roles` + +*Method do_bulk_add()* + +Bulk User addition $_POST Handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cus_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1826](pages/page-mainwp-user.php#L1826-L1868) + + + diff --git a/mainwp-hooks-old/dashboard/filters/api-remote/index.md b/mainwp-hooks-old/dashboard/filters/api-remote/index.md new file mode 100644 index 0000000..b8721b9 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/api-remote/index.md @@ -0,0 +1,770 @@ +# API & Remote Communication Filters + +Hooks for API endpoints and remote communication with child sites. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`cloudways_api_form_top`](#cloudways_api_form_top) - Action: cloudways_api_form_top +- [`cloudways_api_form_bottom`](#cloudways_api_form_bottom) - Action: cloudways_api_form_bottom +- [`gridpane_api_form_top`](#gridpane_api_form_top) - Action: gridpane_api_form_top +- [`gridpane_api_form_bottom`](#gridpane_api_form_bottom) - Action: gridpane_api_form_bottom +- [`vultr_api_form_top`](#vultr_api_form_top) - Action: vultr_api_form_top +- [`vultr_api_form_bottom`](#vultr_api_form_bottom) - Action: vultr_api_form_bottom +- [`linode_api_form_top`](#linode_api_form_top) - Action: linode_api_form_top +- [`linode_api_form_bottom`](#linode_api_form_bottom) - Action: linode_api_form_bottom +- [`digitalocean_api_form_top`](#digitalocean_api_form_top) - Action: digitalocean_api_form_top +- [`digitalocean_api_form_bottom`](#digitalocean_api_form_bottom) - Action: digitalocean_api_form_bottom +- [`cpanel_api_form`](#cpanel_api_form) - Action: cpanel_api_form +- [`cpanel_api_form_bottom`](#cpanel_api_form_bottom) - Action: cpanel_api_form_bottom +- [`plesk_api_form_top`](#plesk_api_form_top) - Action: plesk_api_form_top +- [`plesk_api_form_bottom`](#plesk_api_form_bottom) - Action: plesk_api_form_bottom +- [`kinsta_api_form_top`](#kinsta_api_form_top) - Action: kinsta_api_form_top +- [`kinsta_api_form_bottom`](#kinsta_api_form_bottom) - Action: kinsta_api_form_bottom +- [`rest_api_form_top`](#rest_api_form_top) - Action: rest_api_form_top +- [`rest_api_form_bottom`](#rest_api_form_bottom) - Action: rest_api_form_bottom +- [`mainwp_rest_api_help_item`](#mainwp_rest_api_help_item) - Action: mainwp_rest_api_help_item +- [`mainwp_is_rest_api_request`](#mainwp_is_rest_api_request) - Whether this is a REST API request. +- [`mainwp_rest_is_request_to_rest_api`](#mainwp_rest_is_request_to_rest_api) - Check if is request to our REST API. +- [`mainwp_rest_api_v2_enabled`](#mainwp_rest_api_v2_enabled) - Hook into WordPress ready to init the REST API as needed. +- [`mainwp_rest_api_get_rest_namespaces`](#mainwp_rest_api_get_rest_namespaces) - Get API namespaces - new namespaces should be registered here. +- [`mainwp_rest_api_disabled`](#mainwp_rest_api_disabled) - Method is_rest_api_enabled() +- [`mainwp_rest_batch_items_limit`](#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_{$type}_object_query`](#mainwp_rest_type_object_query) - Filter the query arguments for a request. +- [`mainwp_rest_collection_params`](#mainwp_rest_collection_params) - Filter collection parameters for the controller. +- [`mainwp_rest_batch_items_limit`](#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_prepare_site`](#mainwp_rest_prepare_site) - Filterobject returned from the REST API. +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Fetch uptime urls. +- [`mainwp_remote_destination_info`](#mainwp_remote_destination_info) - Method mainwp_backup_upload_checkstatus() +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method try visit. +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method fetch_urls_authed() +- [`mainwp_curl_http_version`](#mainwp_curl_http_version) - Method fetch_url_site() +- [`mainwp_rest_api_enabled`](#mainwp_rest_api_enabled) - Method init_rest_api() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_all_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_client_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_site_costs_callback() +- [`mainwp_rest_api_validate`](#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_costs_callback() +- [`mainwp_rest_cost_collection_params`](#mainwp_rest_cost_collection_params) - Filter collection parameters. +- [`mainwp_rest_prepare_cost`](#mainwp_rest_prepare_cost) - Filter product reviews object returned from the REST API. +- [`https_local_ssl_verify`](#https_local_ssl_verify) - *Arguments* + +## Hook Details + +### `cloudways_api_form_top` + +*Action: cloudways_api_form_top* + +Fires at the top of CloudWays API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 274](modules/api-backups/classes/class-api-backups-settings.php#L274-L281) + + + +### `cloudways_api_form_bottom` + +*Action: cloudways_api_form_bottom* + +Fires at the bottom of CloudWays API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 317](modules/api-backups/classes/class-api-backups-settings.php#L317-L324) + + + +### `gridpane_api_form_top` + +*Action: gridpane_api_form_top* + +Fires at the top of GridPane API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 350](modules/api-backups/classes/class-api-backups-settings.php#L350-L357) + + + +### `gridpane_api_form_bottom` + +*Action: gridpane_api_form_bottom* + +Fires at the bottom of GridPane API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 383](modules/api-backups/classes/class-api-backups-settings.php#L383-L390) + + + +### `vultr_api_form_top` + +*Action: vultr_api_form_top* + +Fires at the top of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 417](modules/api-backups/classes/class-api-backups-settings.php#L417-L424) + + + +### `vultr_api_form_bottom` + +*Action: vultr_api_form_bottom* + +Fires at the bottom of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 450](modules/api-backups/classes/class-api-backups-settings.php#L450-L457) + + + +### `linode_api_form_top` + +*Action: linode_api_form_top* + +Fires at the top of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 483](modules/api-backups/classes/class-api-backups-settings.php#L483-L490) + + + +### `linode_api_form_bottom` + +*Action: linode_api_form_bottom* + +Fires at the bottom of Vultr API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 518](modules/api-backups/classes/class-api-backups-settings.php#L518-L525) + + + +### `digitalocean_api_form_top` + +*Action: digitalocean_api_form_top* + +Fires at the top of DigitalOcean API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 551](modules/api-backups/classes/class-api-backups-settings.php#L551-L558) + + + +### `digitalocean_api_form_bottom` + +*Action: digitalocean_api_form_bottom* + +Fires at the bottom of DigitalOcean API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 586](modules/api-backups/classes/class-api-backups-settings.php#L586-L593) + + + +### `cpanel_api_form` + +*Action: cpanel_api_form* + +Fires at the top of cPanel API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 618](modules/api-backups/classes/class-api-backups-settings.php#L618-L625) + + + +### `cpanel_api_form_bottom` + +*Action: cpanel_api_form_bottom* + +Fires at the bottom of cPanel API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 685](modules/api-backups/classes/class-api-backups-settings.php#L685-L692) + + + +### `plesk_api_form_top` + +*Action: plesk_api_form_top* + +Fires at the top of Plesk API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 718](modules/api-backups/classes/class-api-backups-settings.php#L718-L725) + + + +### `plesk_api_form_bottom` + +*Action: plesk_api_form_bottom* + +Fires at the bottom of Plesk API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 762](modules/api-backups/classes/class-api-backups-settings.php#L762-L769) + + + +### `kinsta_api_form_top` + +*Action: kinsta_api_form_top* + +Fires at the top of Kinsta API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 795](modules/api-backups/classes/class-api-backups-settings.php#L795-L802) + + + +### `kinsta_api_form_bottom` + +*Action: kinsta_api_form_bottom* + +Fires at the bottom of Kinsta API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 851](modules/api-backups/classes/class-api-backups-settings.php#L851-L858) + + + +### `rest_api_form_top` + +*Action: rest_api_form_top* + +Fires at the top of REST API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 850](pages/page-mainwp-rest-api-page.php#L850-L857) + + + +### `rest_api_form_bottom` + +*Action: rest_api_form_bottom* + +Fires at the bottom of REST API form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 936](pages/page-mainwp-rest-api-page.php#L936-L943) + + + +### `mainwp_rest_api_help_item` + +*Action: mainwp_rest_api_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the REST API page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 1260](pages/page-mainwp-rest-api-page.php#L1260-L1271) + + + +### `mainwp_is_rest_api_request` + +*Whether this is a REST API request.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$is_rest_api_request` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1.1` | + +Source: [../sources/mainwp-dashboard/includes/class-mainwp-setup.php](includes/class-mainwp-setup.php), [line 81](includes/class-mainwp-setup.php#L81-L86) + + + +### `mainwp_rest_is_request_to_rest_api` + +*Check if is request to our REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_api || $extension_api` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-authentication.php](includes/rest-api/class-mainwp-rest-authentication.php), [line 89](includes/rest-api/class-mainwp-rest-authentication.php#L89-L108) + + + +### `mainwp_rest_api_v2_enabled` + +*Hook into WordPress ready to init the REST API as needed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-server.php](includes/rest-api/class-mainwp-rest-server.php), [line 47](includes/rest-api/class-mainwp-rest-server.php#L47-L51) + + + +### `mainwp_rest_api_get_rest_namespaces` + +*Get API namespaces - new namespaces should be registered here.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('mainwp/v2' => $this->get_v2_controllers())` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-server.php](includes/rest-api/class-mainwp-rest-server.php), [line 89](includes/rest-api/class-mainwp-rest-server.php#L89-L100) + + + +### `mainwp_rest_api_disabled` + +*Method is_rest_api_enabled()* + +Check if Enabled the REST API. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 92](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L92-L99) + + + +### `mainwp_rest_batch_items_limit` + +*Check batch limit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | +`$this->get_normalized_rest_base()` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 189](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L189-L196) + + + +### `mainwp_rest_{$type}_object_query` + +*Filter the query arguments for a request.* + +Enables adding extra arguments or setting defaults for a post +collection request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | `array` | Key value array of query var to query value. +`$request` | `\WP_REST_Request` | The request used. + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 406](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L406-L415) + + + +### `mainwp_rest_collection_params` + +*Filter collection parameters for the controller.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | | +`$this` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-controller.php), [line 1384](includes/rest-api/controller/version2/class-mainwp-rest-controller.php#L1384-L1390) + + + +### `mainwp_rest_batch_items_limit` + +*Check batch limit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | +`$this->get_normalized_rest_base()` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php), [line 471](includes/rest-api/controller/version2/class-mainwp-rest-global-batch-controller.php#L471-L478) + + + +### `mainwp_rest_prepare_site` + +*Filterobject returned from the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The object. +`$item` | `mixed` | The object used to create response. +`$request` | `\WP_REST_Request` | Request object. + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2346](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2346-L2353) + + + +### `mainwp_curl_http_version` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L497) + + + +### `mainwp_remote_destination_info` + +*Method mainwp_backup_upload_checkstatus()* + +Check upload status + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`isset($_POST['remote_destination']) ? sanitize_text_field(wp_unslash($_POST['remote_destination'])) : ''` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-backup-handler.php](class/class-mainwp-post-backup-handler.php), [line 376](class/class-mainwp-post-backup-handler.php#L376-L391) + + + +### `mainwp_curl_http_version` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`false` | | +`$url` | `string` | Child Site URL. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L101) + + + +### `mainwp_curl_http_version` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L894) + + + +### `mainwp_curl_http_version` + +*Method fetch_url_site()* + +M Fetch URL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website ? $website->id : false` | | +`$url` | `string` | URL to fetch from. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1351](class/class-mainwp-connect.php#L1351-L1486) + + + +### `mainwp_rest_api_enabled` + +*Method init_rest_api()* + +Adds an action to create the rest API endpoints if activated in the plugin settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 56](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L56-L62) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_all_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-all-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 167](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L167-L180) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_client_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-client-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 195](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L195-L208) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_site_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-site-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 245](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L245-L258) + + + +### `mainwp_rest_api_validate` + +*Method cost_tracker_rest_api_get_costs_callback()* + +Callback function for managing the response to API requests made for the endpoint: cost-tracker +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/cost-tracker/get-costs +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$request` | `array` | The request made in the API call which includes all parameters. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php), [line 285](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-v1.php#L285-L298) + + + +### `mainwp_rest_cost_collection_params` + +*Filter collection parameters.* + +This filter registers the collection parameter, but does not map the +collection parameter to an internal WP_Comment_Query parameter. Use the +`wc_rest_review_query` filter to set WP_Comment_Query parameters. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | JSON Schema-formatted collection parameters. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 753](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L753-L763) + + + +### `mainwp_rest_prepare_cost` + +*Filter product reviews object returned from the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The object. +`$review` | | +`$request` | `\WP_REST_Request` | Request object. + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 947](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L947-L953) + + + +### `https_local_ssl_verify` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 704](pages/page-mainwp-server-information-handler.php#L704-L704) + + + diff --git a/mainwp-hooks-old/dashboard/filters/backups-restoration/index.md b/mainwp-hooks-old/dashboard/filters/backups-restoration/index.md new file mode 100644 index 0000000..6170920 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/backups-restoration/index.md @@ -0,0 +1,1073 @@ +# Backups & Restoration Filters + +Hooks for backup creation, management, and restoration processes. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_backups_remote_settings`](#mainwp_backups_remote_settings) - Render Backup Options. +- [`mainwp_log_action`](#mainwp_log_action) - Debugging log. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_add_backuptask`](#mainwp_add_backuptask) - Add backup task. +- [`mainwp-getprimarybackup-activated`](#mainwp-getprimarybackup-activated) - Method admin_init() +- [`mainwp_getprimarybackup_activated`](#mainwp_getprimarybackup_activated) - Method admin_init() +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method get_columns() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - This filter is documented in ../pages/page-mainwp-server-information-handler.php +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Renders the Backup Site Dialog. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Renders the Backup Site Dialog. +- [`mainwp_encrypt_key_value`](#mainwp_encrypt_key_value) - Method encrypt_api_keys +- [`mainwp_decrypt_key_value`](#mainwp_decrypt_key_value) - Method decrypt_api_keys +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Render Legacy Backups page. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Render Legacy Backups page. +- [`mainwp_backuptask_column_destination`](#mainwp_backuptask_column_destination) - Column Destination. +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method render_settings() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Method render_settings() +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Method render_individual_settings() +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Method render_individual_settings() +- [`mainwp_backuptask_remotedestinations`](#mainwp_backuptask_remotedestinations) - Get backup tasks and site ID. +- [`mainwp-getprimarybackup-methods`](#mainwp-getprimarybackup-methods) - Gets MainWP Set Options. +- [`mainwp_getprimarybackup_methods`](#mainwp_getprimarybackup_methods) - Gets MainWP Set Options. + +## Hook Details + +### `mainwp_backups_remote_settings` + +*Render Backup Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('website' => $website->id)` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 135](class/class-mainwp-manage-sites-backup-view.php#L135-L176) + + + +### `mainwp_log_action` + +*Debugging log.* + +Sets logging for debugging purpose. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'API Backups :: ' . $message` | | +`MainWP_Logger::API_BACKUPS_LOG_PRIORITY` | | +`$log_color` | `int` | Log color. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 173](modules/api-backups/classes/class-api-backups-utility.php#L173-L191) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_backup'` | | +`array(&$this, 'ajax_cloudways_action_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L105) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_individual_backup'` | | +`array(&$this, 'ajax_cloudways_action_individual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L106) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_refresh_available_backups'` | | +`array(&$this, 'cloudways_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L108) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_restore_backup'` | | +`array(&$this, 'cloudways_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L109) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_delete_backup'` | | +`array(&$this, 'cloudways_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L110) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_create_backup'` | | +`array(&$this, 'ajax_gridpane_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L113) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_individual_create_backup'` | | +`array(&$this, 'ajax_gridpane_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L114) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_refresh_available_backups'` | | +`array(&$this, 'gridpane_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L116) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_restore_backup'` | | +`array(&$this, 'gridpane_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L117) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_delete_backup'` | | +`array(&$this, 'gridpane_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L118) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_create_snapshot'` | | +`array(&$this, 'ajax_vultr_action_create_snapshot')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L121) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_individual_create_snapshot'` | | +`array(&$this, 'ajax_vultr_action_individual_create_snapshot')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L122) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_refresh_available_backups'` | | +`array(&$this, 'vultr_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L123) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_restore_backup'` | | +`array(&$this, 'ajax_vultr_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L124) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'vultr_action_delete_backup'` | | +`array(&$this, 'vultr_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L125) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_create_backup'` | | +`array(&$this, 'ajax_linode_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L128) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_individual_create_backup'` | | +`array(&$this, 'ajax_linode_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L129) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_refresh_available_backups'` | | +`array(&$this, 'linode_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L130) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_restore_backup'` | | +`array(&$this, 'linode_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L131) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'linode_action_cancel_backups'` | | +`array(&$this, 'linode_action_cancel_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L132) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_create_backup'` | | +`array(&$this, 'ajax_digitalocean_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L135) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_individual_create_backup'` | | +`array(&$this, 'ajax_digitalocean_action_individual_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L136) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_refresh_available_backups'` | | +`array(&$this, 'digitalocean_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L137) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_restore_backup'` | | +`array(&$this, 'digitalocean_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L138) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'digitalocean_action_delete_backup'` | | +`array(&$this, 'digitalocean_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L139) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_refresh_available_backups'` | | +`array(&$this, 'ajax_cpanel_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L142) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_manual_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_manual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L143) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L144) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L145) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_delete_wptk_backup'` | | +`array(&$this, 'ajax_cpanel_action_delete_wptk_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L146) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L147) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_database_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_database_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L148) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_restore_manual_backup'` | | +`array(&$this, 'ajax_cpanel_action_restore_manual_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L149) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_database_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_database_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L150) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cpanel_action_create_full_backup'` | | +`array(&$this, 'ajax_cpanel_action_create_full_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L151) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_refresh_available_backups'` | | +`array(&$this, 'ajax_plesk_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L154) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_create_backup'` | | +`array(&$this, 'ajax_plesk_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L155) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_restore_backup'` | | +`array(&$this, 'ajax_plesk_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L156) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plesk_action_delete_backup'` | | +`array(&$this, 'ajax_plesk_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L157) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_refresh_available_backups'` | | +`array(&$this, 'ajax_kinsta_action_refresh_available_backups')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L160) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_create_backup'` | | +`array(&$this, 'ajax_kinsta_action_create_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L161) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_restore_backup'` | | +`array(&$this, 'ajax_kinsta_action_restore_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L162) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'kinsta_action_delete_backup'` | | +`array(&$this, 'ajax_kinsta_action_delete_backup')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L163) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'action_backup_selected_sites'` | | +`array(&$this, 'action_backup_selected_sites')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L166) + + + +### `mainwp_add_backuptask` + +*Add backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$task->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 211](pages/page-mainwp-manage-backups-handler.php#L211-L276) + + + +### `mainwp-getprimarybackup-activated` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($return)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_activated'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L807) + + + +### `mainwp_getprimarybackup_activated` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$return` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L808) + + + +### `mainwp-getprimarybackup-methods` + +*Method get_columns()* + +Combine all columns. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 311](class/class-mainwp-manage-sites-list-table.php#L311-L346) + + + +### `mainwp_getprimarybackup_methods` + +*This filter is documented in ../pages/page-mainwp-server-information-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 348](class/class-mainwp-manage-sites-list-table.php#L348-L349) + + + +### `mainwp-getprimarybackup-methods` + +*Renders the Backup Site Dialog.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 63](class/class-mainwp-manage-sites-backup-view.php#L63-L78) + + + +### `mainwp_getprimarybackup_methods` + +*Renders the Backup Site Dialog.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-backup-view.php](class/class-mainwp-manage-sites-backup-view.php), [line 63](class/class-mainwp-manage-sites-backup-view.php#L63-L79) + + + +### `mainwp_encrypt_key_value` + +*Method encrypt_api_keys* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$data` | `string` | data. +`$prefix` | | +`$file_key` | `string` | file key. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 524](modules/api-backups/classes/class-api-backups-utility.php#L524-L547) + + + +### `mainwp_decrypt_key_value` + +*Method decrypt_api_keys* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$encrypted_data` | `mixed` | encrypted data. +`$def_val` | `string` | default data. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 556](modules/api-backups/classes/class-api-backups-utility.php#L556-L564) + + + +### `mainwp-getprimarybackup-methods` + +*Render Legacy Backups page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 320](pages/page-mainwp-manage-backups.php#L320-L352) + + + +### `mainwp_getprimarybackup_methods` + +*Render Legacy Backups page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 320](pages/page-mainwp-manage-backups.php#L320-L353) + + + +### `mainwp_backuptask_column_destination` + +*Column Destination.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$item->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 603](pages/page-mainwp-manage-backups.php#L603-L611) + + + +### `mainwp-getprimarybackup-methods` + +*Method render_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 966](pages/page-mainwp-manage-backups.php#L966-L990) + + + +### `mainwp_getprimarybackup_methods` + +*Method render_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 966](pages/page-mainwp-manage-backups.php#L966-L991) + + + +### `mainwp-getprimarybackup-methods` + +*Method render_individual_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 1190](pages/page-mainwp-manage-backups.php#L1190-L1201) + + + +### `mainwp_getprimarybackup_methods` + +*Method render_individual_settings()* + +Render backup settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 1190](pages/page-mainwp-manage-backups.php#L1190-L1202) + + + +### `mainwp_backuptask_remotedestinations` + +*Get backup tasks and site ID.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$backupTask` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 514](pages/page-mainwp-manage-backups-handler.php#L514-L558) + + + +### `mainwp-getprimarybackup-methods` + +*Gets MainWP Set Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($primary_methods)` | | +`'4.0.7.2'` | | +`'mainwp_getprimarybackup_methods'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 852](pages/page-mainwp-server-information-handler.php#L852-L966) + + + +### `mainwp_getprimarybackup_methods` + +*Gets MainWP Set Options.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$primary_methods` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information-handler.php](pages/page-mainwp-server-information-handler.php), [line 852](pages/page-mainwp-server-information-handler.php#L852-L967) + + + diff --git a/mainwp-hooks-old/dashboard/filters/client-reports/index.md b/mainwp-hooks-old/dashboard/filters/client-reports/index.md new file mode 100644 index 0000000..4486524 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/client-reports/index.md @@ -0,0 +1,853 @@ +# Client Reports Filters + +Hooks for report generation, customization, and delivery. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_clientstable_prepared_items`](#mainwp_clientstable_prepared_items) - Prepair the items to be listed. +- [`mainwp_client_deleted`](#mainwp_client_deleted) - Delete client +- [`mainwp_before_select_clients_list`](#mainwp_before_select_clients_list) - Action: mainwp_before_select_clients_list +- [`mainwp_after_select_clients_list`](#mainwp_after_select_clients_list) - Action: mainwp_after_select_clients_list +- [`mainwp_client_suspend`](#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_manageclients_tabletop`](#mainwp_manageclients_tabletop) - Method render_second_top_header() +- [`mainwp_client_suspend`](#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_clients_overview_screen_options_top`](#mainwp_clients_overview_screen_options_top) - Action: mainwp_clients_overview_screen_options_top +- [`mainwp_clients_overview_screen_options_bottom`](#mainwp_clients_overview_screen_options_bottom) - Action: mainwp_clients_overview_screen_options_bottom +- [`mainwp_clients_overview_help_item`](#mainwp_clients_overview_help_item) - Action: mainwp_clients_overview_help_item +- [`mainwp_clients_overview_note_widget_top`](#mainwp_clients_overview_note_widget_top) - Actoin: mainwp_clients_overview_note_widget_top +- [`mainwp_clients_overview_note_widget_bottom`](#mainwp_clients_overview_note_widget_bottom) - Action: mainwp_clients_overview_note_widget_bottom +- [`mainwp_clients_overview_contact_widget_top`](#mainwp_clients_overview_contact_widget_top) - Actoin: mainwp_clients_overview_contact_widget_top +- [`mainwp_clients_overview_contact_widget_bottom`](#mainwp_clients_overview_contact_widget_bottom) - Action: mainwp_clients_overview_contact_widget_bottom +- [`mainwp_clients_overview_overview_widget_top`](#mainwp_clients_overview_overview_widget_top) - Actoin: mainwp_clients_overview_overview_widget_top +- [`mainwp_clients_overview_overview_widget_bottom`](#mainwp_clients_overview_overview_widget_bottom) - Action: mainwp_clients_overview_overview_widget_bottom +- [`mainwp_clients_overview_info_widget_top`](#mainwp_clients_overview_info_widget_top) - Actoin: mainwp_clients_overview_info_widget_top +- [`mainwp_clients_overview_info_table_top`](#mainwp_clients_overview_info_table_top) - Action: mainwp_clients_overview_info_table_top +- [`mainwp_clients_overview_info_table_bottom`](#mainwp_clients_overview_info_table_bottom) - Action: mainwp_clients_overview_info_table_bottom +- [`mainwp_clients_overview_info_widget_bottom`](#mainwp_clients_overview_info_widget_bottom) - Action: mainwp_clients_overview_info_widget_bottom +- [`mainwp_clients_widget_top`](#mainwp_clients_widget_top) - Actoin: mainwp_clients_widget_top +- [`mainwp_clients_widget_bottom`](#mainwp_clients_widget_bottom) - Action: mainwp_clients_widget_bottom +- [`mainwp_clients_info_widget_top`](#mainwp_clients_info_widget_top) - Actoin: mainwp_clients_info_widget_top +- [`mainwp_clients_info_table_top`](#mainwp_clients_info_table_top) - Action: mainwp_clients_info_table_top +- [`mainwp_clients_info_table_bottom`](#mainwp_clients_info_table_bottom) - Action: mainwp_clients_info_table_bottom +- [`mainwp_clients_info_widget_bottom`](#mainwp_clients_info_widget_bottom) - Action: mainwp_clients_info_widget_bottom +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get client by tag id. +- [`mainwp_clients_sitestable_item`](#mainwp_clients_sitestable_item) - Filter: mainwp_clients_sitestable_item +- [`mainwp_clients_sitestable_getcolumns`](#mainwp_clients_sitestable_getcolumns) - Filter: mainwp_clients_sitestable_getcolumns +- [`mainwp_manageclients_bulk_actions`](#mainwp_manageclients_bulk_actions) - Filter: mainwp_manageclients_bulk_actions +- [`mainwp_clients_table_features`](#mainwp_clients_table_features) - Filter: mainwp_clients_table_features +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get clients by item. +- [`mainwp_clients_getmetaboxes`](#mainwp_clients_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_clients_overview_enabled_widgets`](#mainwp_clients_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_clients_widgets_screen_options`](#mainwp_clients_widgets_screen_options) - Filter: mainwp_clients_widgets_screen_options +- [`mainwp_clients_overview_note_widget_title`](#mainwp_clients_overview_note_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_title`](#mainwp_clients_overview_contact_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_sutbitle`](#mainwp_clients_overview_contact_widget_sutbitle) - *Arguments* +- [`mainwp_clients_overview_info_widget_title`](#mainwp_clients_overview_info_widget_title) - *Arguments* +- [`mainwp_clients_widget_title`](#mainwp_clients_widget_title) - *Arguments* +- [`mainwp_clients_info_widget_title`](#mainwp_clients_info_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_clientstable_prepared_items` + +*Prepair the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | | +`$clients_ids` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 290](class/class-mainwp-client-list-table.php#L290-L330) + + + +### `mainwp_client_deleted` + +*Delete client* + +Fires after delete a client. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$current` | `object` | client deleted. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-client.php](class/class-mainwp-db-client.php), [line 1010](class/class-mainwp-db-client.php#L1010-L1019) + + + +### `mainwp_before_select_clients_list` + +*Action: mainwp_before_select_clients_list* + +Fires before the Select Clients list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing Clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 355](class/class-mainwp-ui-select-sites.php#L355-L364) + + + +### `mainwp_after_select_clients_list` + +*Action: mainwp_after_select_clients_list* + +Fires after the Select Clients list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing Clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 405](class/class-mainwp-ui-select-sites.php#L405-L414) + + + +### `mainwp_client_suspend` + +*Fires immediately after update client suspend/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | `object` | client data. +`$suspended` | `bool` | true\|false. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-handler.php](class/class-mainwp-post-handler.php), [line 1111](class/class-mainwp-post-handler.php#L1111-L1119) + + + +### `mainwp_manageclients_tabletop` + +*Method render_second_top_header()* + +Render second top header. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 565](pages/page-mainwp-client.php#L565-L576) + + + +### `mainwp_client_suspend` + +*Fires immediately after update client suspend/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$inserted` | | +`$new_suspended` | `bool` | true\|false. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 1353](pages/page-mainwp-client.php#L1353-L1361) + + + +### `mainwp_clients_overview_screen_options_top` + +*Action: mainwp_clients_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 366](pages/page-mainwp-client-overview.php#L366-L373) + + + +### `mainwp_clients_overview_screen_options_bottom` + +*Action: mainwp_clients_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 380](pages/page-mainwp-client-overview.php#L380-L387) + + + +### `mainwp_clients_overview_help_item` + +*Action: mainwp_clients_overview_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Clients page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 521](pages/page-mainwp-client-overview.php#L521-L532) + + + +### `mainwp_clients_overview_note_widget_top` + +*Actoin: mainwp_clients_overview_note_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 78](widgets/widget-mainwp-client-overview-note.php#L78-L87) + + + +### `mainwp_clients_overview_note_widget_bottom` + +*Action: mainwp_clients_overview_note_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 100](widgets/widget-mainwp-client-overview-note.php#L100-L109) + + + +### `mainwp_clients_overview_contact_widget_top` + +*Actoin: mainwp_clients_overview_contact_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$contact_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 82](widgets/widget-mainwp-client-overview-contacts.php#L82-L91) + + + +### `mainwp_clients_overview_contact_widget_bottom` + +*Action: mainwp_clients_overview_contact_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$contact_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 142](widgets/widget-mainwp-client-overview-contacts.php#L142-L151) + + + +### `mainwp_clients_overview_overview_widget_top` + +*Actoin: mainwp_clients_overview_overview_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-info.php](widgets/widget-mainwp-client-overview-info.php), [line 82](widgets/widget-mainwp-client-overview-info.php#L82-L91) + + + +### `mainwp_clients_overview_overview_widget_bottom` + +*Action: mainwp_clients_overview_overview_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-info.php](widgets/widget-mainwp-client-overview-info.php), [line 159](widgets/widget-mainwp-client-overview-info.php#L159-L168) + + + +### `mainwp_clients_overview_info_widget_top` + +*Actoin: mainwp_clients_overview_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 71](widgets/widget-mainwp-client-overview-custom-info.php#L71-L80) + + + +### `mainwp_clients_overview_info_table_top` + +*Action: mainwp_clients_overview_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 89](widgets/widget-mainwp-client-overview-custom-info.php#L89-L98) + + + +### `mainwp_clients_overview_info_table_bottom` + +*Action: mainwp_clients_overview_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 128](widgets/widget-mainwp-client-overview-custom-info.php#L128-L137) + + + +### `mainwp_clients_overview_info_widget_bottom` + +*Action: mainwp_clients_overview_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 147](widgets/widget-mainwp-client-overview-custom-info.php#L147-L156) + + + +### `mainwp_clients_widget_top` + +*Actoin: mainwp_clients_widget_top* + +Fires at the top of the Clients widget on the overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing the clients info. + +**Changelog** + +Version | Description +------- | ----------- +`4.4` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 62](widgets/widget-mainwp-clients.php#L62-L71) + + + +### `mainwp_clients_widget_bottom` + +*Action: mainwp_clients_widget_bottom* + +Fires at the bottom of the Clients widget on the overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clients` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.4` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 161](widgets/widget-mainwp-clients.php#L161-L170) + + + +### `mainwp_clients_info_widget_top` + +*Actoin: mainwp_clients_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 84](widgets/widget-mainwp-client-info.php#L84-L93) + + + +### `mainwp_clients_info_table_top` + +*Action: mainwp_clients_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 107](widgets/widget-mainwp-client-info.php#L107-L116) + + + +### `mainwp_clients_info_table_bottom` + +*Action: mainwp_clients_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 168](widgets/widget-mainwp-client-info.php#L168-L177) + + + +### `mainwp_clients_info_widget_bottom` + +*Action: mainwp_clients_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 183](widgets/widget-mainwp-client-info.php#L183-L192) + + + +### `mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context` + +*Get client by tag id.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php), [line 404](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php#L404-L423) + + + +### `mainwp_clients_sitestable_item` + +*Filter: mainwp_clients_sitestable_item* + +Filters the Clients table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$item` | `array` | Array containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 60](class/class-mainwp-client-list-table.php#L60-L69) + + + +### `mainwp_clients_sitestable_getcolumns` + +*Filter: mainwp_clients_sitestable_getcolumns* + +Filters the Clients table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 156](class/class-mainwp-client-list-table.php#L156-L165) + + + +### `mainwp_manageclients_bulk_actions` + +*Filter: mainwp_manageclients_bulk_actions* + +Filters bulk actions on the Clients page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 206](class/class-mainwp-client-list-table.php#L206-L213) + + + +### `mainwp_clients_table_features` + +*Filter: mainwp_clients_table_features* + +Filter the Clients table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 409](class/class-mainwp-client-list-table.php#L409-L416) + + + +### `mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context` + +*Get clients by item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 566](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L566-L624) + + + +### `mainwp_clients_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 143](pages/page-mainwp-client-overview.php#L143-L169) + + + +### `mainwp_clients_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 191](pages/page-mainwp-client-overview.php#L191-L201) + + + +### `mainwp_clients_widgets_screen_options` + +*Filter: mainwp_clients_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 438](pages/page-mainwp-client-overview.php#L438-L445) + + + +### `mainwp_clients_overview_note_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Notes', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-note.php](widgets/widget-mainwp-client-overview-note.php), [line 71](widgets/widget-mainwp-client-overview-note.php#L71-L71) + + + +### `mainwp_clients_overview_contact_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`__('Client Contact', 'mainwp')` | | +`$contact_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 73](widgets/widget-mainwp-client-overview-contacts.php#L73-L73) + + + +### `mainwp_clients_overview_contact_widget_sutbitle` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`__('Contact Information', 'mainwp')` | | +`$contact_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-contacts.php](widgets/widget-mainwp-client-overview-contacts.php), [line 76](widgets/widget-mainwp-client-overview-contacts.php#L76-L76) + + + +### `mainwp_clients_overview_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Additional Client Info', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-custom-info.php](widgets/widget-mainwp-client-overview-custom-info.php), [line 64](widgets/widget-mainwp-client-overview-custom-info.php#L64-L64) + + + +### `mainwp_clients_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Clients', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-clients.php](widgets/widget-mainwp-clients.php), [line 55](widgets/widget-mainwp-clients.php#L55-L55) + + + +### `mainwp_clients_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Client Info', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-info.php](widgets/widget-mainwp-client-info.php), [line 78](widgets/widget-mainwp-client-info.php#L78-L78) + + + diff --git a/mainwp-hooks-old/dashboard/filters/content-management/index.md b/mainwp-hooks-old/dashboard/filters/content-management/index.md new file mode 100644 index 0000000..f1ba9d6 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/content-management/index.md @@ -0,0 +1,4021 @@ +# Content Management Filters + +Hooks for managing posts, pages, comments, and other content. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_bulkpost_categories_handle`](#mainwp_bulkpost_categories_handle) - Method add_categories_handle() +- [`mainwp_bulkpost_tags_handle`](#mainwp_bulkpost_tags_handle) - Method add_tags_handle() +- [`mainwp_post_action`](#mainwp_post_action) - Fires immediately after post action. +- [`mainwp_postprocess_backup_site`](#mainwp_postprocess_backup_site) - Method backup_site() +- [`mainwp_help_sidebar_content`](#mainwp_help_sidebar_content) - Action: mainwp_help_sidebar_content +- [`mainwp_before_mainwp_content_wrap`](#mainwp_before_mainwp_content_wrap) - Action: mainwp_before_mainwp_content_wrap +- [`mainwp_page_navigation_menu`](#mainwp_page_navigation_menu) - Method render_page_navigation() +- [`mainwp_save_bulkpost`](#mainwp_save_bulkpost) - Action: mainwp_save_bulkpost +- [`mainwp_before_redirect_posting_bulkpost`](#mainwp_before_redirect_posting_bulkpost) - Action: mainwp_before_redirect_posting_bulkpost +- [`mainwp_save_bulkpage`](#mainwp_save_bulkpage) - Action: mainwp_save_bulkpage +- [`mainwp_before_redirect_posting_bulkpage`](#mainwp_before_redirect_posting_bulkpage) - Action: mainwp_before_redirect_posting_bulkpage +- [`mainwp_register_post_type`](#mainwp_register_post_type) - Method create_post_type() +- [`mainwp_admin_footer`](#mainwp_admin_footer) - Action: mainwp_admin_footer +- [`mainwp_pageheader_settings`](#mainwp_pageheader_settings) - Render settings +- [`mainwp_pagefooter_settings`](#mainwp_pagefooter_settings) - Render settings +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - Render Tabs. +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - Render Tabs. +- [`mainwp_pageheader_settings`](#mainwp_pageheader_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_settings`](#mainwp_pagefooter_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_module_cost_tracker_help_item`](#mainwp_module_cost_tracker_help_item) - Action: mainwp_module_cost_tracker_help_item +- [`mainwp_module_cost_tracker_actions_bar_left`](#mainwp_module_cost_tracker_actions_bar_left) - Render Actions Bar +- [`mainwp_module_cost_tracker_actions_bar_right`](#mainwp_module_cost_tracker_actions_bar_right) - Render Actions Bar +- [`mainwp_tools_form_top`](#mainwp_tools_form_top) - Action: mainwp_tools_form_top +- [`mainwp_tools_form_bottom`](#mainwp_tools_form_bottom) - Action: mainwp_tools_form_bottom +- [`mainwp_bulkpost_before_post`](#mainwp_bulkpost_before_post) - Before Post post action +- [`mainwp_posts_posting_popup_actions`](#mainwp_posts_posting_popup_actions) - Method posting() +- [`mainwp-post-posting-post`](#mainwp-post-posting-post) - Method posting_posts() +- [`mainwp-bulkposting-done`](#mainwp-bulkposting-done) - Method posting_posts() +- [`mainwp_post_posting_post`](#mainwp_post_posting_post) - Posting post +- [`mainwp_bulkposting_done`](#mainwp_bulkposting_done) - Posting post completed +- [`mainwp_manage_posts_bulk_action`](#mainwp_manage_posts_bulk_action) - Method render() +- [`mainwp_posts_bulk_action`](#mainwp_posts_bulk_action) - Action: mainwp_posts_bulk_action +- [`mainwp_posts_actions_bar_left`](#mainwp_posts_actions_bar_left) - Action: mainwp_posts_actions_bar_left +- [`mainwp_posts_actions_bar_right`](#mainwp_posts_actions_bar_right) - Action: mainwp_posts_actions_bar_right +- [`mainwp_manage_posts_sidebar_top`](#mainwp_manage_posts_sidebar_top) - Action: mainwp_manage_posts_sidebar_top +- [`mainwp_manage_posts_before_select_sites`](#mainwp_manage_posts_before_select_sites) - Action: mainwp_manage_posts_before_select_sites +- [`mainwp_manage_posts_after_select_sites`](#mainwp_manage_posts_after_select_sites) - Action: mainwp_manage_posts_after_select_sites +- [`mainwp_manage_posts_before_search_options`](#mainwp_manage_posts_before_search_options) - Action: mainwp_manage_posts_before_search_options +- [`mainwp_manage_posts_after_search_options`](#mainwp_manage_posts_after_search_options) - Action: mainwp_manage_posts_after_search_options +- [`mainwp_manage_posts_before_submit_button`](#mainwp_manage_posts_before_submit_button) - Action: mainwp_manage_posts_before_submit_button +- [`mainwp_manage_posts_after_submit_button`](#mainwp_manage_posts_after_submit_button) - Action: mainwp_manage_posts_after_submit_button +- [`mainwp_manage_posts_sidebar_bottom`](#mainwp_manage_posts_sidebar_bottom) - Action: mainwp_manage_posts_sidebar_bottom +- [`mainwp_before_posts_table`](#mainwp_before_posts_table) - Action: mainwp_before_posts_table +- [`mainwp_posts_table_header`](#mainwp_posts_table_header) - Action: mainwp_posts_table_header +- [`mainwp_after_posts_table`](#mainwp_after_posts_table) - Action: mainwp_after_posts_table +- [`mainwp_posts_table_column`](#mainwp_posts_table_column) - Action: mainwp_posts_table_column +- [`mainwp_manage_posts_action_item`](#mainwp_manage_posts_action_item) - Method posts_search_handler() +- [`mainwp_posts_table_action`](#mainwp_posts_table_action) - Action: mainwp_posts_table_action +- [`mainwp_top_bulkpost_edit_content`](#mainwp_top_bulkpost_edit_content) - Renders bulkpost to edit. +- [`mainwp_before_bulkpost_editor`](#mainwp_before_bulkpost_editor) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit`](#mainwp_bulkpost_edit) - Edit bulkpost +- [`add_meta_boxes`](#add_meta_boxes) - Edit bulkpost metaboxes +- [`mainwp_bulkpost_edit_top_side`](#mainwp_bulkpost_edit_top_side) - Renders bulkpost to edit. +- [`mainwp_edit_posts_before_submit_button`](#mainwp_edit_posts_before_submit_button) - Action: mainwp_edit_posts_before_submit_button +- [`mainwp_edit_posts_after_submit_button`](#mainwp_edit_posts_after_submit_button) - Action: mainwp_edit_posts_after_submit_button +- [`mainwp_posts_help_item`](#mainwp_posts_help_item) - Action: mainwp_posts_help_item +- [`mainwp_overview_help_item`](#mainwp_overview_help_item) - Action: mainwp_overview_help_item +- [`mainwp_cron_jobs_list`](#mainwp_cron_jobs_list) - Action: mainwp_cron_jobs_list +- [`mainwp_pageheader_tags`](#mainwp_pageheader_tags) - Sites Page header +- [`mainwp_pagefooter_tags`](#mainwp_pagefooter_tags) - Sites Page Footer +- [`mainwp_post_created`](#mainwp_post_created) - Method posting_bulk_handler() +- [`admin_print_styles`](#admin_print_styles) - Method setup_wizard_header() +- [`mainwp_pageheader_extensions`](#mainwp_pageheader_extensions) - Method render_extensions_groups() +- [`mainwp_pagefooter_extensions`](#mainwp_pagefooter_extensions) - Method render_extensions_groups() +- [`mainwp_manage_pages_bulk_action`](#mainwp_manage_pages_bulk_action) - Renders Bulk Page Manager. +- [`mainwp_pages_bulk_action`](#mainwp_pages_bulk_action) - Action: mainwp_pages_bulk_action +- [`mainwp_pages_actions_bar_left`](#mainwp_pages_actions_bar_left) - Action: mainwp_pages_actions_bar_left +- [`mainwp_pages_actions_bar_right`](#mainwp_pages_actions_bar_right) - Action: mainwp_pages_actions_bar_right +- [`mainwp_manage_pages_sidebar_top`](#mainwp_manage_pages_sidebar_top) - Action: mainwp_manage_pages_sidebar_top +- [`mainwp_manage_pages_before_select_sites`](#mainwp_manage_pages_before_select_sites) - Action: mainwp_manage_pages_before_select_sites +- [`mainwp_manage_pages_after_select_sites`](#mainwp_manage_pages_after_select_sites) - Action: mainwp_manage_pages_after_select_sites +- [`mainwp_manage_pages_before_search_options`](#mainwp_manage_pages_before_search_options) - Action: mainwp_manage_pages_before_search_options +- [`mainwp_manage_pages_after_search_options`](#mainwp_manage_pages_after_search_options) - Action: mainwp_manage_pages_after_search_options +- [`mainwp_manage_pages_before_submit_button`](#mainwp_manage_pages_before_submit_button) - Action: mainwp_manage_pages_before_submit_button +- [`mainwp_manage_pages_after_submit_button`](#mainwp_manage_pages_after_submit_button) - Action: mainwp_manage_pages_after_submit_button +- [`mainwp_manage_pages_sidebar_bottom`](#mainwp_manage_pages_sidebar_bottom) - Action: mainwp_manage_pages_sidebar_bottom +- [`mainwp_before_pages_table`](#mainwp_before_pages_table) - Action: mainwp_before_pages_table +- [`mainwp_pages_table_header`](#mainwp_pages_table_header) - Action: mainwp_pages_table_header +- [`mainwp_after_pages_table`](#mainwp_after_pages_table) - Action: mainwp_after_pages_table +- [`mainwp_pages_table_column`](#mainwp_pages_table_column) - Action: mainwp_pages_table_column +- [`mainwp_manage_pages_action_item`](#mainwp_manage_pages_action_item) - Method pages_search_handler() +- [`mainwp_pages_table_action`](#mainwp_pages_table_action) - Action: mainwp_pages_table_action +- [`mainwp_bulkpage_before_post`](#mainwp_bulkpage_before_post) - Before Page post action +- [`mainwp-post-posting-page`](#mainwp-post-posting-page) - Method posting() +- [`mainwp-bulkposting-done`](#mainwp-bulkposting-done) - Method posting() +- [`mainwp_post_posting_page`](#mainwp_post_posting_page) - Posting page +- [`mainwp_bulkposting_done`](#mainwp_bulkposting_done) - Posting page completed +- [`mainwp_pages_posting_popup_actions`](#mainwp_pages_posting_popup_actions) - Method posting() +- [`mainwp_pages_help_item`](#mainwp_pages_help_item) - Action: mainwp_pages_help_item +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](#mainwp_pageheader_sites) - Sites Page header +- [`mainwp_pagefooter_sites`](#mainwp_pagefooter_sites) - Sites Page Footer +- [`mainwp_recent_posts_widget_top`](#mainwp_recent_posts_widget_top) - Action: mainwp_recent_posts_widget_top +- [`mainwp_recent_posts_after_lists`](#mainwp_recent_posts_after_lists) - Action: mainwp_recent_posts_after_lists +- [`mainwp_recent_posts_widget_bottom`](#mainwp_recent_posts_widget_bottom) - Action: mainwp_recent_posts_widget_bottom +- [`mainwp_recent_posts_before_publised_list`](#mainwp_recent_posts_before_publised_list) - Action: mainwp_recent_posts_before_publised_list +- [`mainwp_recent_posts_after_publised_list`](#mainwp_recent_posts_after_publised_list) - Action: mainwp_recent_posts_after_publised_list +- [`mainwp_recent_posts_before_draft_list`](#mainwp_recent_posts_before_draft_list) - Action: mainwp_recent_posts_before_draft_list +- [`mainwp_recent_posts_after_draft_list`](#mainwp_recent_posts_after_draft_list) - Action: mainwp_recent_posts_after_draft_list +- [`mainwp_recent_posts_before_pending_list`](#mainwp_recent_posts_before_pending_list) - Action: mainwp_recent_posts_before_pending_list +- [`mainwp_recent_posts_after_pending_list`](#mainwp_recent_posts_after_pending_list) - Action: mainwp_recent_posts_after_pending_list +- [`mainwp_recent_posts_before_future_list`](#mainwp_recent_posts_before_future_list) - Action: mainwp_recent_posts_before_future_list +- [`mainwp_recent_posts_after_future_list`](#mainwp_recent_posts_after_future_list) - Action: mainwp_recent_posts_after_future_list +- [`mainwp_recent_posts_before_trash_list`](#mainwp_recent_posts_before_trash_list) - Action: mainwp_recent_posts_before_trash_list +- [`mainwp_recent_posts_after_trash_list`](#mainwp_recent_posts_after_trash_list) - Action: mainwp_recent_posts_after_trash_list +- [`mainwp_before_post_action`](#mainwp_before_post_action) - Action: mainwp_before_post_action +- [`mainwp_after_post_action`](#mainwp_after_post_action) - +- [`mainwp_recent_pages_widget_top`](#mainwp_recent_pages_widget_top) - Action: mainwp_recent_pages_widget_top +- [`mainwp_recent_pages_after_lists`](#mainwp_recent_pages_after_lists) - Action: mainwp_recent_pages_after_lists +- [`mainwp_recent_pages_widget_bottom`](#mainwp_recent_pages_widget_bottom) - Action: mainwp_recent_pages_widget_bottom +- [`mainwp_recent_pages_before_publised_list`](#mainwp_recent_pages_before_publised_list) - Action: mainwp_recent_pages_before_publised_list +- [`mainwp_recent_pages_after_publised_list`](#mainwp_recent_pages_after_publised_list) - Action: mainwp_recent_pages_after_publised_list +- [`mainwp_recent_pages_before_draft_list`](#mainwp_recent_pages_before_draft_list) - Action: mainwp_recent_pages_before_draft_list +- [`mainwp_recent_pages_after_draft_list`](#mainwp_recent_pages_after_draft_list) - Action: mainwp_recent_pages_after_draft_list +- [`mainwp_recent_pages_before_pending_list`](#mainwp_recent_pages_before_pending_list) - Action: mainwp_recent_pages_before_pending_list +- [`mainwp_recent_pages_after_pending_list`](#mainwp_recent_pages_after_pending_list) - Action: mainwp_recent_pages_after_pending_list +- [`mainwp_recent_pages_before_future_list`](#mainwp_recent_pages_before_future_list) - Action: mainwp_recent_pages_before_future_list +- [`mainwp_recent_pages_after_future_list`](#mainwp_recent_pages_after_future_list) - Action: mainwp_recent_pages_after_future_list +- [`mainwp_recent_pages_before_trash_list`](#mainwp_recent_pages_before_trash_list) - Action: mainwp_recent_pages_before_trash_list +- [`mainwp_recent_pages_after_trash_list`](#mainwp_recent_pages_after_trash_list) - Action: mainwp_recent_pages_after_trash_list +- [`mainwp_enqueue_script_gridster`](#mainwp_enqueue_script_gridster) - Method admin_init() +- [`mainwp_header_title`](#mainwp_header_title) - Filter: mainwp_header_title +- [`mainwp_header_left`](#mainwp_header_left) - Filter: mainwp_header_left +- [`mainwp_header_right`](#mainwp_header_right) - Filter: mainwp_header_right +- [`mainwp_sidbar_pages`](#mainwp_sidbar_pages) - Method render_header_actions() +- [`mainwp_sidebar_pages`](#mainwp_sidebar_pages) - Method render_header_actions() +- [`mainwp_page_navigation`](#mainwp_page_navigation) - Filter: mainwp_page_navigation +- [`mainwp_sidbar_pages`](#mainwp_sidbar_pages) - Method render_screen_options() +- [`mainwp_sidebar_pages`](#mainwp_sidebar_pages) - Method render_screen_options() +- [`redirect_post_location`](#redirect_post_location) - Filter: redirect_post_location +- [`mainwp_daily_digest_content`](#mainwp_daily_digest_content) - Filter: mainwp_daily_digest_content +- [`mainwp_send_mail_from_header`](#mainwp_send_mail_from_header) - Method send_wp_mail(). +- [`mainwp_page_admin_body_class`](#mainwp_page_admin_body_class) - MainWP Admin body CSS class attributes. +- [`mainwp_get_post_data_authed`](#mainwp_get_post_data_authed) - Method get_post_data_authed() +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - This filter is documented in ../widgets/widget-mainwp-recent-posts.php +- [`mainwp-pre-posting-posts`](#mainwp-pre-posting-posts) - Filter is being replaced with mainwp_pre_posting_posts. +- [`mainwp_pre_posting_posts`](#mainwp_pre_posting_posts) - Filter: mainwp_pre_posting_posts +- [`mainwp_subpages_left_menu`](#mainwp_subpages_left_menu) - Method init_subpages_left_menu +- [`mainwp_extensions_page_top_header`](#mainwp_extensions_page_top_header) - Method render_header() +- [`mainwp_pro_reports_generate_content`](#mainwp_pro_reports_generate_content) - Filter: mainwp_pro_reports_generate_content +- [`mainwp_client_report_generate_content`](#mainwp_client_report_generate_content) - Filter: mainwp_client_report_generate_content +- [`mainwp_getsubpages_api_backups`](#mainwp_getsubpages_api_backups) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_cost_tracker`](#mainwp_getsubpages_cost_tracker) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_escape_content`](#mainwp_escape_content) - Edit subscription Post +- [`mainwp_escape_content`](#mainwp_escape_content) - Get table rows. +- [`mainwp_escape_content`](#mainwp_escape_content) - Method ajax_notes_save() +- [`mainwp_escape_content`](#mainwp_escape_content) - Method get_cost_field_value(). +- [`mainwp_escape_content`](#mainwp_escape_content) - Handles the saving item. +- [`mainwp-getsubpages-settings`](#mainwp-getsubpages-settings) - Settings Subpages +- [`mainwp_getsubpages_settings`](#mainwp_getsubpages_settings) - Instantiate the Settings Menu. +- [`date_formats`](#date_formats) - *Arguments* +- [`time_formats`](#time_formats) - *Arguments* +- [`mainwp_show_qsw`](#mainwp_show_qsw) - Render MainWP Tools SubPage. +- [`mainwp_edit_post_get_categories`](#mainwp_edit_post_get_categories) - Method ajax_handle_get_categories() +- [`mainwp_posts_posting_bulk_sites`](#mainwp_posts_posting_bulk_sites) - Method posting_bulk() +- [`mainwp_posting_post_selected_by`](#mainwp_posting_post_selected_by) - Method posting_posts() +- [`mainwp_posting_post_selected_sites`](#mainwp_posting_post_selected_sites) - Method posting_posts() +- [`mainwp_posting_selected_clients`](#mainwp_posting_selected_clients) - Method posting_posts() +- [`mainwp_posting_bulkpost_post_status`](#mainwp_posting_bulkpost_post_status) - Post status +- [`mainwp-after-posting-bulkpost-result`](#mainwp-after-posting-bulkpost-result) - After posting a new post +- [`mainwp_after_posting_bulkpost_result`](#mainwp_after_posting_bulkpost_result) - Method posting_posts() +- [`mainwp_after_posting_delete_bulk_post`](#mainwp_after_posting_delete_bulk_post) - Method posting_posts() +- [`mainwp_manageposts_get_post_result`](#mainwp_manageposts_get_post_result) - Method get_post() +- [`mainwp_getsubpages_client`](#mainwp_getsubpages_client) - Method init_menu() +- [`mainwp_default_emails_fields`](#mainwp_default_emails_fields) - Method get_defaults_email_settings_value(). +- [`mainwp-getcustompage-backups`](#mainwp-getcustompage-backups) - Backups Subpages +- [`mainwp_getcustompage_backups`](#mainwp_getcustompage_backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-backups`](#mainwp-getsubpages-backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getsubpages_backups`](#mainwp_getsubpages_backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-post`](#mainwp-getsubpages-post) - Method ini_menu() +- [`mainwp_getsubpages_post`](#mainwp_getsubpages_post) - Method ini_menu() +- [`mainwp_edit_bulkpost_getmetaboxes`](#mainwp_edit_bulkpost_getmetaboxes) - Init custom bulkpost metaboxes. +- [`mainwp_posts_search_bulk_sites`](#mainwp_posts_search_bulk_sites) - Method render() +- [`mainwp_custom_post_types_default`](#mainwp_custom_post_types_default) - Default post types +- [`mainwp_posts_table_fatures`](#mainwp_posts_table_fatures) - Filter: mainwp_posts_table_fatures +- [`mainwp_get_all_posts_data`](#mainwp_get_all_posts_data) - Get all posts data +- [`postmeta_form_keys`](#postmeta_form_keys) - Filters values for the meta key dropdown in the Custom Fields meta box. +- [`postmeta_form_limit`](#postmeta_form_limit) - +- [`admin_post_thumbnail_size`](#admin_post_thumbnail_size) - Filters the size used to display the post thumbnail image in the 'Featured Image' meta box. +- [`mainwp_admin_post_thumbnail_html`](#mainwp_admin_post_thumbnail_html) - Filters the admin post thumbnail HTML markup to return. +- [`mainwp_custom_render_bulkpost`](#mainwp_custom_render_bulkpost) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit_title`](#mainwp_bulkpost_edit_title) - Renders bulkpost to edit. +- [`mainwp_bulkpost_editor_settings`](#mainwp_bulkpost_editor_settings) - Renders bulkpost to edit. +- [`mainwp-getsubpages-sites`](#mainwp-getsubpages-sites) - Initiate menu. +- [`mainwp_getsubpages_sites`](#mainwp_getsubpages_sites) - Initiate menu. +- [`mainwp_getsubpages_restapi`](#mainwp_getsubpages_restapi) - REST API Subpages +- [`mainwp_security_post_data`](#mainwp_security_post_data) - Filters security issues from fixing +- [`mainwp-getsubpages-user`](#mainwp-getsubpages-user) - This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter. +- [`mainwp_getsubpages_user`](#mainwp_getsubpages_user) - Method init_menu() +- [`mainwp-getsubpages-server`](#mainwp-getsubpages-server) - Filter mainwp_getsubpages_server +- [`mainwp_getsubpages_server`](#mainwp_getsubpages_server) - Method init_menu() +- [`mainwp_info_schedules_cron_listing`](#mainwp_info_schedules_cron_listing) - Renders the Cron Schedule page. +- [`error_log_mainwp_logs`](#error_log_mainwp_logs) - Filter: error_log_mainwp_logs +- [`error_log_mainwp_lines`](#error_log_mainwp_lines) - Filter: error_log_mainwp_lines +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_specific_action_logs`](#mainwp_specific_action_logs) - Renders action logs page. +- [`mainwp_log_specific_actions`](#mainwp_log_specific_actions) - Renders action logs page. +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_getsubpages_tags`](#mainwp_getsubpages_tags) - This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter. +- [`mainwp-getsubpages-page`](#mainwp-getsubpages-page) - Method init_menu() +- [`mainwp_getsubpages_page`](#mainwp_getsubpages_page) - Method init_menu() +- [`mainwp_pages_table_fatures`](#mainwp_pages_table_fatures) - Filter: mainwp_pages_table_fatures +- [`mainwp_get_all_pages_data`](#mainwp_get_all_pages_data) - Get all pages data +- [`mainwp_posting_bulkpost_post_status`](#mainwp_posting_bulkpost_post_status) - Page status +- [`mainwp_bulkpage_posting`](#mainwp_bulkpage_posting) - Posting new page +- [`mainwp-after-posting-bulkpage-result`](#mainwp-after-posting-bulkpage-result) - After posting a new page +- [`mainwp_after_posting_bulkpage_result`](#mainwp_after_posting_bulkpage_result) - Method posting() +- [`mainwp_cards_per_row`](#mainwp_cards_per_row) - Filter: mainwp_cards_per_row +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - Sets number of recent posts & pages +- [`mainwp_recent_posts_widget_title`](#mainwp_recent_posts_widget_title) - *Arguments* +- [`mainwp_recent_posts_pages_number`](#mainwp_recent_posts_pages_number) - This filter is documented in /widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_pages_widget_title`](#mainwp_recent_pages_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_bulkpost_categories_handle` + +*Method add_categories_handle()* + +Handle adding categories. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. +`wp_unslash($_POST['post_category'])` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-meta-boxes.php](class/class-mainwp-meta-boxes.php), [line 109](class/class-mainwp-meta-boxes.php#L109-L148) + + + +### `mainwp_bulkpost_tags_handle` + +*Method add_tags_handle()* + +Add Tags to post array handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. +`$post_type` | `string` | Post type. +`wp_strip_all_tags(wp_unslash($_POST['add_tags']))` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-meta-boxes.php](class/class-mainwp-meta-boxes.php), [line 168](class/class-mainwp-meta-boxes.php#L168-L179) + + + +### `mainwp_post_action` + +*Fires immediately after post action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$postId` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 51](class/class-mainwp-actions-handler.php#L51-L56) + + + +### `mainwp_postprocess_backup_site` + +*Method backup_site()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$localBackupFile` | | +`$what` | | +`$subfolder` | `mixed` | Sub folder to place backup. +`$regexBackupFile` | | +`$website` | | +`$taskId` | | +`$unique` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 28](class/class-mainwp-backup-handler.php#L28-L512) + + + +### `mainwp_help_sidebar_content` + +*Action: mainwp_help_sidebar_content* + +Fires Help sidebar content + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 782](class/class-mainwp-ui.php#L782-L789) + + + +### `mainwp_before_mainwp_content_wrap` + +*Action: mainwp_before_mainwp_content_wrap* + +Fires before the #mainwp-content-wrap element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 799](class/class-mainwp-ui.php#L799-L808) + + + +### `mainwp_page_navigation_menu` + +*Method render_page_navigation()* + +Render page navigation. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1439](class/class-mainwp-ui.php#L1439-L1519) + + + +### `mainwp_save_bulkpost` + +*Action: mainwp_save_bulkpost* + +Fires when saving the bulk post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 158](class/class-mainwp-bulk-post.php#L158-L167) + + + +### `mainwp_before_redirect_posting_bulkpost` + +*Action: mainwp_before_redirect_posting_bulkpost* + +Fires before redirection to posting 'bulk post' page after post submission. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `object` | Object containing post data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 172](class/class-mainwp-bulk-post.php#L172-L181) + + + +### `mainwp_save_bulkpage` + +*Action: mainwp_save_bulkpage* + +Fires when saving the bulk page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 227](class/class-mainwp-bulk-post.php#L227-L236) + + + +### `mainwp_before_redirect_posting_bulkpage` + +*Action: mainwp_before_redirect_posting_bulkpage* + +Fires before redirection to posting 'bulk page' page after post submission. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `object` | Object containing post data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 241](class/class-mainwp-bulk-post.php#L241-L250) + + + +### `mainwp_register_post_type` + +*Method create_post_type()* + +Register "Bulkpost" and "Bulkpage" custom post types. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 256](class/class-mainwp-bulk-post.php#L256-L368) + + + +### `mainwp_admin_footer` + +*Action: mainwp_admin_footer* + +Fires at the bottom of MainWP content. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 1020](class/class-mainwp-system-view.php#L1020-L1027) + + + +### `mainwp_pageheader_settings` + +*Render settings* + +Renders the settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 76](modules/api-backups/classes/class-api-backups-settings.php#L76-L88) + + + +### `mainwp_pagefooter_settings` + +*Render settings* + +Renders the settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-settings.php](modules/api-backups/classes/class-api-backups-settings.php), [line 76](modules/api-backups/classes/class-api-backups-settings.php#L76-L108) + + + +### `mainwp_pageheader_sites` + +*Render Tabs.* + +Renders the page tabs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-overview.php](modules/api-backups/classes/class-api-backups-overview.php), [line 76](modules/api-backups/classes/class-api-backups-overview.php#L76-L82) + + + +### `mainwp_pagefooter_sites` + +*Render Tabs.* + +Renders the page tabs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ApiBackups'` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-overview.php](modules/api-backups/classes/class-api-backups-overview.php), [line 76](modules/api-backups/classes/class-api-backups-overview.php#L76-L103) + + + +### `mainwp_pageheader_settings` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'Insights'` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-settings.php](modules/logs/classes/class-log-settings.php), [line 164](modules/logs/classes/class-log-settings.php#L164-L165) + + + +### `mainwp_pagefooter_settings` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'Insights'` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-settings.php](modules/logs/classes/class-log-settings.php), [line 263](modules/logs/classes/class-log-settings.php#L263-L264) + + + +### `mainwp_module_cost_tracker_help_item` + +*Action: mainwp_module_cost_tracker_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Cost Tracker page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 874](modules/cost-tracker/classes/class-cost-tracker-admin.php#L874-L885) + + + +### `mainwp_module_cost_tracker_actions_bar_left` + +*Render Actions Bar* + +Renders the actions bar on the Dashboard tab. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 1110](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L1110-L1125) + + + +### `mainwp_module_cost_tracker_actions_bar_right` + +*Render Actions Bar* + +Renders the actions bar on the Dashboard tab. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 1110](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L1110-L1129) + + + +### `mainwp_tools_form_top` + +*Action: mainwp_tools_form_top* + +Fires at the top of MainWP tools form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1995](pages/page-mainwp-settings.php#L1995-L2002) + + + +### `mainwp_tools_form_bottom` + +*Action: mainwp_tools_form_bottom* + +Fires at the bottom of mainwp tools form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 2132](pages/page-mainwp-settings.php#L2132-L2139) + + + +### `mainwp_bulkpost_before_post` + +*Before Post post action* + +Fires right before posting the 'bulkpost' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$p_id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 447](pages/page-mainwp-post-page-handler.php#L447-L456) + + + +### `mainwp_posts_posting_popup_actions` + +*Method posting()* + +Create bulk posts on sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | `int` | Post or Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 419](pages/page-mainwp-post-page-handler.php#L419-L480) + + + +### `mainwp-post-posting-post` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website, $output->added_id[$website->id], $links)` | | +`'4.0.7.2'` | | +`'mainwp_post_posting_post'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L819) + + + +### `mainwp-bulkposting-done` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($_post, $website, $output)` | | +`'4.0.7.2'` | | +`'mainwp_bulkposting_done'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L820) + + + +### `mainwp_post_posting_post` + +*Posting post* + +Fires while posting post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site data. +`$output->added_id[$website->id]` | | +`$links` | `array` | Links. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 822](pages/page-mainwp-post-page-handler.php#L822-L833) + + + +### `mainwp_bulkposting_done` + +*Posting post completed* + +Fires after the post posting process is completed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `array` | Array containing the post data. +`$website` | `object` | Object containing child site data. +`$output` | `array` | Output data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 835](pages/page-mainwp-post-page-handler.php#L835-L846) + + + +### `mainwp_manage_posts_bulk_action` + +*Method render()* + +Render the page content. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 539](pages/page-mainwp-post.php#L539-L583) + + + +### `mainwp_posts_bulk_action` + +*Action: mainwp_posts_bulk_action* + +Adds new action to the Bulk Actions menu on Manage Posts. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 588](pages/page-mainwp-post.php#L588-L598) + + + +### `mainwp_posts_actions_bar_left` + +*Action: mainwp_posts_actions_bar_left* + +Fires at the left side of the actions bar on the Posts screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 603](pages/page-mainwp-post.php#L603-L610) + + + +### `mainwp_posts_actions_bar_right` + +*Action: mainwp_posts_actions_bar_right* + +Fires at the right side of the actions bar on the Posts screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 615](pages/page-mainwp-post.php#L615-L622) + + + +### `mainwp_manage_posts_sidebar_top` + +*Action: mainwp_manage_posts_sidebar_top* + +Fires at the top of the sidebar on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 640](pages/page-mainwp-post.php#L640-L647) + + + +### `mainwp_manage_posts_before_select_sites` + +*Action: mainwp_manage_posts_before_select_sites* + +Fires before the Select Sites section on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 651](pages/page-mainwp-post.php#L651-L658) + + + +### `mainwp_manage_posts_after_select_sites` + +*Action: mainwp_manage_posts_after_select_sites* + +Fires after the Select Sites section on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 674](pages/page-mainwp-post.php#L674-L681) + + + +### `mainwp_manage_posts_before_search_options` + +*Action: mainwp_manage_posts_before_search_options* + +Fires before the Search Options on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 689](pages/page-mainwp-post.php#L689-L696) + + + +### `mainwp_manage_posts_after_search_options` + +*Action: mainwp_manage_posts_after_search_options* + +Fires after the Search Options on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 719](pages/page-mainwp-post.php#L719-L726) + + + +### `mainwp_manage_posts_before_submit_button` + +*Action: mainwp_manage_posts_before_submit_button* + +Fires before the Submit Button on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 738](pages/page-mainwp-post.php#L738-L745) + + + +### `mainwp_manage_posts_after_submit_button` + +*Action: mainwp_manage_posts_after_submit_button* + +Fires after the Submit Button on Manage Posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 754](pages/page-mainwp-post.php#L754-L761) + + + +### `mainwp_manage_posts_sidebar_bottom` + +*Action: mainwp_manage_posts_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage posts. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 765](pages/page-mainwp-post.php#L765-L772) + + + +### `mainwp_before_posts_table` + +*Action: mainwp_before_posts_table* + +Fires before the Manage Posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 934](pages/page-mainwp-post.php#L934-L941) + + + +### `mainwp_posts_table_header` + +*Action: mainwp_posts_table_header* + +Adds new column header to the Manage posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 948](pages/page-mainwp-post.php#L948-L955) + + + +### `mainwp_after_posts_table` + +*Action: mainwp_after_posts_table* + +Fires after the Manage Posts table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 992](pages/page-mainwp-post.php#L992-L999) + + + +### `mainwp_posts_table_column` + +*Action: mainwp_posts_table_column* + +Adds a new column item in the Manage posts table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `array` | Array containing the post data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1353](pages/page-mainwp-post.php#L1353-L1363) + + + +### `mainwp_manage_posts_action_item` + +*Method posts_search_handler()* + +Post page search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | +`$child_to_dash_array` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1282](pages/page-mainwp-post.php#L1282-L1455) + + + +### `mainwp_posts_table_action` + +*Action: mainwp_posts_table_action* + +Adds a new item in the Actions menu in Manage Posts table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `array` | Array containing the post data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1460](pages/page-mainwp-post.php#L1460-L1473) + + + +### `mainwp_top_bulkpost_edit_content` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2108) + + + +### `mainwp_before_bulkpost_editor` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2150) + + + +### `mainwp_bulkpost_edit` + +*Edit bulkpost* + +First on the Edit post screen after default fields. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `object` | Object containing the Post data. +`$post_type` | `string` | Post type. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2233](pages/page-mainwp-post.php#L2233-L2241) + + + +### `add_meta_boxes` + +*Edit bulkpost metaboxes* + +Fires after all built-in meta boxes have been added. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_type` | `string` | Post type. +`$post` | `object` | Object containing the Post data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2247](pages/page-mainwp-post.php#L2247-L2257) + + + +### `mainwp_bulkpost_edit_top_side` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | | +`$post_type` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2287) + + + +### `mainwp_edit_posts_before_submit_button` + +*Action: mainwp_edit_posts_before_submit_button* + +Fires right before the Submit button. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post` | `object` | Object containing the Post data. +`$post_type` | `string` | Post type. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2318](pages/page-mainwp-post.php#L2318-L2328) + + + +### `mainwp_edit_posts_after_submit_button` + +*Action: mainwp_edit_posts_after_submit_button* + +Fires right after the Submit button. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2341](pages/page-mainwp-post.php#L2341-L2348) + + + +### `mainwp_posts_help_item` + +*Action: mainwp_posts_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Posts page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2743](pages/page-mainwp-post.php#L2743-L2754) + + + +### `mainwp_overview_help_item` + +*Action: mainwp_overview_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Overview page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 445](pages/page-mainwp-overview.php#L445-L456) + + + +### `mainwp_cron_jobs_list` + +*Action: mainwp_cron_jobs_list* + +Renders as the last row of the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1137](pages/page-mainwp-server-information.php#L1137-L1144) + + + +### `mainwp_pageheader_tags` + +*Sites Page header* + +Renders the tabs on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ManageGroups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 293](pages/page-mainwp-manage-groups.php#L293-L300) + + + +### `mainwp_pagefooter_tags` + +*Sites Page Footer* + +Renders the footer on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'ManageGroups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 474](pages/page-mainwp-manage-groups.php#L474-L481) + + + +### `mainwp_post_created` + +*Method posting_bulk_handler()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | The website object. +`'newpost'` | | +`$information['other_data']['new_post_data']` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 34](pages/page-mainwp-bulk-add.php#L34-L57) + + + +### `admin_print_styles` + +*Method setup_wizard_header()* + +Render Setup Wizard's header. + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-setup-wizard.php](pages/page-mainwp-setup-wizard.php), [line 203](pages/page-mainwp-setup-wizard.php#L203-L234) + + + +### `mainwp_pageheader_extensions` + +*Method render_extensions_groups()* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 921](pages/page-mainwp-extensions-groups.php#L921-L968) + + + +### `mainwp_pagefooter_extensions` + +*Method render_extensions_groups()* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 921](pages/page-mainwp-extensions-groups.php#L921-L1086) + + + +### `mainwp_manage_pages_bulk_action` + +*Renders Bulk Page Manager.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 434](pages/page-mainwp-page.php#L434-L474) + + + +### `mainwp_pages_bulk_action` + +*Action: mainwp_pages_bulk_action* + +Adds new action to the Bulk Actions menu on Manage Pages. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 479](pages/page-mainwp-page.php#L479-L489) + + + +### `mainwp_pages_actions_bar_left` + +*Action: mainwp_pages_actions_bar_left* + +Fires at the left side of the actions bar on the Pages screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 494](pages/page-mainwp-page.php#L494-L501) + + + +### `mainwp_pages_actions_bar_right` + +*Action: mainwp_pages_actions_bar_right* + +Fires at the right side of the actions bar on the Pages screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 506](pages/page-mainwp-page.php#L506-L513) + + + +### `mainwp_manage_pages_sidebar_top` + +*Action: mainwp_manage_pages_sidebar_top* + +Fires at the top of the sidebar on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 531](pages/page-mainwp-page.php#L531-L538) + + + +### `mainwp_manage_pages_before_select_sites` + +*Action: mainwp_manage_pages_before_select_sites* + +Fires before the Select Sites section on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 542](pages/page-mainwp-page.php#L542-L549) + + + +### `mainwp_manage_pages_after_select_sites` + +*Action: mainwp_manage_pages_after_select_sites* + +Fires after the Select Sites section on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 565](pages/page-mainwp-page.php#L565-L572) + + + +### `mainwp_manage_pages_before_search_options` + +*Action: mainwp_manage_pages_before_search_options* + +Fires before the Search Options on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 580](pages/page-mainwp-page.php#L580-L587) + + + +### `mainwp_manage_pages_after_search_options` + +*Action: mainwp_manage_pages_after_search_options* + +Fires after the Search Options on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 610](pages/page-mainwp-page.php#L610-L617) + + + +### `mainwp_manage_pages_before_submit_button` + +*Action: mainwp_manage_pages_before_submit_button* + +Fires before the Submit Button on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 624](pages/page-mainwp-page.php#L624-L631) + + + +### `mainwp_manage_pages_after_submit_button` + +*Action: mainwp_manage_pages_after_submit_button* + +Fires after the Submit Button on Manage Pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 640](pages/page-mainwp-page.php#L640-L647) + + + +### `mainwp_manage_pages_sidebar_bottom` + +*Action: mainwp_manage_pages_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage pages. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 651](pages/page-mainwp-page.php#L651-L658) + + + +### `mainwp_before_pages_table` + +*Action: mainwp_before_pages_table* + +Fires before the Manage Pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 793](pages/page-mainwp-page.php#L793-L800) + + + +### `mainwp_pages_table_header` + +*Action: mainwp_pages_table_header* + +Adds new column header to the Manage pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 807](pages/page-mainwp-page.php#L807-L814) + + + +### `mainwp_after_pages_table` + +*Action: mainwp_after_pages_table* + +Fires after the Manage Pages table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 842](pages/page-mainwp-page.php#L842-L849) + + + +### `mainwp_pages_table_column` + +*Action: mainwp_pages_table_column* + +Adds a new column item in the Manage pages table. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | `array` | Array containing the page data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1146](pages/page-mainwp-page.php#L1146-L1156) + + + +### `mainwp_manage_pages_action_item` + +*Method pages_search_handler()* + +Pages Search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1095](pages/page-mainwp-page.php#L1095-L1221) + + + +### `mainwp_pages_table_action` + +*Action: mainwp_pages_table_action* + +Adds a new item in the Actions menu in Manage Pages table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$page` | | +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1233](pages/page-mainwp-page.php#L1233-L1246) + + + +### `mainwp_bulkpage_before_post` + +*Before Page post action* + +Fires right before posting the 'bulkpage' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1427](pages/page-mainwp-page.php#L1427-L1436) + + + +### `mainwp-post-posting-page` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website, $output->added_id[$website->id], $links)` | | +`'4.0.7.2'` | | +`'mainwp_post_posting_page'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1619) + + + +### `mainwp-bulkposting-done` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($_post, $website, $output)` | | +`'4.0.7.2'` | | +`'mainwp_bulkposting_done'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1620) + + + +### `mainwp_post_posting_page` + +*Posting page* + +Fires while posting page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site data. +`$output->added_id[$website->id]` | | +`$links` | `array` | Links. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1622](pages/page-mainwp-page.php#L1622-L1633) + + + +### `mainwp_bulkposting_done` + +*Posting page completed* + +Fires after the page posting process is completed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_post` | `array` | Array containing the post data. +`$website` | `object` | Object containing child site data. +`$output` | `array` | Output data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1635](pages/page-mainwp-page.php#L1635-L1646) + + + +### `mainwp_pages_posting_popup_actions` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1703) + + + +### `mainwp_pages_help_item` + +*Action: mainwp_pages_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Pages page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1741](pages/page-mainwp-page.php#L1741-L1752) + + + +### `mainwp_pageheader_sites` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MonitoringSites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 291](pages/page-mainwp-monitoring.php#L291-L292) + + + +### `mainwp_pagefooter_sites` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MonitoringSites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 306](pages/page-mainwp-monitoring.php#L306-L307) + + + +### `mainwp_pageheader_sites` + +*Sites Page header* + +Renders the tabs on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'managesites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 215](pages/page-mainwp-manage-screenshots.php#L215-L222) + + + +### `mainwp_pagefooter_sites` + +*Sites Page Footer* + +Renders the footer on the Sites screen. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'managesites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 446](pages/page-mainwp-manage-screenshots.php#L446-L453) + + + +### `mainwp_recent_posts_widget_top` + +*Action: mainwp_recent_posts_widget_top* + +Fires at the top of the Recent Posts widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 125](widgets/widget-mainwp-recent-posts.php#L125-L132) + + + +### `mainwp_recent_posts_after_lists` + +*Action: mainwp_recent_posts_after_lists* + +Fires after the recent posts lists, before the bottom actions section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 144](widgets/widget-mainwp-recent-posts.php#L144-L151) + + + +### `mainwp_recent_posts_widget_bottom` + +*Action: mainwp_recent_posts_widget_bottom* + +Fires at the bottom of the Recent Posts widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 163](widgets/widget-mainwp-recent-posts.php#L163-L170) + + + +### `mainwp_recent_posts_before_publised_list` + +*Action: mainwp_recent_posts_before_publised_list* + +Fires before the list of recent published Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 233](widgets/widget-mainwp-recent-posts.php#L233-L243) + + + +### `mainwp_recent_posts_after_publised_list` + +*Action: mainwp_recent_posts_after_publised_list* + +Fires after the list of recent published Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 292](widgets/widget-mainwp-recent-posts.php#L292-L302) + + + +### `mainwp_recent_posts_before_draft_list` + +*Action: mainwp_recent_posts_before_draft_list* + +Fires before the list of recent draft Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 327](widgets/widget-mainwp-recent-posts.php#L327-L337) + + + +### `mainwp_recent_posts_after_draft_list` + +*Action: mainwp_recent_posts_after_draft_list* + +Fires after the list of recent draft Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 383](widgets/widget-mainwp-recent-posts.php#L383-L393) + + + +### `mainwp_recent_posts_before_pending_list` + +*Action: mainwp_recent_posts_before_pending_list* + +Fires before the list of recent pending Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 418](widgets/widget-mainwp-recent-posts.php#L418-L428) + + + +### `mainwp_recent_posts_after_pending_list` + +*Action: mainwp_recent_posts_after_pending_list* + +Fires after the list of recent pending Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 474](widgets/widget-mainwp-recent-posts.php#L474-L484) + + + +### `mainwp_recent_posts_before_future_list` + +*Action: mainwp_recent_posts_before_future_list* + +Fires before the list of recent future Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 509](widgets/widget-mainwp-recent-posts.php#L509-L519) + + + +### `mainwp_recent_posts_after_future_list` + +*Action: mainwp_recent_posts_after_future_list* + +Fires after the list of recent future Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 566](widgets/widget-mainwp-recent-posts.php#L566-L576) + + + +### `mainwp_recent_posts_before_trash_list` + +*Action: mainwp_recent_posts_before_trash_list* + +Fires before the list of recent trash Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 601](widgets/widget-mainwp-recent-posts.php#L601-L611) + + + +### `mainwp_recent_posts_after_trash_list` + +*Action: mainwp_recent_posts_after_trash_list* + +Fires after the list of recent trash Posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPosts` | `array` | All posts data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 656](widgets/widget-mainwp-recent-posts.php#L656-L666) + + + +### `mainwp_before_post_action` + +*Action: mainwp_before_post_action* + +Fires before post/page publish/unpublish/trash/delete/restore actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$pAction` | | +`$postId` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 772](widgets/widget-mainwp-recent-posts.php#L772-L779) + + + +### `mainwp_after_post_action` + +*Action: mainwp_after_post_action +Fires after post/page publish/unpublish/trash/delete/restore actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`$pAction` | | +`$postId` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 795](widgets/widget-mainwp-recent-posts.php#L795-L801) + + + +### `mainwp_recent_pages_widget_top` + +*Action: mainwp_recent_pages_widget_top* + +Fires at the top of the Recent Pages widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 119](widgets/widget-mainwp-recent-pages.php#L119-L126) + + + +### `mainwp_recent_pages_after_lists` + +*Action: mainwp_recent_pages_after_lists* + +Fires after the recent pages lists, before the bottom actions section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 139](widgets/widget-mainwp-recent-pages.php#L139-L146) + + + +### `mainwp_recent_pages_widget_bottom` + +*Action: mainwp_recent_pages_widget_bottom* + +Fires at the bottom of the Recent Pages widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 159](widgets/widget-mainwp-recent-pages.php#L159-L166) + + + +### `mainwp_recent_pages_before_publised_list` + +*Action: mainwp_recent_pages_before_publised_list* + +Fires before the list of recent published Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of posts. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 229](widgets/widget-mainwp-recent-pages.php#L229-L239) + + + +### `mainwp_recent_pages_after_publised_list` + +*Action: mainwp_recent_pages_after_publised_list* + +Fires after the list of recent published Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 289](widgets/widget-mainwp-recent-pages.php#L289-L299) + + + +### `mainwp_recent_pages_before_draft_list` + +*Action: mainwp_recent_pages_before_draft_list* + +Fires before the list of recent draft Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 324](widgets/widget-mainwp-recent-pages.php#L324-L334) + + + +### `mainwp_recent_pages_after_draft_list` + +*Action: mainwp_recent_pages_after_draft_list* + +Fires after the list of recent draft Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 381](widgets/widget-mainwp-recent-pages.php#L381-L391) + + + +### `mainwp_recent_pages_before_pending_list` + +*Action: mainwp_recent_pages_before_pending_list* + +Fires before the list of recent pending pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 415](widgets/widget-mainwp-recent-pages.php#L415-L425) + + + +### `mainwp_recent_pages_after_pending_list` + +*Action: mainwp_recent_pages_after_pending_list* + +Fires after the list of recent pending pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 472](widgets/widget-mainwp-recent-pages.php#L472-L482) + + + +### `mainwp_recent_pages_before_future_list` + +*Action: mainwp_recent_pages_before_future_list* + +Fires before the list of recent future Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 507](widgets/widget-mainwp-recent-pages.php#L507-L517) + + + +### `mainwp_recent_pages_after_future_list` + +*Action: mainwp_recent_pages_after_future_list* + +Fires after the list of recent future Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 565](widgets/widget-mainwp-recent-pages.php#L565-L575) + + + +### `mainwp_recent_pages_before_trash_list` + +*Action: mainwp_recent_pages_before_trash_list* + +Fires before the list of recent trash Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 600](widgets/widget-mainwp-recent-pages.php#L600-L610) + + + +### `mainwp_recent_pages_after_trash_list` + +*Action: mainwp_recent_pages_after_trash_list* + +Fires after the list of recent trash Pages. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allPages` | `array` | All pages data. +`$recent_number` | `int` | Number of pages. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 655](widgets/widget-mainwp-recent-pages.php#L655-L665) + +## Filters + + + +### `mainwp_enqueue_script_gridster` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$load_gridstack` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L882) + + + +### `mainwp_header_title` + +*Filter: mainwp_header_title* + +Filter the MainWP page title in the header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$title` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 488](class/class-mainwp-ui.php#L488-L495) + + + +### `mainwp_header_left` + +*Filter: mainwp_header_left* + +Filter the MainWP header element left side content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$title` | | +`$params` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 505](class/class-mainwp-ui.php#L505-L512) + + + +### `mainwp_header_right` + +*Filter: mainwp_header_right* + +Filter the MainWP header element right side content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$right` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 516](class/class-mainwp-ui.php#L516-L523) + + + +### `mainwp_sidbar_pages` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1286) + + + +### `mainwp_sidebar_pages` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1287) + + + +### `mainwp_page_navigation` + +*Filter: mainwp_page_navigation* + +Filters MainWP page navigation menu items. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$subitems` | | +`$name_caller` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1449](class/class-mainwp-ui.php#L1449-L1456) + + + +### `mainwp_sidbar_pages` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2477) + + + +### `mainwp_sidebar_pages` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sidebar_pages` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2478) + + + +### `redirect_post_location` + +*Filter: redirect_post_location* + +Filters the location for the Edit process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$location` | | +`$post_id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-bulk-post.php](class/class-mainwp-bulk-post.php), [line 56](class/class-mainwp-bulk-post.php#L56-L65) + + + +### `mainwp_daily_digest_content` + +*Filter: mainwp_daily_digest_content* + +Filters the Daily Digest email content and adds support for enabling text/plain emails. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$sites_ids` | `array` | Array of sites IDs. +`$plain_text` | `bool` | Wether plain text mode is enabled. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification.php](class/class-mainwp-notification.php), [line 210](class/class-mainwp-notification.php#L210-L220) + + + +### `mainwp_send_mail_from_header` + +*Method send_wp_mail().* + +Send email via wp_mail(). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$email` | `string` | send to email. +`$subject` | `string` | email content. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification.php](class/class-mainwp-notification.php), [line 317](class/class-mainwp-notification.php#L317-L337) + + + +### `mainwp_page_admin_body_class` + +*MainWP Admin body CSS class attributes.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$class_string` | `mixed` | MainWP CSS Class attributes. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 944](class/class-mainwp-system-view.php#L944-L991) + + + +### `mainwp_get_post_data_authed` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | +`$website` | `mixed` | Array of Child Site Info. +`$what` | `mixed` | What we are posting. +`$params` | `null` | Post parameters. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L393) + + + +### `mainwp_recent_posts_pages_number` + +*This filter is documented in ../widgets/widget-mainwp-recent-posts.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 421](class/class-mainwp-connect.php#L421-L422) + + + +### `mainwp-pre-posting-posts` + +*Filter is being replaced with mainwp_pre_posting_posts.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(is_array($params) ? $params : array(), (object) array('id' => $website->id, 'url' => $website->url, 'name' => $website->name))` | | +`'4.0.7.2'` | | +`// NOSONAR - not IP. +'mainwp_pre_posting_posts'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 784](class/class-mainwp-connect.php#L784-L801) + + + +### `mainwp_pre_posting_posts` + +*Filter: mainwp_pre_posting_posts* + +Prepares parameters for the authenticated cURL post. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`is_array($params) ? $params : array()` | | +`(object) array('id' => $website->id, 'url' => $website->url, 'name' => $website->name)` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 803](class/class-mainwp-connect.php#L803-L818) + + + +### `mainwp_subpages_left_menu` + +*Method init_subpages_left_menu* + +Build left menu subpages array. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$subPages` | `array` | Array of SubPages. +`$initSubpage` | `array` | Initial SubPage Array. +`$parentKey` | `string` | Parent Menu Slug. +`$slug` | `mixed` | SubPage Slug. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 479](class/class-mainwp-menu.php#L479-L497) + + + +### `mainwp_extensions_page_top_header` + +*Method render_header()* + +Render page header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension_name` | | +`$extension_name_raw` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 50](class/class-mainwp-extensions-view.php#L50-L71) + + + +### `mainwp_pro_reports_generate_content` + +*Filter: mainwp_pro_reports_generate_content* + +Filters the Pro Reports available content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$content` | | +`$current_email_site->id` | | +`$timestamp_from_date` | | +`$timestamp_to_date` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 210](class/class-mainwp-notification-template.php#L210-L217) + + + +### `mainwp_client_report_generate_content` + +*Filter: mainwp_client_report_generate_content* + +Filters the Client Reports available content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$content` | | +`$current_email_site->id` | | +`$timestamp_from_date` | | +`$timestamp_to_date` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 219](class/class-mainwp-notification-template.php#L219-L226) + + + +### `mainwp_getsubpages_api_backups` + +*This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-admin.php](modules/api-backups/classes/class-api-backups-admin.php), [line 234](modules/api-backups/classes/class-api-backups-admin.php#L234-L237) + + + +### `mainwp_getsubpages_cost_tracker` + +*This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 292](modules/cost-tracker/classes/class-cost-tracker-admin.php#L292-L295) + + + +### `mainwp_escape_content` + +*Edit subscription Post* + +Handles the saving subscription. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 441](modules/cost-tracker/classes/class-cost-tracker-admin.php#L441-L478) + + + +### `mainwp_escape_content` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 745](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L745-L786) + + + +### `mainwp_escape_content` + +*Method ajax_notes_save()* + +Post handler for save notes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-dashboard.php](modules/cost-tracker/pages/page-cost-tracker-dashboard.php), [line 947](modules/cost-tracker/pages/page-cost-tracker-dashboard.php#L947-L959) + + + +### `mainwp_escape_content` + +*Method get_cost_field_value().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cost->note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php), [line 127](modules/cost-tracker/rest-api/version1/class-cost-tracker-rest-api-handle-v1.php#L127-L190) + + + +### `mainwp_escape_content` + +*Handles the saving item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 296](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L296-L330) + + + +### `mainwp-getsubpages-settings` + +*Settings Subpages* + +Filters subpages for the Settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_settings'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 211](pages/page-mainwp-settings.php#L211-L218) + + + +### `mainwp_getsubpages_settings` + +*Instantiate the Settings Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 137](pages/page-mainwp-settings.php#L137-L219) + + + +### `date_formats` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(esc_html__('F j, Y'), 'Y-m-d', 'm/d/Y', 'd/m/Y')` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1139](pages/page-mainwp-settings.php#L1139-L1139) + + + +### `time_formats` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(esc_html__('g:i a'), 'g:i A', 'H:i')` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1179](pages/page-mainwp-settings.php#L1179-L1179) + + + +### `mainwp_show_qsw` + +*Render MainWP Tools SubPage.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1953](pages/page-mainwp-settings.php#L1953-L2004) + + + +### `mainwp_edit_post_get_categories` + +*Method ajax_handle_get_categories()* + +Get categories. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | | +`$_REQUEST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 156](pages/page-mainwp-post-page-handler.php#L156-L244) + + + +### `mainwp_posts_posting_bulk_sites` + +*Method posting_bulk()* + +Create bulk posts on sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 396](pages/page-mainwp-post-page-handler.php#L396-L408) + + + +### `mainwp_posting_post_selected_by` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_by` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L626) + + + +### `mainwp_posting_post_selected_sites` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_sites` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L634) + + + +### `mainwp_posting_selected_clients` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_clients` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L636) + + + +### `mainwp_posting_bulkpost_post_status` + +*Post status* + +Sets post status when posting 'bulkpost' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_status` | | +`$id` | `int` | Post ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 682](pages/page-mainwp-post-page-handler.php#L682-L691) + + + +### `mainwp-after-posting-bulkpost-result` + +*After posting a new post* + +Sets data after the posting process to show the process feedback. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false, $_post, $dbwebsites, $output)` | | +`'4.0.7.2'` | | +`'mainwp_after_posting_bulkpost_result'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 850](pages/page-mainwp-post-page-handler.php#L850-L861) + + + +### `mainwp_after_posting_bulkpost_result` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$newExtensions` | | +`$_post` | | +`$dbwebsites` | | +`$output` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L866) + + + +### `mainwp_after_posting_delete_bulk_post` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$posting_succeed` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L907) + + + +### `mainwp_manageposts_get_post_result` + +*Method get_post()* + +Get post from child site to edit. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$information['my_post']` | | +`$websiteId` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 953](pages/page-mainwp-post-page-handler.php#L953-L1008) + + + +### `mainwp_getsubpages_client` + +*Method init_menu()* + +Initiate menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 79](pages/page-mainwp-client.php#L79-L141) + + + +### `mainwp_default_emails_fields` + +*Method get_defaults_email_settings_value().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$recipients` | | +`$type` | `string` | setting type to get default value. +`$field` | `string` | setting field to get default value. +`$general` | `bool` | general setting. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 216](pages/page-mainwp-settings-indicator.php#L216-L265) + + + +### `mainwp-getcustompage-backups` + +*Backups Subpages* + +Filters subpages for the Backups page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false)` | | +`'4.0.7.2'` | | +`'mainwp_getcustompage_backups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 102](pages/page-mainwp-manage-backups.php#L102-L109) + + + +### `mainwp_getcustompage_backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$customPage` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L110) + + + +### `mainwp-getsubpages-backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_backups'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L144) + + + +### `mainwp_getsubpages_backups` + +*Instantiate Legacy Backups Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups.php](pages/page-mainwp-manage-backups.php), [line 90](pages/page-mainwp-manage-backups.php#L90-L145) + + + +### `mainwp-getsubpages-post` + +*Method ini_menu()* + +Initiate Page menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_post'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 78](pages/page-mainwp-post.php#L78-L123) + + + +### `mainwp_getsubpages_post` + +*Method ini_menu()* + +Initiate Page menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 78](pages/page-mainwp-post.php#L78-L124) + + + +### `mainwp_edit_bulkpost_getmetaboxes` + +*Init custom bulkpost metaboxes.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 151](pages/page-mainwp-post.php#L151-L157) + + + +### `mainwp_posts_search_bulk_sites` + +*Method render()* + +Render the page content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 539](pages/page-mainwp-post.php#L539-L732) + + + +### `mainwp_custom_post_types_default` + +*Default post types* + +Set default custom post types to exclude from the CPT extension options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 871](pages/page-mainwp-post.php#L871-L878) + + + +### `mainwp_posts_table_fatures` + +*Filter: mainwp_posts_table_fatures* + +Filters the Manage Posts table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1012](pages/page-mainwp-post.php#L1012-L1019) + + + +### `mainwp_get_all_posts_data` + +*Get all posts data* + +Set search parameters for the fetch process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1221](pages/page-mainwp-post.php#L1221-L1228) + + + +### `postmeta_form_keys` + +*Filters values for the meta key dropdown in the Custom Fields meta box.* + +Returning a non-null value will effectively short-circuit and avoid a +potentially expensive query against postmeta. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$_post` | `\MainWP\Dashboard\WP_Post` | The current post object. + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1568](pages/page-mainwp-post.php#L1568-L1579) + + + +### `postmeta_form_limit` + +*Filters the number of custom fields to retrieve for the drop-down +in the Custom Fields meta box.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`30` | | + +**Changelog** + +Version | Description +------- | ----------- +`2.1.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1582](pages/page-mainwp-post.php#L1582-L1590) + + + +### `admin_post_thumbnail_size` + +*Filters the size used to display the post thumbnail image in the 'Featured Image' meta box.* + +Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail' +image size is registered, which differs from the 'thumbnail' image size +managed via the Settings > Media screen. See the `$size` parameter description +for more information on default values. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$size` | `string\|array` | Post thumbnail image size to display in the meta box. Accepts any valid
image size, or an array of width and height values in pixels (in that order).
If the 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise,
default is an array with 266 as both the height and width values. +`$thumbnail_id` | `int` | Post thumbnail attachment ID. +`$_post` | `\MainWP\Dashboard\WP_Post` | The post object associated with the thumbnail. + +**Changelog** + +Version | Description +------- | ----------- +`4.4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1704](pages/page-mainwp-post.php#L1704-L1721) + + + +### `mainwp_admin_post_thumbnail_html` + +*Filters the admin post thumbnail HTML markup to return.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$html` | | +`$_post->ID` | | +`$thumbnail_id` | `int` | Thumbnail ID. + +**Changelog** + +Version | Description +------- | ----------- +`4.6.0` | Added the `$thumbnail_id` parameter. +`3.5.0` | Added the `$post_id` parameter. +`2.9.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1761](pages/page-mainwp-post.php#L1761-L1772) + + + +### `mainwp_custom_render_bulkpost` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$post_id` | `mixed` | Post ID. +`$post_type` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2035) + + + +### `mainwp_bulkpost_edit_title` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$note_title` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2078) + + + +### `mainwp_bulkpost_editor_settings` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2174) + + + +### `mainwp-getsubpages-sites` + +*Initiate menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 178](pages/page-mainwp-manage-sites.php#L178-L241) + + + +### `mainwp_getsubpages_sites` + +*Initiate menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 178](pages/page-mainwp-manage-sites.php#L178-L242) + + + +### `mainwp_getsubpages_restapi` + +*REST API Subpages* + +Filters subpages for the REST API page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-rest-api-page.php](pages/page-mainwp-rest-api-page.php), [line 116](pages/page-mainwp-rest-api-page.php#L116-L123) + + + +### `mainwp_security_post_data` + +*Filters security issues from fixing* + +Filters the default security checks and enables user to disable certain issues from being fixed by using the Fix All button. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$skip_features` | `object` | Object containing data from che chid site related to security issues.
Available options: 'db_reporting', 'php_reporting'. +`$website` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 346](pages/page-mainwp-security-issues.php#L346-L358) + + + +### `mainwp-getsubpages-user` + +*This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_user'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 114](pages/page-mainwp-user.php#L114-L119) + + + +### `mainwp_getsubpages_user` + +*Method init_menu()* + +Initiate menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 68](pages/page-mainwp-user.php#L68-L120) + + + +### `mainwp-getsubpages-server` + +*Filter mainwp_getsubpages_server* + +Filters subpages for the Info page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_server'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 141](pages/page-mainwp-server-information.php#L141-L148) + + + +### `mainwp_getsubpages_server` + +*Method init_menu()* + +Initiate Info subPage menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 36](pages/page-mainwp-server-information.php#L36-L149) + + + +### `mainwp_info_schedules_cron_listing` + +*Renders the Cron Schedule page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cron_jobs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1000](pages/page-mainwp-server-information.php#L1000-L1042) + + + +### `error_log_mainwp_logs` + +*Filter: error_log_mainwp_logs* + +Filters the error log files to show. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($error_log)` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1528](pages/page-mainwp-server-information.php#L1528-L1535) + + + +### `error_log_mainwp_lines` + +*Filter: error_log_mainwp_lines* + +Limits the number of error log records to be displayed. Default value, 50. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`100` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1537](pages/page-mainwp-server-information.php#L1537-L1544) + + + +### `mainwp_logger_to_db` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1684) + + + +### `mainwp_specific_action_logs` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific_default` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1703) + + + +### `mainwp_log_specific_actions` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific_logs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1704) + + + +### `mainwp_logger_to_db` + +*Renders action logs page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1651](pages/page-mainwp-server-information.php#L1651-L1759) + + + +### `mainwp_getsubpages_tags` + +*This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$subPages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 85](pages/page-mainwp-manage-groups.php#L85-L90) + + + +### `mainwp-getsubpages-page` + +*Method init_menu()* + +Initiate Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($sub_pages)` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_page'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 81](pages/page-mainwp-page.php#L81-L111) + + + +### `mainwp_getsubpages_page` + +*Method init_menu()* + +Initiate Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 81](pages/page-mainwp-page.php#L81-L112) + + + +### `mainwp_pages_table_fatures` + +*Filter: mainwp_pages_table_fatures* + +Filters the Manage Pages table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 862](pages/page-mainwp-page.php#L862-L869) + + + +### `mainwp_get_all_pages_data` + +*Get all pages data* + +Set search parameters for the fetch process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1047](pages/page-mainwp-page.php#L1047-L1054) + + + +### `mainwp_posting_bulkpost_post_status` + +*Page status* + +Sets page status when posting 'bulkpage' to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_status` | | +`$id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1469](pages/page-mainwp-page.php#L1469-L1478) + + + +### `mainwp_bulkpage_posting` + +*Posting new page* + +Sets Page data to post to child sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$id` | `int` | Page ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1602](pages/page-mainwp-page.php#L1602-L1611) + + + +### `mainwp-after-posting-bulkpage-result` + +*After posting a new page* + +Sets data after the posting process to show the process feedback. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false, $_post, $dbwebsites, $output)` | | +`'4.0.7.2'` | | +`'mainwp_after_posting_bulkpage_result'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1650](pages/page-mainwp-page.php#L1650-L1661) + + + +### `mainwp_after_posting_bulkpage_result` + +*Method posting()* + +Render Posting page modal window. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$after_posting` | | +`$_post` | | +`$dbwebsites` | | +`$output` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-page.php](pages/page-mainwp-page.php), [line 1385](pages/page-mainwp-page.php#L1385-L1662) + + + +### `mainwp_cards_per_row` + +*Filter: mainwp_cards_per_row* + +Filters the number of cards per row in MainWP Screenshots page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'five'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1.8` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-screenshots.php](pages/page-mainwp-manage-screenshots.php), [line 247](pages/page-mainwp-manage-screenshots.php#L247-L254) + + + +### `mainwp_recent_posts_pages_number` + +*Sets number of recent posts & pages* + +Limits the number of recent posts & pages to show in the widget. Min 0, Max 30, Default 5. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 50](widgets/widget-mainwp-recent-posts.php#L50-L57) + + + +### `mainwp_recent_posts_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Recent Posts', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-posts.php](widgets/widget-mainwp-recent-posts.php), [line 189](widgets/widget-mainwp-recent-posts.php#L189-L189) + + + +### `mainwp_recent_posts_pages_number` + +*This filter is documented in /widgets/widget-mainwp-recent-posts.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`5` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 50](widgets/widget-mainwp-recent-pages.php#L50-L51) + + + +### `mainwp_recent_pages_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Recent Pages', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-recent-pages.php](widgets/widget-mainwp-recent-pages.php), [line 185](widgets/widget-mainwp-recent-pages.php#L185-L185) + + +

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0

+ + + diff --git a/mainwp-hooks-old/dashboard/filters/extensions-integration/index.md b/mainwp-hooks-old/dashboard/filters/extensions-integration/index.md new file mode 100644 index 0000000..7c7ca14 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/extensions-integration/index.md @@ -0,0 +1,119 @@ +# Extensions & Integration Filters + +Hooks related to extensions and third-party integrations. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_extension_card_top`](#mainwp_extension_card_top) - Action: mainwp_extension_card_top +- [`mainwp_extension_card_bottom`](#mainwp_extension_card_bottom) - Action: mainwp_extension_card_bottom +- [`mainwp_extensions_help_item`](#mainwp_extensions_help_item) - Action: mainwp_extensions_help_item +- [`mainwp-getextensions`](#mainwp-getextensions) - Method init_menu() +- [`mainwp_getextensions`](#mainwp_getextensions) - Method init_menu() + +## Hook Details + +### `mainwp_extension_card_top` + +*Action: mainwp_extension_card_top* + +Fires at the Extension card top + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension` | `array` | Array containing the Extension information. + +**Changelog** + +Version | Description +------- | ----------- +`4.1.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 442](class/class-mainwp-extensions-view.php#L442-L451) + + + +### `mainwp_extension_card_bottom` + +*Action: mainwp_extension_card_bottom* + +Fires at the Extension card bottom + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extension` | `array` | Array containing the Extension information. + +**Changelog** + +Version | Description +------- | ----------- +`4.1.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 530](class/class-mainwp-extensions-view.php#L530-L539) + + + +### `mainwp_extensions_help_item` + +*Action: mainwp_extensions_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Extensions page. + +Suggested HTML markup: + +

Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 799](pages/page-mainwp-extensions.php#L799-L810) + + + +### `mainwp-getextensions` + +*Method init_menu()* + +Instantiate Extensions Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($init_extensions)` | | +`'4.0.7.2'` | | +`'mainwp_getextensions'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 58](pages/page-mainwp-extensions.php#L58-L86) + + + +### `mainwp_getextensions` + +*Method init_menu()* + +Instantiate Extensions Menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$init_extensions` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions.php](pages/page-mainwp-extensions.php), [line 58](pages/page-mainwp-extensions.php#L58-L87) + + + diff --git a/mainwp-hooks-old/dashboard/filters/index.md b/mainwp-hooks-old/dashboard/filters/index.md new file mode 100644 index 0000000..a83aad7 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/index.md @@ -0,0 +1,1206 @@ +# MainWP Dashboard Filters + +This section provides documentation for all filter hooks available in the MainWP Dashboard plugin. + +## Categories + +- [Site Management](site-management/index.md) (194 hooks) +- [Updates & Maintenance](updates-maintenance/index.md) (301 hooks) +- [Content Management](content-management/index.md) (213 hooks) +- [User Management](user-management/index.md) (61 hooks) +- [Backups & Restoration](backups-restoration/index.md) (65 hooks) +- [Security & Monitoring](security-monitoring/index.md) (50 hooks) +- [Client Reports](client-reports/index.md) (41 hooks) +- [UI & Display](ui-display/index.md) (190 hooks) +- [Extensions & Integration](extensions-integration/index.md) (5 hooks) +- [API & Remote Communication](api-remote/index.md) (42 hooks) +- [System & Settings](system-settings/index.md) (24 hooks) + +## All Filters (Alphabetical) + +- [`activate_{$plugin}`](updates-maintenance/index.md#activate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`add_meta_boxes`](content-management/index.md#add_meta_boxes) - Edit bulkpost metaboxes +- [`admin_post_thumbnail_size`](content-management/index.md#admin_post_thumbnail_size) - Filters the size used to display the post thumbnail image in the 'Featured Image' meta box. +- [`admin_print_styles`](content-management/index.md#admin_print_styles) - Method setup_wizard_header() +- [`after_mainwp_menu`](ui-display/index.md#after_mainwp_menu) - Action: after_mainwp_menu +- [`after_mainwp_menu`](ui-display/index.md#after_mainwp_menu) - Action: after_mainwp_menu +- [`before_mainwp_menu`](ui-display/index.md#before_mainwp_menu) - Action: before_mainwp_menu +- [`before_mainwp_menu`](ui-display/index.md#before_mainwp_menu) - Action: before_mainwp_menu +- [`cloudways_api_form_bottom`](api-remote/index.md#cloudways_api_form_bottom) - Action: cloudways_api_form_bottom +- [`cloudways_api_form_top`](api-remote/index.md#cloudways_api_form_top) - Action: cloudways_api_form_top +- [`cpanel_api_form`](api-remote/index.md#cpanel_api_form) - Action: cpanel_api_form +- [`cpanel_api_form_bottom`](api-remote/index.md#cpanel_api_form_bottom) - Action: cpanel_api_form_bottom +- [`date_formats`](content-management/index.md#date_formats) - *Arguments* +- [`deactivate_{$plugin}`](updates-maintenance/index.md#deactivate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`deprecated_hook_run`](ui-display/index.md#deprecated_hook_run) - Display a deprecated notice for old hooks. +- [`digitalocean_api_form_bottom`](api-remote/index.md#digitalocean_api_form_bottom) - Action: digitalocean_api_form_bottom +- [`digitalocean_api_form_top`](api-remote/index.md#digitalocean_api_form_top) - Action: digitalocean_api_form_top +- [`error_log_mainwp_lines`](content-management/index.md#error_log_mainwp_lines) - Filter: error_log_mainwp_lines +- [`error_log_mainwp_logs`](content-management/index.md#error_log_mainwp_logs) - Filter: error_log_mainwp_logs +- [`file_mod_allowed`](updates-maintenance/index.md#file_mod_allowed) - Disables plugin installation +- [`file_mod_allowed`](updates-maintenance/index.md#file_mod_allowed) - Disables themes installation +- [`gridpane_api_form_bottom`](api-remote/index.md#gridpane_api_form_bottom) - Action: gridpane_api_form_bottom +- [`gridpane_api_form_top`](api-remote/index.md#gridpane_api_form_top) - Action: gridpane_api_form_top +- [`https_local_ssl_verify`](api-remote/index.md#https_local_ssl_verify) - *Arguments* +- [`kinsta_api_form_bottom`](api-remote/index.md#kinsta_api_form_bottom) - Action: kinsta_api_form_bottom +- [`kinsta_api_form_top`](api-remote/index.md#kinsta_api_form_top) - Action: kinsta_api_form_top +- [`linode_api_form_bottom`](api-remote/index.md#linode_api_form_bottom) - Action: linode_api_form_bottom +- [`linode_api_form_top`](api-remote/index.md#linode_api_form_top) - Action: linode_api_form_top +- [`mainwp-activated`](ui-display/index.md#mainwp-activated) - MainWP_System constructor. +- [`mainwp-after-posting-bulkpage-result`](content-management/index.md#mainwp-after-posting-bulkpage-result) - After posting a new page +- [`mainwp-after-posting-bulkpost-result`](content-management/index.md#mainwp-after-posting-bulkpost-result) - After posting a new post +- [`mainwp-bulkposting-done`](content-management/index.md#mainwp-bulkposting-done) - Method posting_posts() +- [`mainwp-bulkposting-done`](content-management/index.md#mainwp-bulkposting-done) - Method posting() +- [`mainwp-extension-sites-edit`](site-management/index.md#mainwp-extension-sites-edit) - Method render_edit_site() +- [`mainwp-getcustompage-backups`](content-management/index.md#mainwp-getcustompage-backups) - Backups Subpages +- [`mainwp-getextensions`](extensions-integration/index.md#mainwp-getextensions) - Method init_menu() +- [`mainwp-getmetaboxes`](ui-display/index.md#mainwp-getmetaboxes) - Method apply_filter() +- [`mainwp-getprimarybackup-activated`](backups-restoration/index.md#mainwp-getprimarybackup-activated) - Method admin_init() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method get_columns() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Renders the Backup Site Dialog. +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Render Legacy Backups page. +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method render_settings() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Method render_individual_settings() +- [`mainwp-getprimarybackup-methods`](backups-restoration/index.md#mainwp-getprimarybackup-methods) - Gets MainWP Set Options. +- [`mainwp-getsubpages-backups`](content-management/index.md#mainwp-getsubpages-backups) - Instantiate Legacy Backups Menu. +- [`mainwp-getsubpages-page`](content-management/index.md#mainwp-getsubpages-page) - Method init_menu() +- [`mainwp-getsubpages-plugins`](updates-maintenance/index.md#mainwp-getsubpages-plugins) - Plugins Subpages +- [`mainwp-getsubpages-post`](content-management/index.md#mainwp-getsubpages-post) - Method ini_menu() +- [`mainwp-getsubpages-server`](content-management/index.md#mainwp-getsubpages-server) - Filter mainwp_getsubpages_server +- [`mainwp-getsubpages-settings`](content-management/index.md#mainwp-getsubpages-settings) - Settings Subpages +- [`mainwp-getsubpages-sites`](content-management/index.md#mainwp-getsubpages-sites) - Initiate menu. +- [`mainwp-getsubpages-themes`](updates-maintenance/index.md#mainwp-getsubpages-themes) - Themes Subpages +- [`mainwp-getsubpages-user`](content-management/index.md#mainwp-getsubpages-user) - This hook allows you to add extra sub pages to the User page via the 'mainwp-getsubpages-user' filter. +- [`mainwp-manage-sites-edit`](site-management/index.md#mainwp-manage-sites-edit) - Method render_edit_site() +- [`mainwp-manage-sites-edit`](site-management/index.md#mainwp-manage-sites-edit) - Method render_new_site_add_new_site() +- [`mainwp-post-posting-page`](content-management/index.md#mainwp-post-posting-page) - Method posting() +- [`mainwp-post-posting-post`](content-management/index.md#mainwp-post-posting-post) - Method posting_posts() +- [`mainwp-pre-posting-posts`](content-management/index.md#mainwp-pre-posting-posts) - Filter is being replaced with mainwp_pre_posting_posts. +- [`mainwp-securityissues-sites`](security-monitoring/index.md#mainwp-securityissues-sites) - Method render_scan_site() +- [`mainwp-site-synced`](site-management/index.md#mainwp-site-synced) - Method sync_information_array() +- [`mainwp-sitestable-getcolumns`](ui-display/index.md#mainwp-sitestable-getcolumns) - Filter is being replaced with mainwp_sitestable_getcolumns +- [`mainwp-sitestable-item`](ui-display/index.md#mainwp-sitestable-item) - Filter is being replaced with mainwp_sitestable_item +- [`mainwp-sitestable-prepared-items`](ui-display/index.md#mainwp-sitestable-prepared-items) - Action is being replaced with mainwp_sitestable_prepared_items +- [`mainwp-sucuriscan-sites`](security-monitoring/index.md#mainwp-sucuriscan-sites) - Method render_scan_site() +- [`mainwp-sync-extensions-options`](site-management/index.md#mainwp-sync-extensions-options) - Method render_sync_exts_settings() +- [`mainwp-sync-others-data`](site-management/index.md#mainwp-sync-others-data) - Method sync_site() +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders manage users dashboard. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders Edit Users Modal window. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Renders the Add New user form. +- [`mainwp-users-manage-roles`](user-management/index.md#mainwp-users-manage-roles) - Method do_bulk_add() +- [`mainwp-widgets-screen-options`](ui-display/index.md#mainwp-widgets-screen-options) - Method render_screen_options() +- [`mainwp-wordfence-sites`](site-management/index.md#mainwp-wordfence-sites) - Method render_scan_site() +- [`mainwp_activated`](updates-maintenance/index.md#mainwp_activated) - Action: mainwp_activated +- [`mainwp_add_backuptask`](backups-restoration/index.md#mainwp_add_backuptask) - Add backup task. +- [`mainwp_add_new_user_after_select_sites`](user-management/index.md#mainwp_add_new_user_after_select_sites) - Action: mainwp_add_new_user_after_select_sites +- [`mainwp_add_new_user_after_submit_button`](user-management/index.md#mainwp_add_new_user_after_submit_button) - Action: mainwp_add_new_user_after_submit_button +- [`mainwp_add_new_user_before_select_sites`](user-management/index.md#mainwp_add_new_user_before_select_sites) - Action: mainwp_add_new_user_before_select_sites +- [`mainwp_add_new_user_before_submit_button`](user-management/index.md#mainwp_add_new_user_before_submit_button) - Action: mainwp_add_new_user_before_submit_button +- [`mainwp_add_new_user_sidebar_bottom`](user-management/index.md#mainwp_add_new_user_sidebar_bottom) - Action: mainwp_add_new_user_sidebar_bottom +- [`mainwp_add_new_user_sidebar_top`](user-management/index.md#mainwp_add_new_user_sidebar_top) - Action: mainwp_add_new_user_sidebar_top +- [`mainwp_added_extension_menu`](ui-display/index.md#mainwp_added_extension_menu) - Adds Extension to the navigation menu +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](site-management/index.md#mainwp_added_new_group) - This action is documented in pages\page-mainwp-manage-groups.php +- [`mainwp_added_new_site`](site-management/index.md#mainwp_added_new_site) - New site added +- [`mainwp_added_new_site`](site-management/index.md#mainwp_added_new_site) - This action is documented in class\class-mainwp-manage-sites-view.php +- [`mainwp_admin_enqueue_scripts`](ui-display/index.md#mainwp_admin_enqueue_scripts) - Method admin_enqueue_scripts() +- [`mainwp_admin_footer`](content-management/index.md#mainwp_admin_footer) - Action: mainwp_admin_footer +- [`mainwp_admin_menu`](ui-display/index.md#mainwp_admin_menu) - Action: mainwp_admin_menu +- [`mainwp_admin_menu_sub`](ui-display/index.md#mainwp_admin_menu_sub) - Action: mainwp_admin_menu_sub +- [`mainwp_admin_pass_after_pass_form`](updates-maintenance/index.md#mainwp_admin_pass_after_pass_form) - Action: mainwp_admin_pass_after_pass_form +- [`mainwp_admin_pass_after_select_sites`](updates-maintenance/index.md#mainwp_admin_pass_after_select_sites) - Action: mainwp_admin_pass_after_select_sites +- [`mainwp_admin_pass_after_submit_button`](updates-maintenance/index.md#mainwp_admin_pass_after_submit_button) - Action: mainwp_admin_pass_after_submit_button +- [`mainwp_admin_pass_after_users_table`](user-management/index.md#mainwp_admin_pass_after_users_table) - Action: mainwp_admin_pass_after_users_table +- [`mainwp_admin_pass_before_pass_form`](updates-maintenance/index.md#mainwp_admin_pass_before_pass_form) - Action: mainwp_admin_pass_before_pass_form +- [`mainwp_admin_pass_before_select_sites`](updates-maintenance/index.md#mainwp_admin_pass_before_select_sites) - Action: mainwp_admin_pass_before_select_sites +- [`mainwp_admin_pass_before_submit_button`](updates-maintenance/index.md#mainwp_admin_pass_before_submit_button) - Action: mainwp_admin_pass_before_submit_button +- [`mainwp_admin_pass_before_users_table`](user-management/index.md#mainwp_admin_pass_before_users_table) - Action: mainwp_admin_pass_before_users_table +- [`mainwp_admin_pass_sidebar_bottom`](updates-maintenance/index.md#mainwp_admin_pass_sidebar_bottom) - Action: mainwp_admin_pass_sidebar_bottom +- [`mainwp_admin_pass_sidebar_top`](updates-maintenance/index.md#mainwp_admin_pass_sidebar_top) - Action: mainwp_admin_pass_sidebar_top +- [`mainwp_admin_post_thumbnail_html`](content-management/index.md#mainwp_admin_post_thumbnail_html) - Filters the admin post thumbnail HTML markup to return. +- [`mainwp_admin_users_table_fatures`](user-management/index.md#mainwp_admin_users_table_fatures) - Filter: mainwp_admin_users_table_fatures +- [`mainwp_advanced_settings_form_bottom`](system-settings/index.md#mainwp_advanced_settings_form_bottom) - Action: mainwp_advanced_settings_form_bottom +- [`mainwp_advanced_settings_form_top`](system-settings/index.md#mainwp_advanced_settings_form_top) - Action: mainwp_advanced_settings_form_top +- [`mainwp_after_active_plugins_list`](updates-maintenance/index.md#mainwp_after_active_plugins_list) - Action: mainwp_after_active_plugins_list +- [`mainwp_after_core_unignore`](updates-maintenance/index.md#mainwp_after_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_after_cron_jobs_table`](ui-display/index.md#mainwp_after_cron_jobs_table) - Action: mainwp_after_cron_jobs_table +- [`mainwp_after_edit_site_note`](site-management/index.md#mainwp_after_edit_site_note) - Action: mainwp_after_edit_site_note +- [`mainwp_after_error_log_table`](ui-display/index.md#mainwp_after_error_log_table) - Action: mainwp_after_error_log_table +- [`mainwp_after_groups_table`](site-management/index.md#mainwp_after_groups_table) - Action: mainwp_after_groups_table +- [`mainwp_after_header`](site-management/index.md#mainwp_after_header) - Action: mainwp_after_header +- [`mainwp_after_htaccess_section`](user-management/index.md#mainwp_after_htaccess_section) - Action: mainwp_after_htaccess_section +- [`mainwp_after_import_users`](user-management/index.md#mainwp_after_import_users) - Action: mainwp_after_import_users +- [`mainwp_after_inactive_plugins_list`](updates-maintenance/index.md#mainwp_after_inactive_plugins_list) - Action: mainwp_after_inactive_plugins_list +- [`mainwp_after_inactive_themes_list`](updates-maintenance/index.md#mainwp_after_inactive_themes_list) - Action: mainwp_after_inactive_themes_list +- [`mainwp_after_manage_sites_table`](site-management/index.md#mainwp_after_manage_sites_table) - Action: mainwp_after_manage_sites_table +- [`mainwp_after_new_user_form`](user-management/index.md#mainwp_after_new_user_form) - Action: mainwp_after_new_user_form +- [`mainwp_after_new_user_form_fields`](user-management/index.md#mainwp_after_new_user_form_fields) - Action: mainwp_after_new_user_form_fields +- [`mainwp_after_notice_sites_uptime_monitoring_admin`](site-management/index.md#mainwp_after_notice_sites_uptime_monitoring_admin) - Basic site uptime monitoring. +- [`mainwp_after_notice_sites_uptime_monitoring_individual`](site-management/index.md#mainwp_after_notice_sites_uptime_monitoring_individual) - Basic site uptime monitoring. +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_overview_widgets`](ui-display/index.md#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_after_pages_table`](content-management/index.md#mainwp_after_pages_table) - Action: mainwp_after_pages_table +- [`mainwp_after_plugin_action`](updates-maintenance/index.md#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_after_plugin_action`](updates-maintenance/index.md#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_ignore`](updates-maintenance/index.md#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_after_plugin_privacy_section`](updates-maintenance/index.md#mainwp_after_plugin_privacy_section) - Action: mainwp_after_plugin_privacy_section +- [`mainwp_after_plugin_theme_install`](updates-maintenance/index.md#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](updates-maintenance/index.md#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_after_plugin_theme_install_progress`](updates-maintenance/index.md#mainwp_after_plugin_theme_install_progress) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_after_plugin_unignore`](updates-maintenance/index.md#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_after_plugin_unignore`](updates-maintenance/index.md#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_after_plugins_table`](updates-maintenance/index.md#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_after_plugins_table`](updates-maintenance/index.md#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_after_post_action`](content-management/index.md#mainwp_after_post_action) - +- [`mainwp_after_posting_bulkpage_result`](content-management/index.md#mainwp_after_posting_bulkpage_result) - Method posting() +- [`mainwp_after_posting_bulkpost_result`](content-management/index.md#mainwp_after_posting_bulkpost_result) - Method posting_posts() +- [`mainwp_after_posting_delete_bulk_post`](content-management/index.md#mainwp_after_posting_delete_bulk_post) - Method posting_posts() +- [`mainwp_after_posts_table`](content-management/index.md#mainwp_after_posts_table) - Action: mainwp_after_posts_table +- [`mainwp_after_save_advanced_settings`](system-settings/index.md#mainwp_after_save_advanced_settings) - Action: mainwp_after_save_advanced_settings +- [`mainwp_after_save_email_settings`](system-settings/index.md#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_after_save_email_settings`](system-settings/index.md#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_after_save_general_settings`](system-settings/index.md#mainwp_after_save_general_settings) - Action: mainwp_after_save_general_settings +- [`mainwp_after_seclect_sites`](ui-display/index.md#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_after_seclect_sites`](ui-display/index.md#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_after_select_clients_list`](client-reports/index.md#mainwp_after_select_clients_list) - Action: mainwp_after_select_clients_list +- [`mainwp_after_select_groups_list`](site-management/index.md#mainwp_after_select_groups_list) - Action: mainwp_after_select_groups_list +- [`mainwp_after_select_sites_filters`](site-management/index.md#mainwp_after_select_sites_filters) - Action: mainwp_after_select_sites_filters +- [`mainwp_after_select_sites_list`](site-management/index.md#mainwp_after_select_sites_list) - Action: mainwp_after_select_sites_list +- [`mainwp_after_server_info_table`](ui-display/index.md#mainwp_after_server_info_table) - Action: mainwp_after_server_info_table +- [`mainwp_after_subheader`](ui-display/index.md#mainwp_after_subheader) - Action: mainwp_after_subheader +- [`mainwp_after_sync_site_success`](site-management/index.md#mainwp_after_sync_site_success) - Fires immediately after website synced successfully. +- [`mainwp_after_system_requirements_check`](security-monitoring/index.md#mainwp_after_system_requirements_check) - Action: mainwp_after_system_requirements_check +- [`mainwp_after_template_part`](ui-display/index.md#mainwp_after_template_part) - Action: mainwp_after_template_part +- [`mainwp_after_theme_action`](updates-maintenance/index.md#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_after_theme_action`](updates-maintenance/index.md#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_ignore`](updates-maintenance/index.md#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_theme_unignore`](updates-maintenance/index.md#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_after_theme_unignore`](updates-maintenance/index.md#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_after_themes_table`](updates-maintenance/index.md#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_after_themes_table`](updates-maintenance/index.md#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_after_upgrade_wp_success`](updates-maintenance/index.md#mainwp_after_upgrade_wp_success) - Method upgrade_site() +- [`mainwp_after_upload_custom_icon`](ui-display/index.md#mainwp_after_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_after_user_action`](user-management/index.md#mainwp_after_user_action) - Action: mainwp_after_user_action +- [`mainwp_after_user_create`](user-management/index.md#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_after_user_create`](user-management/index.md#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_after_users_table`](user-management/index.md#mainwp_after_users_table) - Action: mainwp_after_users_table +- [`mainwp_after_wp_config_section`](system-settings/index.md#mainwp_after_wp_config_section) - Action: mainwp_after_wp_config_section +- [`mainwp_after_wp_update`](updates-maintenance/index.md#mainwp_after_wp_update) - Action: mainwp_after_wp_update +- [`mainwp_ajax_add_action`](updates-maintenance/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](updates-maintenance/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](site-management/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](backups-restoration/index.md#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_all_disablemenuitems`](ui-display/index.md#mainwp_all_disablemenuitems) - Method admin_footer() +- [`mainwp_alter_login_user`](user-management/index.md#mainwp_alter_login_user) - Filter: mainwp_alter_login_user +- [`mainwp_alter_login_user`](user-management/index.md#mainwp_alter_login_user) - This filter is documented in ../class/class-mainwp-connect.php +- [`mainwp_api_manager_upgrade_package_url`](updates-maintenance/index.md#mainwp_api_manager_upgrade_package_url) - +- [`mainwp_api_manager_upgrade_url`](updates-maintenance/index.md#mainwp_api_manager_upgrade_url) - Get Upgrade URL. +- [`mainwp_applypluginsettings_{$ext_dir_slug}`](updates-maintenance/index.md#mainwp_applypluginsettings_ext_dir_slug) - Apply plugin settings +- [`mainwp_automatic_disable_uptime_monitoring_check`](security-monitoring/index.md#mainwp_automatic_disable_uptime_monitoring_check) - Method cron_uptime_check +- [`mainwp_available_updates_count_custom_fields_data`](updates-maintenance/index.md#mainwp_available_updates_count_custom_fields_data) - Method sites_available_updates_count() +- [`mainwp_backups_remote_settings`](backups-restoration/index.md#mainwp_backups_remote_settings) - Render Backup Options. +- [`mainwp_backuptask_column_destination`](backups-restoration/index.md#mainwp_backuptask_column_destination) - Column Destination. +- [`mainwp_backuptask_remotedestinations`](backups-restoration/index.md#mainwp_backuptask_remotedestinations) - Get backup tasks and site ID. +- [`mainwp_before_active_plugins_list`](updates-maintenance/index.md#mainwp_before_active_plugins_list) - Action: mainwp_before_active_plugins_list +- [`mainwp_before_bulkpost_editor`](content-management/index.md#mainwp_before_bulkpost_editor) - Renders bulkpost to edit. +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_core_unignore`](updates-maintenance/index.md#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_cron_jobs_table`](ui-display/index.md#mainwp_before_cron_jobs_table) - Action: mainwp_before_cron_jobs_table +- [`mainwp_before_edit_site_note`](site-management/index.md#mainwp_before_edit_site_note) - Action: mainwp_before_edit_site_note +- [`mainwp_before_error_log_table`](ui-display/index.md#mainwp_before_error_log_table) - Action: mainwp_before_error_log_table +- [`mainwp_before_groups_table`](site-management/index.md#mainwp_before_groups_table) - Action: mainwp_before_groups_table +- [`mainwp_before_header`](site-management/index.md#mainwp_before_header) - Action: mainwp_before_header +- [`mainwp_before_htaccess_section`](user-management/index.md#mainwp_before_htaccess_section) - Action: mainwp_before_htaccess_section +- [`mainwp_before_import_users`](user-management/index.md#mainwp_before_import_users) - Action: mainwp_before_import_users +- [`mainwp_before_inactive_plugins_list`](updates-maintenance/index.md#mainwp_before_inactive_plugins_list) - Action: mainwp_before_inactive_plugins_list +- [`mainwp_before_inactive_themes_list`](updates-maintenance/index.md#mainwp_before_inactive_themes_list) - Action: mainwp_before_inactive_themes_list +- [`mainwp_before_log_data`](ui-display/index.md#mainwp_before_log_data) - Method log_to_db() +- [`mainwp_before_mainwp_content_wrap`](content-management/index.md#mainwp_before_mainwp_content_wrap) - Action: mainwp_before_mainwp_content_wrap +- [`mainwp_before_manage_sites_table`](site-management/index.md#mainwp_before_manage_sites_table) - Action: mainwp_before_manage_sites_table +- [`mainwp_before_new_user_form`](user-management/index.md#mainwp_before_new_user_form) - Action: mainwp_before_new_user_form +- [`mainwp_before_new_user_form_fields`](user-management/index.md#mainwp_before_new_user_form_fields) - Action: mainwp_before_new_user_form_fields +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_overview_widgets`](ui-display/index.md#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_before_pages_table`](content-management/index.md#mainwp_before_pages_table) - Action: mainwp_before_pages_table +- [`mainwp_before_plugin_action`](updates-maintenance/index.md#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_before_plugin_action`](updates-maintenance/index.md#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_ignore`](updates-maintenance/index.md#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_before_plugin_privacy_section`](updates-maintenance/index.md#mainwp_before_plugin_privacy_section) - Action: mainwp_before_plugin_privacy_section +- [`mainwp_before_plugin_theme_install`](updates-maintenance/index.md#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_before_plugin_theme_install`](updates-maintenance/index.md#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_before_plugin_theme_install_progress`](updates-maintenance/index.md#mainwp_before_plugin_theme_install_progress) - Action: mainwp_before_plugin_theme_install_progress +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](updates-maintenance/index.md#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_unignore`](updates-maintenance/index.md#mainwp_before_plugin_theme_unignore) - Action: mainwp_before_plugin_theme_unignore +- [`mainwp_before_plugin_unignore`](updates-maintenance/index.md#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_before_plugin_unignore`](updates-maintenance/index.md#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_before_plugins_table`](updates-maintenance/index.md#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_before_plugins_table`](updates-maintenance/index.md#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_before_post_action`](content-management/index.md#mainwp_before_post_action) - Action: mainwp_before_post_action +- [`mainwp_before_posts_table`](content-management/index.md#mainwp_before_posts_table) - Action: mainwp_before_posts_table +- [`mainwp_before_redirect_posting_bulkpage`](content-management/index.md#mainwp_before_redirect_posting_bulkpage) - Action: mainwp_before_redirect_posting_bulkpage +- [`mainwp_before_redirect_posting_bulkpost`](content-management/index.md#mainwp_before_redirect_posting_bulkpost) - Action: mainwp_before_redirect_posting_bulkpost +- [`mainwp_before_save_advanced_settings`](system-settings/index.md#mainwp_before_save_advanced_settings) - Action: mainwp_before_save_advanced_settings +- [`mainwp_before_save_email_settings`](system-settings/index.md#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_before_save_email_settings`](system-settings/index.md#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_before_save_general_settings`](system-settings/index.md#mainwp_before_save_general_settings) - Action: mainwp_before_save_general_settings +- [`mainwp_before_save_sync_result`](site-management/index.md#mainwp_before_save_sync_result) - Filter: mainwp_before_save_sync_result +- [`mainwp_before_seclect_sites`](ui-display/index.md#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_before_seclect_sites`](ui-display/index.md#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_before_select_clients_list`](client-reports/index.md#mainwp_before_select_clients_list) - Action: mainwp_before_select_clients_list +- [`mainwp_before_select_groups_list`](site-management/index.md#mainwp_before_select_groups_list) - Action: mainwp_before_select_groups_list +- [`mainwp_before_select_sites_filters`](site-management/index.md#mainwp_before_select_sites_filters) - Action: mainwp_before_select_sites_filters +- [`mainwp_before_select_sites_list`](site-management/index.md#mainwp_before_select_sites_list) - Action: mainwp_before_select_sites_list +- [`mainwp_before_server_info_table`](ui-display/index.md#mainwp_before_server_info_table) - Action: mainwp_before_server_info_table +- [`mainwp_before_subheader`](ui-display/index.md#mainwp_before_subheader) - Action: mainwp_before_subheader +- [`mainwp_before_system_requirements_check`](security-monitoring/index.md#mainwp_before_system_requirements_check) - Action: mainwp_before_system_requirements_check +- [`mainwp_before_template_part`](ui-display/index.md#mainwp_before_template_part) - Action: mainwp_before_template_part +- [`mainwp_before_theme_action`](updates-maintenance/index.md#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_before_theme_action`](updates-maintenance/index.md#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_ignore`](updates-maintenance/index.md#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_before_theme_unignore`](updates-maintenance/index.md#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_before_theme_unignore`](updates-maintenance/index.md#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_before_themes_table`](updates-maintenance/index.md#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_before_themes_table`](updates-maintenance/index.md#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_before_upload_custom_icon`](ui-display/index.md#mainwp_before_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_before_user_action`](user-management/index.md#mainwp_before_user_action) - Action: mainwp_before_user_action +- [`mainwp_before_user_create`](user-management/index.md#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_before_user_create`](user-management/index.md#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_before_users_table`](user-management/index.md#mainwp_before_users_table) - Action: mainwp_before_users_table +- [`mainwp_before_wp_config_section`](system-settings/index.md#mainwp_before_wp_config_section) - Action: mainwp_before_wp_config_section +- [`mainwp_before_wp_update`](updates-maintenance/index.md#mainwp_before_wp_update) - Action: mainwp_before_wp_update +- [`mainwp_boilerplate_get_tokens`](site-management/index.md#mainwp_boilerplate_get_tokens) - Filter: mainwp_boilerplate_get_tokens +- [`mainwp_boilerplate_get_tokens`](site-management/index.md#mainwp_boilerplate_get_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_bulk_install_sidebar_submit_bottom`](updates-maintenance/index.md#mainwp_bulk_install_sidebar_submit_bottom) - Render Install plugins Table. +- [`mainwp_bulk_install_sidebar_submit_bottom`](updates-maintenance/index.md#mainwp_bulk_install_sidebar_submit_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_install_tabs_content`](updates-maintenance/index.md#mainwp_bulk_install_tabs_content) - Render Install plugins Table. +- [`mainwp_bulk_install_tabs_content`](updates-maintenance/index.md#mainwp_bulk_install_tabs_content) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_prepare_install_result`](updates-maintenance/index.md#mainwp_bulk_prepare_install_result) - Filter: mainwp_bulk_prepare_install_result +- [`mainwp_bulk_upload_install_result`](updates-maintenance/index.md#mainwp_bulk_upload_install_result) - Filter: mainwp_bulk_upload_install_result +- [`mainwp_bulkpage_before_post`](content-management/index.md#mainwp_bulkpage_before_post) - Before Page post action +- [`mainwp_bulkpage_posting`](content-management/index.md#mainwp_bulkpage_posting) - Posting new page +- [`mainwp_bulkpost_before_post`](content-management/index.md#mainwp_bulkpost_before_post) - Before Post post action +- [`mainwp_bulkpost_categories_handle`](content-management/index.md#mainwp_bulkpost_categories_handle) - Method add_categories_handle() +- [`mainwp_bulkpost_edit`](content-management/index.md#mainwp_bulkpost_edit) - Edit bulkpost +- [`mainwp_bulkpost_edit_title`](content-management/index.md#mainwp_bulkpost_edit_title) - Renders bulkpost to edit. +- [`mainwp_bulkpost_edit_top_side`](content-management/index.md#mainwp_bulkpost_edit_top_side) - Renders bulkpost to edit. +- [`mainwp_bulkpost_editor_settings`](content-management/index.md#mainwp_bulkpost_editor_settings) - Renders bulkpost to edit. +- [`mainwp_bulkpost_select_sites_settings`](site-management/index.md#mainwp_bulkpost_select_sites_settings) - Renders bulkpost to edit. +- [`mainwp_bulkpost_tags_handle`](content-management/index.md#mainwp_bulkpost_tags_handle) - Method add_tags_handle() +- [`mainwp_bulkposting_done`](content-management/index.md#mainwp_bulkposting_done) - Posting post completed +- [`mainwp_bulkposting_done`](content-management/index.md#mainwp_bulkposting_done) - Posting page completed +- [`mainwp_cache_icon_expired`](updates-maintenance/index.md#mainwp_cache_icon_expired) - Gets a plugin|theme icon to output. +- [`mainwp_cards_per_row`](content-management/index.md#mainwp_cards_per_row) - Filter: mainwp_cards_per_row +- [`mainwp_check_site_result`](site-management/index.md#mainwp_check_site_result) - Method check_site() +- [`mainwp_child_site_info_widget_content`](site-management/index.md#mainwp_child_site_info_widget_content) - Filter: mainwp_child_site_info_widget_content +- [`mainwp_clear_and_lock_options`](system-settings/index.md#mainwp_clear_and_lock_options) - Clean and Lock extension options +- [`mainwp_client_deleted`](client-reports/index.md#mainwp_client_deleted) - Delete client +- [`mainwp_client_report_generate_content`](content-management/index.md#mainwp_client_report_generate_content) - Filter: mainwp_client_report_generate_content +- [`mainwp_client_report_get_site_tokens`](site-management/index.md#mainwp_client_report_get_site_tokens) - Filter: mainwp_client_report_get_site_tokens +- [`mainwp_client_report_get_site_tokens`](site-management/index.md#mainwp_client_report_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_client_suspend`](client-reports/index.md#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_client_suspend`](client-reports/index.md#mainwp_client_suspend) - Fires immediately after update client suspend/unsuspend. +- [`mainwp_client_updated`](updates-maintenance/index.md#mainwp_client_updated) - Add client +- [`mainwp_clients_getmetaboxes`](client-reports/index.md#mainwp_clients_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_clients_info_table_bottom`](client-reports/index.md#mainwp_clients_info_table_bottom) - Action: mainwp_clients_info_table_bottom +- [`mainwp_clients_info_table_top`](client-reports/index.md#mainwp_clients_info_table_top) - Action: mainwp_clients_info_table_top +- [`mainwp_clients_info_widget_bottom`](client-reports/index.md#mainwp_clients_info_widget_bottom) - Action: mainwp_clients_info_widget_bottom +- [`mainwp_clients_info_widget_title`](client-reports/index.md#mainwp_clients_info_widget_title) - *Arguments* +- [`mainwp_clients_info_widget_top`](client-reports/index.md#mainwp_clients_info_widget_top) - Actoin: mainwp_clients_info_widget_top +- [`mainwp_clients_overview_contact_widget_bottom`](client-reports/index.md#mainwp_clients_overview_contact_widget_bottom) - Action: mainwp_clients_overview_contact_widget_bottom +- [`mainwp_clients_overview_contact_widget_sutbitle`](client-reports/index.md#mainwp_clients_overview_contact_widget_sutbitle) - *Arguments* +- [`mainwp_clients_overview_contact_widget_title`](client-reports/index.md#mainwp_clients_overview_contact_widget_title) - *Arguments* +- [`mainwp_clients_overview_contact_widget_top`](client-reports/index.md#mainwp_clients_overview_contact_widget_top) - Actoin: mainwp_clients_overview_contact_widget_top +- [`mainwp_clients_overview_enabled_widgets`](client-reports/index.md#mainwp_clients_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_clients_overview_help_item`](client-reports/index.md#mainwp_clients_overview_help_item) - Action: mainwp_clients_overview_help_item +- [`mainwp_clients_overview_info_table_bottom`](client-reports/index.md#mainwp_clients_overview_info_table_bottom) - Action: mainwp_clients_overview_info_table_bottom +- [`mainwp_clients_overview_info_table_top`](client-reports/index.md#mainwp_clients_overview_info_table_top) - Action: mainwp_clients_overview_info_table_top +- [`mainwp_clients_overview_info_widget_bottom`](client-reports/index.md#mainwp_clients_overview_info_widget_bottom) - Action: mainwp_clients_overview_info_widget_bottom +- [`mainwp_clients_overview_info_widget_title`](client-reports/index.md#mainwp_clients_overview_info_widget_title) - *Arguments* +- [`mainwp_clients_overview_info_widget_top`](client-reports/index.md#mainwp_clients_overview_info_widget_top) - Actoin: mainwp_clients_overview_info_widget_top +- [`mainwp_clients_overview_note_widget_bottom`](client-reports/index.md#mainwp_clients_overview_note_widget_bottom) - Action: mainwp_clients_overview_note_widget_bottom +- [`mainwp_clients_overview_note_widget_title`](client-reports/index.md#mainwp_clients_overview_note_widget_title) - *Arguments* +- [`mainwp_clients_overview_note_widget_top`](client-reports/index.md#mainwp_clients_overview_note_widget_top) - Actoin: mainwp_clients_overview_note_widget_top +- [`mainwp_clients_overview_overview_widget_bottom`](client-reports/index.md#mainwp_clients_overview_overview_widget_bottom) - Action: mainwp_clients_overview_overview_widget_bottom +- [`mainwp_clients_overview_overview_widget_top`](client-reports/index.md#mainwp_clients_overview_overview_widget_top) - Actoin: mainwp_clients_overview_overview_widget_top +- [`mainwp_clients_overview_screen_options_bottom`](client-reports/index.md#mainwp_clients_overview_screen_options_bottom) - Action: mainwp_clients_overview_screen_options_bottom +- [`mainwp_clients_overview_screen_options_top`](client-reports/index.md#mainwp_clients_overview_screen_options_top) - Action: mainwp_clients_overview_screen_options_top +- [`mainwp_clients_overview_websites_widget_bottom`](site-management/index.md#mainwp_clients_overview_websites_widget_bottom) - Action: mainwp_clients_overview_websites_widget_bottom +- [`mainwp_clients_overview_websites_widget_title`](site-management/index.md#mainwp_clients_overview_websites_widget_title) - *Arguments* +- [`mainwp_clients_overview_websites_widget_top`](site-management/index.md#mainwp_clients_overview_websites_widget_top) - Actoin: mainwp_clients_overview_websites_widget_top +- [`mainwp_clients_sitestable_getcolumns`](client-reports/index.md#mainwp_clients_sitestable_getcolumns) - Filter: mainwp_clients_sitestable_getcolumns +- [`mainwp_clients_sitestable_item`](client-reports/index.md#mainwp_clients_sitestable_item) - Filter: mainwp_clients_sitestable_item +- [`mainwp_clients_table_features`](client-reports/index.md#mainwp_clients_table_features) - Filter: mainwp_clients_table_features +- [`mainwp_clients_website_client_tokens`](site-management/index.md#mainwp_clients_website_client_tokens) - Method get_website_client_tokens_data() +- [`mainwp_clients_widget_bottom`](client-reports/index.md#mainwp_clients_widget_bottom) - Action: mainwp_clients_widget_bottom +- [`mainwp_clients_widget_title`](client-reports/index.md#mainwp_clients_widget_title) - *Arguments* +- [`mainwp_clients_widget_top`](client-reports/index.md#mainwp_clients_widget_top) - Actoin: mainwp_clients_widget_top +- [`mainwp_clients_widgets_screen_options`](client-reports/index.md#mainwp_clients_widgets_screen_options) - Filter: mainwp_clients_widgets_screen_options +- [`mainwp_clientstable_prepared_items`](client-reports/index.md#mainwp_clientstable_prepared_items) - Prepair the items to be listed. +- [`mainwp_clone_enabled`](site-management/index.md#mainwp_clone_enabled) - Filter: mainwp_clone_enabled +- [`mainwp_compact_action`](ui-display/index.md#mainwp_compact_action) - Create compact logs and erase records from the database. +- [`mainwp_connect_sign_algo`](site-management/index.md#mainwp_connect_sign_algo) - Method get_connect_sign_algorithm(). +- [`mainwp_connect_sites_allow_ports`](site-management/index.md#mainwp_connect_sites_allow_ports) - Method mainwp_testwp() +- [`mainwp_connect_sites_not_allow_ports`](site-management/index.md#mainwp_connect_sites_not_allow_ports) - Method mainwp_testwp() +- [`mainwp_connection_status_after_all_sites_list`](site-management/index.md#mainwp_connection_status_after_all_sites_list) - Action: mainwp_connection_status_after_all_sites_list +- [`mainwp_connection_status_after_connected_sites_list`](site-management/index.md#mainwp_connection_status_after_connected_sites_list) - Action: mainwp_connection_status_after_connected_sites_list +- [`mainwp_connection_status_after_disconnected_sites_list`](site-management/index.md#mainwp_connection_status_after_disconnected_sites_list) - Action: mainwp_connection_status_after_disconnected_sites_list +- [`mainwp_connection_status_before_all_sites_list`](site-management/index.md#mainwp_connection_status_before_all_sites_list) - Action: mainwp_connection_status_before_all_sites_list +- [`mainwp_connection_status_before_connected_sites_list`](site-management/index.md#mainwp_connection_status_before_connected_sites_list) - Action: mainwp_connection_status_before_connected_sites_list +- [`mainwp_connection_status_before_disconnected_sites_list`](site-management/index.md#mainwp_connection_status_before_disconnected_sites_list) - Action: mainwp_connection_status_before_disconnected_sites_list +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title`](site-management/index.md#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](site-management/index.md#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_widget_bottom`](site-management/index.md#mainwp_connection_status_widget_bottom) - Action: mainwp_connection_status_widget_bottom +- [`mainwp_connection_status_widget_footer_left`](site-management/index.md#mainwp_connection_status_widget_footer_left) - Action: mainwp_connection_status_widget_footer_left +- [`mainwp_connection_status_widget_footer_right`](site-management/index.md#mainwp_connection_status_widget_footer_right) - Action: mainwp_connection_status_widget_footer_right +- [`mainwp_connection_status_widget_title`](site-management/index.md#mainwp_connection_status_widget_title) - *Arguments* +- [`mainwp_connection_status_widget_top`](site-management/index.md#mainwp_connection_status_widget_top) - Action: mainwp_connection_status_widget_top +- [`mainwp_cores_after_ignored_updates`](updates-maintenance/index.md#mainwp_cores_after_ignored_updates) - Action: mainwp_cores_after_ignored_updates +- [`mainwp_cores_before_ignored_updates`](updates-maintenance/index.md#mainwp_cores_before_ignored_updates) - Action: mainwp_cores_before_ignored_updates +- [`mainwp_cost_summary_getmetaboxes`](ui-display/index.md#mainwp_cost_summary_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_create_security_nonces`](security-monitoring/index.md#mainwp_create_security_nonces) - Create the security nonces. +- [`mainwp_cron_bulk_update_items_limit`](updates-maintenance/index.md#mainwp_cron_bulk_update_items_limit) - Method handle_cron_batch_updates() +- [`mainwp_cron_bulk_update_items_limit`](updates-maintenance/index.md#mainwp_cron_bulk_update_items_limit) - Method handle_cron_auto_updates() +- [`mainwp_cron_bulk_update_sites_limit`](site-management/index.md#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_batch_updates() +- [`mainwp_cron_bulk_update_sites_limit`](site-management/index.md#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_auto_updates() +- [`mainwp_cron_jobs_list`](content-management/index.md#mainwp_cron_jobs_list) - Action: mainwp_cron_jobs_list +- [`mainwp_cron_jobs_table_features`](ui-display/index.md#mainwp_cron_jobs_table_features) - Filter: mainwp_cron_jobs_table_features +- [`mainwp_cronload_action`](ui-display/index.md#mainwp_cronload_action) - Action: mainwp_cronload_action +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Fetch uptime urls. +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Method fetch_urls_authed() +- [`mainwp_curl_curlopt_resolve`](site-management/index.md#mainwp_curl_curlopt_resolve) - Method fetch_url_site() +- [`mainwp_curl_curlopt_resolve`](ui-display/index.md#mainwp_curl_curlopt_resolve) - Method try visit. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Fetch uptime urls. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method try visit. +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method fetch_urls_authed() +- [`mainwp_curl_http_version`](api-remote/index.md#mainwp_curl_http_version) - Method fetch_url_site() +- [`mainwp_currentuserallowedaccessgroups`](site-management/index.md#mainwp_currentuserallowedaccessgroups) - Filter: mainwp_currentuserallowedaccessgroups +- [`mainwp_currentuserallowedaccesssites`](user-management/index.md#mainwp_currentuserallowedaccesssites) - Filter: mainwp_currentuserallowedaccesssites +- [`mainwp_currentusercan`](user-management/index.md#mainwp_currentusercan) - Method \mainwp_current_user_can() +- [`mainwp_custom_post_types_default`](content-management/index.md#mainwp_custom_post_types_default) - Default post types +- [`mainwp_custom_post_types_get_post_connections`](site-management/index.md#mainwp_custom_post_types_get_post_connections) - Method posts_search_handler() +- [`mainwp_custom_render_bulkpost`](content-management/index.md#mainwp_custom_render_bulkpost) - Renders bulkpost to edit. +- [`mainwp_daily_digest_action`](site-management/index.md#mainwp_daily_digest_action) - Action: mainwp_daily_digest_action +- [`mainwp_daily_digest_content`](content-management/index.md#mainwp_daily_digest_content) - Filter: mainwp_daily_digest_content +- [`mainwp_daily_digest_email_footer`](ui-display/index.md#mainwp_daily_digest_email_footer) - Daily Digest Email Footer +- [`mainwp_daily_digest_email_header`](ui-display/index.md#mainwp_daily_digest_email_header) - Daily Digest Email Header +- [`mainwp_database_updater_supported_plugins`](updates-maintenance/index.md#mainwp_database_updater_supported_plugins) - Method sites_available_updates_count() +- [`mainwp_db_after_update`](updates-maintenance/index.md#mainwp_db_after_update) - Method install() +- [`mainwp_db_fetch_object`](site-management/index.md#mainwp_db_fetch_object) - Method fetch_object(). +- [`mainwp_db_free_result`](site-management/index.md#mainwp_db_free_result) - Method free_result(). +- [`mainwp_db_install_tables`](updates-maintenance/index.md#mainwp_db_install_tables) - Method install() +- [`mainwp_decrypt_key_value`](backups-restoration/index.md#mainwp_decrypt_key_value) - Method decrypt_api_keys +- [`mainwp_default_emails_fields`](ui-display/index.md#mainwp_default_emails_fields) - Get default email notifications values. +- [`mainwp_default_emails_fields`](content-management/index.md#mainwp_default_emails_fields) - Method get_defaults_email_settings_value(). +- [`mainwp_default_settings_indicator`](system-settings/index.md#mainwp_default_settings_indicator) - Method render_not_default_indicator(). +- [`mainwp_default_settings_indicator`](system-settings/index.md#mainwp_default_settings_indicator) - Method render_not_default_email_settings_indicator(). +- [`mainwp_default_template_locate`](site-management/index.md#mainwp_default_template_locate) - Render the email notification edit form. +- [`mainwp_default_template_source_dir`](updates-maintenance/index.md#mainwp_default_template_source_dir) - Locate a template and return the path for inclusion. +- [`mainwp_default_template_source_dir`](ui-display/index.md#mainwp_default_template_source_dir) - Method handle_template_file_action() +- [`mainwp_delete_key_file`](updates-maintenance/index.md#mainwp_delete_key_file) - Method update child api key. +- [`mainwp_delete_key_file`](site-management/index.md#mainwp_delete_key_file) - Method update_compatible_site_api_key +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - *Arguments* +- [`mainwp_delete_site`](site-management/index.md#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_detect_premium_plugins_update`](updates-maintenance/index.md#mainwp_detect_premium_plugins_update) - Filter: mainwp_detect_premium_plugins_update +- [`mainwp_detect_premium_themes_update`](updates-maintenance/index.md#mainwp_detect_premium_themes_update) - Filter: mainwp_detect_premium_themes_update +- [`mainwp_detect_premiums_updates`](updates-maintenance/index.md#mainwp_detect_premiums_updates) - Filter: mainwp_detect_premiums_updates +- [`mainwp_disable_rest_api_access_log`](user-management/index.md#mainwp_disable_rest_api_access_log) - This filter enables the exclusion of the most recent access time from being logged for REST API calls. +- [`mainwp_disablemenuitems`](ui-display/index.md#mainwp_disablemenuitems) - Method init() +- [`mainwp_do_widget_boxes_sorted`](ui-display/index.md#mainwp_do_widget_boxes_sorted) - Method do_widget_boxes() +- [`mainwp_edit_bulkpost_getmetaboxes`](content-management/index.md#mainwp_edit_bulkpost_getmetaboxes) - Init custom bulkpost metaboxes. +- [`mainwp_edit_post_get_categories`](content-management/index.md#mainwp_edit_post_get_categories) - Method ajax_handle_get_categories() +- [`mainwp_edit_posts_after_submit_button`](content-management/index.md#mainwp_edit_posts_after_submit_button) - Action: mainwp_edit_posts_after_submit_button +- [`mainwp_edit_posts_before_submit_button`](content-management/index.md#mainwp_edit_posts_before_submit_button) - Action: mainwp_edit_posts_before_submit_button +- [`mainwp_encrypt_key_value`](backups-restoration/index.md#mainwp_encrypt_key_value) - Method encrypt_api_keys +- [`mainwp_enqueue_script_gridster`](content-management/index.md#mainwp_enqueue_script_gridster) - Method admin_init() +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Edit subscription Post +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Get table rows. +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Method ajax_notes_save() +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Method get_cost_field_value(). +- [`mainwp_escape_content`](content-management/index.md#mainwp_escape_content) - Handles the saving item. +- [`mainwp_extension_card_bottom`](extensions-integration/index.md#mainwp_extension_card_bottom) - Action: mainwp_extension_card_bottom +- [`mainwp_extension_card_top`](extensions-integration/index.md#mainwp_extension_card_top) - Action: mainwp_extension_card_top +- [`mainwp_extension_sites_edit_tablerow`](site-management/index.md#mainwp_extension_sites_edit_tablerow) - Method render_edit_site() +- [`mainwp_extensions_help_item`](extensions-integration/index.md#mainwp_extensions_help_item) - Action: mainwp_extensions_help_item +- [`mainwp_extensions_page_top_header`](content-management/index.md#mainwp_extensions_page_top_header) - Method render_header() +- [`mainwp_extensions_top_header_after_tab`](ui-display/index.md#mainwp_extensions_top_header_after_tab) - Method render_header() +- [`mainwp_favorites_themes`](updates-maintenance/index.md#mainwp_favorites_themes) - Render the Themes table for the Install Themes Tab. +- [`mainwp_fetch_uptime_chunk_size_urls`](security-monitoring/index.md#mainwp_fetch_uptime_chunk_size_urls) - Check uptime monitors. +- [`mainwp_fetch_uptime_chunk_size_urls`](security-monitoring/index.md#mainwp_fetch_uptime_chunk_size_urls) - Fetch uptime urls. +- [`mainwp_fetch_uptime_disable_check_multi_exec`](security-monitoring/index.md#mainwp_fetch_uptime_disable_check_multi_exec) - Apply disable check multi exec. +- [`mainwp_fetch_url_authed`](site-management/index.md#mainwp_fetch_url_authed) - Fires immediately after fetch url action. +- [`mainwp_fetch_urls_chunk_size`](ui-display/index.md#mainwp_fetch_urls_chunk_size) - Method fetch_urls_authed() +- [`mainwp_file_uploader_chunk_size`](updates-maintenance/index.md#mainwp_file_uploader_chunk_size) - Method render_upload() +- [`mainwp_file_uploader_size_limit`](ui-display/index.md#mainwp_file_uploader_size_limit) - Filter: 'mainwp_file_uploader_size_limit' +- [`mainwp_forced_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_forced_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_forced_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_format_email`](ui-display/index.md#mainwp_format_email) - Method format_email() +- [`mainwp_ga_delete_site`](site-management/index.md#mainwp_ga_delete_site) - Action: mainwp_ga_delete_site +- [`mainwp_get_all_pages_data`](content-management/index.md#mainwp_get_all_pages_data) - Get all pages data +- [`mainwp_get_all_posts_data`](content-management/index.md#mainwp_get_all_posts_data) - Get all posts data +- [`mainwp_get_notification_template_name_by_type`](ui-display/index.md#mainwp_get_notification_template_name_by_type) - Get default template name by email/notification type. +- [`mainwp_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_get_plugin_theme_icon`](updates-maintenance/index.md#mainwp_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_get_post_data_authed`](content-management/index.md#mainwp_get_post_data_authed) - Method get_post_data_authed() +- [`mainwp_get_started_widget_bottom`](ui-display/index.md#mainwp_get_started_widget_bottom) - Action: mainwp_get_started_widget_bottom +- [`mainwp_get_started_widget_title`](ui-display/index.md#mainwp_get_started_widget_title) - *Arguments* +- [`mainwp_get_started_widget_top`](ui-display/index.md#mainwp_get_started_widget_top) - Action: mainwp_get_started_widget_top +- [`mainwp_get_template`](ui-display/index.md#mainwp_get_template) - Filter: mainwp_get_template +- [`mainwp_getcustompage_backups`](content-management/index.md#mainwp_getcustompage_backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getextensions`](extensions-integration/index.md#mainwp_getextensions) - Method init_menu() +- [`mainwp_getmetaboxes`](ui-display/index.md#mainwp_getmetaboxes) - Method on_load_page_dashboard() +- [`mainwp_getprimarybackup_activated`](backups-restoration/index.md#mainwp_getprimarybackup_activated) - Method admin_init() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - This filter is documented in ../pages/page-mainwp-server-information-handler.php +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Renders the Backup Site Dialog. +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Render Legacy Backups page. +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Method render_settings() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Method render_individual_settings() +- [`mainwp_getprimarybackup_methods`](backups-restoration/index.md#mainwp_getprimarybackup_methods) - Gets MainWP Set Options. +- [`mainwp_getsubpages_api_backups`](content-management/index.md#mainwp_getsubpages_api_backups) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_backups`](content-management/index.md#mainwp_getsubpages_backups) - Instantiate Legacy Backups Menu. +- [`mainwp_getsubpages_client`](content-management/index.md#mainwp_getsubpages_client) - Method init_menu() +- [`mainwp_getsubpages_cost_tracker`](content-management/index.md#mainwp_getsubpages_cost_tracker) - This hook allows you to add extra sub pages to the client page via the 'mainwp_getsubpages_cost_tracker' filter. +- [`mainwp_getsubpages_page`](content-management/index.md#mainwp_getsubpages_page) - Method init_menu() +- [`mainwp_getsubpages_plugins`](updates-maintenance/index.md#mainwp_getsubpages_plugins) - Instantiate Main Plugins Menu. +- [`mainwp_getsubpages_post`](content-management/index.md#mainwp_getsubpages_post) - Method ini_menu() +- [`mainwp_getsubpages_restapi`](content-management/index.md#mainwp_getsubpages_restapi) - REST API Subpages +- [`mainwp_getsubpages_server`](content-management/index.md#mainwp_getsubpages_server) - Method init_menu() +- [`mainwp_getsubpages_settings`](content-management/index.md#mainwp_getsubpages_settings) - Instantiate the Settings Menu. +- [`mainwp_getsubpages_sites`](content-management/index.md#mainwp_getsubpages_sites) - Initiate menu. +- [`mainwp_getsubpages_tags`](content-management/index.md#mainwp_getsubpages_tags) - This hook allows you to add extra sub pages to the Tags page via the 'mainwp-getsubpages-tags' filter. +- [`mainwp_getsubpages_themes`](updates-maintenance/index.md#mainwp_getsubpages_themes) - Method init_menu() +- [`mainwp_getsubpages_user`](content-management/index.md#mainwp_getsubpages_user) - Method init_menu() +- [`mainwp_getwebsite_by_id`](site-management/index.md#mainwp_getwebsite_by_id) - Get sites by website ID. +- [`mainwp_getwebsiteoptions`](site-management/index.md#mainwp_getwebsiteoptions) - Method get_website_options(). +- [`mainwp_go_back_wpadmin_link`](ui-display/index.md#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_go_back_wpadmin_link`](ui-display/index.md#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_header_actions_after_select_themes`](updates-maintenance/index.md#mainwp_header_actions_after_select_themes) - After select theme actions. +- [`mainwp_header_actions_right`](ui-display/index.md#mainwp_header_actions_right) - Filter: mainwp_header_actions_right +- [`mainwp_header_left`](content-management/index.md#mainwp_header_left) - Filter: mainwp_header_left +- [`mainwp_header_right`](content-management/index.md#mainwp_header_right) - Filter: mainwp_header_right +- [`mainwp_header_title`](content-management/index.md#mainwp_header_title) - Filter: mainwp_header_title +- [`mainwp_help_sidebar_content`](content-management/index.md#mainwp_help_sidebar_content) - Action: mainwp_help_sidebar_content +- [`mainwp_html_regression_largest_change_scope`](site-management/index.md#mainwp_html_regression_largest_change_scope) - Method mainwp_upgrade_plugintheme() +- [`mainwp_html_regression_largest_change_scope`](site-management/index.md#mainwp_html_regression_largest_change_scope) - *Arguments* +- [`mainwp_http_check_email_footer`](security-monitoring/index.md#mainwp_http_check_email_footer) - HTTP Check Email Footer +- [`mainwp_http_check_email_header`](security-monitoring/index.md#mainwp_http_check_email_header) - HTTP Check Email Header +- [`mainwp_import_users_modal_bottom`](user-management/index.md#mainwp_import_users_modal_bottom) - Action: mainwp_import_users_modal_bottom +- [`mainwp_import_users_modal_top`](user-management/index.md#mainwp_import_users_modal_top) - Action: mainwp_import_users_modal_top +- [`mainwp_info_schedules_cron_listing`](content-management/index.md#mainwp_info_schedules_cron_listing) - Renders the Cron Schedule page. +- [`mainwp_init_load_all_options`](system-settings/index.md#mainwp_init_load_all_options) - Method load_all_options() +- [`mainwp_init_primary_menu_items`](ui-display/index.md#mainwp_init_primary_menu_items) - Method init_mainwp_menu_items() +- [`mainwp_insights_getmetaboxes`](ui-display/index.md#mainwp_insights_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_install_plugin_action`](updates-maintenance/index.md#mainwp_install_plugin_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_plugin_card_bottom`](updates-maintenance/index.md#mainwp_install_plugin_card_bottom) - Action: mainwp_install_plugin_card_bottom +- [`mainwp_install_plugin_card_top`](updates-maintenance/index.md#mainwp_install_plugin_card_top) - Action: mainwp_install_plugin_card_top +- [`mainwp_install_plugin_theme_modal_action`](updates-maintenance/index.md#mainwp_install_plugin_theme_modal_action) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_install_plugin_theme_tabs_header_top`](updates-maintenance/index.md#mainwp_install_plugin_theme_tabs_header_top) - Render Install plugins Table. +- [`mainwp_install_plugin_theme_tabs_header_top`](updates-maintenance/index.md#mainwp_install_plugin_theme_tabs_header_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_plugins_actions_bar_left`](updates-maintenance/index.md#mainwp_install_plugins_actions_bar_left) - Install Plugins actions bar (left) +- [`mainwp_install_plugins_actions_bar_right`](updates-maintenance/index.md#mainwp_install_plugins_actions_bar_right) - Install Plugins actions bar (right) +- [`mainwp_install_theme_action`](updates-maintenance/index.md#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](updates-maintenance/index.md#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_card_template_bottom`](updates-maintenance/index.md#mainwp_install_theme_card_template_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_themes_actions_bar_left`](updates-maintenance/index.md#mainwp_install_themes_actions_bar_left) - Install Themes actions bar (left) +- [`mainwp_install_themes_actions_bar_right`](updates-maintenance/index.md#mainwp_install_themes_actions_bar_right) - Install Themes actions bar (right) +- [`mainwp_install_update_actions`](updates-maintenance/index.md#mainwp_install_update_actions) - Fires immediately after install action. +- [`mainwp_installbulk_prepareupload`](updates-maintenance/index.md#mainwp_installbulk_prepareupload) - Prepare upload +- [`mainwp_is_disable_menu_item`](ui-display/index.md#mainwp_is_disable_menu_item) - Method is_disable_menu_item +- [`mainwp_is_enable_schedule_job`](ui-display/index.md#mainwp_is_enable_schedule_job) - Method init_mainwp_cron() +- [`mainwp_is_rest_api_request`](api-remote/index.md#mainwp_is_rest_api_request) - Whether this is a REST API request. +- [`mainwp_license_deactivated_alert_plain_text`](ui-display/index.md#mainwp_license_deactivated_alert_plain_text) - Method cron_deactivated_licenses_alert() +- [`mainwp_licenses_deactivated_alert_email_footer`](security-monitoring/index.md#mainwp_licenses_deactivated_alert_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_licenses_deactivated_alert_email_header`](security-monitoring/index.md#mainwp_licenses_deactivated_alert_email_header) - Site Health Monitoring Email Header +- [`mainwp_limit_updates_all`](updates-maintenance/index.md#mainwp_limit_updates_all) - Limits number of updates to process. +- [`mainwp_limit_updates_all`](updates-maintenance/index.md#mainwp_limit_updates_all) - Filter: mainwp_limit_updates_all +- [`mainwp_load_text_domain`](updates-maintenance/index.md#mainwp_load_text_domain) - Method localization() +- [`mainwp_locate_template`](ui-display/index.md#mainwp_locate_template) - Filer: mainwp_locate_template +- [`mainwp_log_action`](ui-display/index.md#mainwp_log_action) - Schedules a purge of records. +- [`mainwp_log_action`](backups-restoration/index.md#mainwp_log_action) - Debugging log. +- [`mainwp_log_do_to_db`](site-management/index.md#mainwp_log_do_to_db) - Method log_to_db() +- [`mainwp_log_specific`](ui-display/index.md#mainwp_log_specific) - MainWP_Logger constructor. +- [`mainwp_log_specific_actions`](content-management/index.md#mainwp_log_specific_actions) - Renders action logs page. +- [`mainwp_log_status`](ui-display/index.md#mainwp_log_status) - MainWP_Logger constructor. +- [`mainwp_log_system_query`](system-settings/index.md#mainwp_log_system_query) - Method log_system_query +- [`mainwp_log_to_db_data`](ui-display/index.md#mainwp_log_to_db_data) - Method log_to_db() +- [`mainwp_log_to_db_priority`](site-management/index.md#mainwp_log_to_db_priority) - Method log_to_db() +- [`mainwp_logger_keep_days`](security-monitoring/index.md#mainwp_logger_keep_days) - Method check_log_daily() +- [`mainwp_logger_to_db`](site-management/index.md#mainwp_logger_to_db) - Method log() +- [`mainwp_logger_to_db`](content-management/index.md#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_logger_to_db`](content-management/index.md#mainwp_logger_to_db) - Renders action logs page. +- [`mainwp_logs_manage_table_bottom`](ui-display/index.md#mainwp_logs_manage_table_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_manage_table_top`](ui-display/index.md#mainwp_logs_manage_table_top) - Action: mainwp_logs_manage_table_top +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_bottom`](ui-display/index.md#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Actoin: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_top`](ui-display/index.md#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_main_menu`](ui-display/index.md#mainwp_main_menu) - Filter: mainwp_main_menu +- [`mainwp_main_menu_disable_menu_items`](ui-display/index.md#mainwp_main_menu_disable_menu_items) - Filter: mainwp_main_menu_disable_menu_items +- [`mainwp_main_menu_submenu`](ui-display/index.md#mainwp_main_menu_submenu) - Filter: mainwp_main_menu_submenu +- [`mainwp_manage_pages_action_item`](content-management/index.md#mainwp_manage_pages_action_item) - Method pages_search_handler() +- [`mainwp_manage_pages_after_search_options`](content-management/index.md#mainwp_manage_pages_after_search_options) - Action: mainwp_manage_pages_after_search_options +- [`mainwp_manage_pages_after_select_sites`](content-management/index.md#mainwp_manage_pages_after_select_sites) - Action: mainwp_manage_pages_after_select_sites +- [`mainwp_manage_pages_after_submit_button`](content-management/index.md#mainwp_manage_pages_after_submit_button) - Action: mainwp_manage_pages_after_submit_button +- [`mainwp_manage_pages_before_search_options`](content-management/index.md#mainwp_manage_pages_before_search_options) - Action: mainwp_manage_pages_before_search_options +- [`mainwp_manage_pages_before_select_sites`](content-management/index.md#mainwp_manage_pages_before_select_sites) - Action: mainwp_manage_pages_before_select_sites +- [`mainwp_manage_pages_before_submit_button`](content-management/index.md#mainwp_manage_pages_before_submit_button) - Action: mainwp_manage_pages_before_submit_button +- [`mainwp_manage_pages_bulk_action`](content-management/index.md#mainwp_manage_pages_bulk_action) - Renders Bulk Page Manager. +- [`mainwp_manage_pages_sidebar_bottom`](content-management/index.md#mainwp_manage_pages_sidebar_bottom) - Action: mainwp_manage_pages_sidebar_bottom +- [`mainwp_manage_pages_sidebar_top`](content-management/index.md#mainwp_manage_pages_sidebar_top) - Action: mainwp_manage_pages_sidebar_top +- [`mainwp_manage_plugin_theme_hide_show_updates_per`](updates-maintenance/index.md#mainwp_manage_plugin_theme_hide_show_updates_per) - Method render_select_manage_view(). +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Action: mainwp_manage_plugins_after_search_options +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_after_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_after_select_sites) - Action: mainwp_manage_plugins_after_select_sites +- [`mainwp_manage_plugins_after_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_after_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_after_submit_button) - Action: mainwp_manage_plugins_after_submit_button +- [`mainwp_manage_plugins_after_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_after_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Action: mainwp_manage_plugins_before_search_options +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_search_options`](updates-maintenance/index.md#mainwp_manage_plugins_before_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_before_select_sites) - Action: mainwp_manage_plugins_before_select_sites +- [`mainwp_manage_plugins_before_select_sites`](updates-maintenance/index.md#mainwp_manage_plugins_before_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Action: mainwp_manage_plugins_before_submit_button +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](updates-maintenance/index.md#mainwp_manage_plugins_before_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Action: mainwp_manage_plugins_sidebar_bottom +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_bottom) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Action: mainwp_manage_plugins_sidebar_top +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_top`](updates-maintenance/index.md#mainwp_manage_plugins_sidebar_top) - Render Autoupdate SubPage. +- [`mainwp_manage_posts_action_item`](content-management/index.md#mainwp_manage_posts_action_item) - Method posts_search_handler() +- [`mainwp_manage_posts_after_search_options`](content-management/index.md#mainwp_manage_posts_after_search_options) - Action: mainwp_manage_posts_after_search_options +- [`mainwp_manage_posts_after_select_sites`](content-management/index.md#mainwp_manage_posts_after_select_sites) - Action: mainwp_manage_posts_after_select_sites +- [`mainwp_manage_posts_after_submit_button`](content-management/index.md#mainwp_manage_posts_after_submit_button) - Action: mainwp_manage_posts_after_submit_button +- [`mainwp_manage_posts_before_search_options`](content-management/index.md#mainwp_manage_posts_before_search_options) - Action: mainwp_manage_posts_before_search_options +- [`mainwp_manage_posts_before_select_sites`](content-management/index.md#mainwp_manage_posts_before_select_sites) - Action: mainwp_manage_posts_before_select_sites +- [`mainwp_manage_posts_before_submit_button`](content-management/index.md#mainwp_manage_posts_before_submit_button) - Action: mainwp_manage_posts_before_submit_button +- [`mainwp_manage_posts_bulk_action`](content-management/index.md#mainwp_manage_posts_bulk_action) - Method render() +- [`mainwp_manage_posts_sidebar_bottom`](content-management/index.md#mainwp_manage_posts_sidebar_bottom) - Action: mainwp_manage_posts_sidebar_bottom +- [`mainwp_manage_posts_sidebar_top`](content-management/index.md#mainwp_manage_posts_sidebar_top) - Action: mainwp_manage_posts_sidebar_top +- [`mainwp_manage_sites_action`](site-management/index.md#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_action`](site-management/index.md#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_edit`](site-management/index.md#mainwp_manage_sites_edit) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_manage_sites_edit`](site-management/index.md#mainwp_manage_sites_edit) - Edit site +- [`mainwp_manage_sites_email_settings`](site-management/index.md#mainwp_manage_sites_email_settings) - Action: mainwp_manage_sites_email_settings +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method mainwp_testwp() +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method add_site() +- [`mainwp_manage_sites_force_use_ipv4`](site-management/index.md#mainwp_manage_sites_force_use_ipv4) - Method check_site() +- [`mainwp_manage_sites_navigation_items`](site-management/index.md#mainwp_manage_sites_navigation_items) - Method render_managesites_header() +- [`mainwp_manage_sites_optimize_loading`](site-management/index.md#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_manage_sites_optimize_loading`](site-management/index.md#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_table_columns_defs`](site-management/index.md#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Action: mainwp_manage_themes_after_search_options +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_search_options`](updates-maintenance/index.md#mainwp_manage_themes_after_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_after_select_sites) - Action: mainwp_manage_themes_after_select_sites +- [`mainwp_manage_themes_after_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_after_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Action: mainwp_manage_themes_after_submit_button +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_after_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Action: mainwp_manage_themes_before_search_options +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_search_options`](updates-maintenance/index.md#mainwp_manage_themes_before_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_before_select_sites) - Action: mainwp_manage_themes_before_select_sites +- [`mainwp_manage_themes_before_select_sites`](updates-maintenance/index.md#mainwp_manage_themes_before_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Action: mainwp_manage_themes_before_submit_button +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](updates-maintenance/index.md#mainwp_manage_themes_before_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Action: mainwp_manage_themes_sidebar_bottom +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_bottom`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_bottom) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Action: mainwp_manage_themes_sidebar_top +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_top`](updates-maintenance/index.md#mainwp_manage_themes_sidebar_top) - Render the Themes Auto Update Tab. +- [`mainwp_manage_updates_limit_loading`](updates-maintenance/index.md#mainwp_manage_updates_limit_loading) - Method handle_limit_sites(). +- [`mainwp_manage_users_after_search_options`](user-management/index.md#mainwp_manage_users_after_search_options) - Action: mainwp_manage_users_after_search_options +- [`mainwp_manage_users_after_select_sites`](user-management/index.md#mainwp_manage_users_after_select_sites) - Action: mainwp_manage_users_after_select_sites +- [`mainwp_manage_users_after_submit_button`](user-management/index.md#mainwp_manage_users_after_submit_button) - Action: mainwp_manage_users_after_submit_button +- [`mainwp_manage_users_before_search_options`](user-management/index.md#mainwp_manage_users_before_search_options) - Action: mainwp_manage_users_before_search_options +- [`mainwp_manage_users_before_select_sites`](user-management/index.md#mainwp_manage_users_before_select_sites) - Action: mainwp_manage_users_before_select_sites +- [`mainwp_manage_users_before_submit_button`](user-management/index.md#mainwp_manage_users_before_submit_button) - Action: mainwp_manage_users_before_submit_button +- [`mainwp_manage_users_sidebar_bottom`](user-management/index.md#mainwp_manage_users_sidebar_bottom) - Action: mainwp_manage_users_sidebar_bottom +- [`mainwp_manage_users_sidebar_top`](user-management/index.md#mainwp_manage_users_sidebar_top) - Action: mainwp_manage_users_sidebar_top +- [`mainwp_manageclients_bulk_actions`](client-reports/index.md#mainwp_manageclients_bulk_actions) - Filter: mainwp_manageclients_bulk_actions +- [`mainwp_manageclients_tabletop`](client-reports/index.md#mainwp_manageclients_tabletop) - Method render_second_top_header() +- [`mainwp_manageposts_get_post_result`](content-management/index.md#mainwp_manageposts_get_post_result) - Method get_post() +- [`mainwp_managesite_backup`](site-management/index.md#mainwp_managesite_backup) - Method backup() +- [`mainwp_managesite_schedule_backup`](site-management/index.md#mainwp_managesite_schedule_backup) - Execute the backup task. +- [`mainwp_managesites_bulk_actions`](site-management/index.md#mainwp_managesites_bulk_actions) - Filter: mainwp_managesites_bulk_actions +- [`mainwp_managesites_getbackuplink`](site-management/index.md#mainwp_managesites_getbackuplink) - Filter: mainwp_managesites_getbackuplink +- [`mainwp_managesites_tabletop`](site-management/index.md#mainwp_managesites_tabletop) - Action: mainwp_managesites_tabletop +- [`mainwp_menu_extensions_left_menu`](ui-display/index.md#mainwp_menu_extensions_left_menu) - Method init_extensions_menu() +- [`mainwp_menu_logo_alt`](ui-display/index.md#mainwp_menu_logo_alt) - *Arguments* +- [`mainwp_menu_logo_href`](ui-display/index.md#mainwp_menu_logo_href) - *Arguments* +- [`mainwp_menu_logo_src`](ui-display/index.md#mainwp_menu_logo_src) - *Arguments* +- [`mainwp_module_cost_tracker_actions_bar_left`](content-management/index.md#mainwp_module_cost_tracker_actions_bar_left) - Render Actions Bar +- [`mainwp_module_cost_tracker_actions_bar_right`](content-management/index.md#mainwp_module_cost_tracker_actions_bar_right) - Render Actions Bar +- [`mainwp_module_cost_tracker_before_save_settings`](system-settings/index.md#mainwp_module_cost_tracker_before_save_settings) - Settigns Post +- [`mainwp_module_cost_tracker_email_footer`](updates-maintenance/index.md#mainwp_module_cost_tracker_email_footer) - HTTP Check Email Footer +- [`mainwp_module_cost_tracker_email_header`](updates-maintenance/index.md#mainwp_module_cost_tracker_email_header) - HTTP Check Email Header +- [`mainwp_module_cost_tracker_get_total_cost`](updates-maintenance/index.md#mainwp_module_cost_tracker_get_total_cost) - Method render_sites() +- [`mainwp_module_cost_tracker_help_item`](content-management/index.md#mainwp_module_cost_tracker_help_item) - Action: mainwp_module_cost_tracker_help_item +- [`mainwp_module_cost_tracker_manager_check_status`](security-monitoring/index.md#mainwp_module_cost_tracker_manager_check_status) - *Arguments* +- [`mainwp_module_cost_tracker_monthly_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_monthly_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_settings_bottom`](system-settings/index.md#mainwp_module_cost_tracker_settings_bottom) - Render settings content. +- [`mainwp_module_cost_tracker_summary_enabled_widgets`](ui-display/index.md#mainwp_module_cost_tracker_summary_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_cost_tracker_summary_screen_options_bottom`](ui-display/index.md#mainwp_module_cost_tracker_summary_screen_options_bottom) - Action: mainwp_module_cost_tracker_summary_screen_options_bottom +- [`mainwp_module_cost_tracker_summary_screen_options_top`](ui-display/index.md#mainwp_module_cost_tracker_summary_screen_options_top) - Action: mainwp_module_cost_tracker_summary_screen_options_top +- [`mainwp_module_cost_tracker_summary_widgets_screen_options`](ui-display/index.md#mainwp_module_cost_tracker_summary_widgets_screen_options) - Filter: mainwp_module_cost_tracker_summary_widgets_screen_options +- [`mainwp_module_cost_tracker_upcoming_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_upcoming_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_bottom`](ui-display/index.md#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_top`](ui-display/index.md#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_yearly_renewals_widget_title`](ui-display/index.md#mainwp_module_cost_tracker_yearly_renewals_widget_title) - *Arguments* +- [`mainwp_module_dashboard_insights_help_item`](ui-display/index.md#mainwp_module_dashboard_insights_help_item) - Action: mainwp_module_dashboard_insights_help_item +- [`mainwp_module_log_after_connectors_registration`](ui-display/index.md#mainwp_module_log_after_connectors_registration) - Fires after all connectors have been registered. +- [`mainwp_module_log_agent_label`](ui-display/index.md#mainwp_module_log_agent_label) - Filter agent labels +- [`mainwp_module_log_check_connector_is_excluded`](security-monitoring/index.md#mainwp_module_log_check_connector_is_excluded) - Allows excluded connectors to be overridden and registered. +- [`mainwp_module_log_connectors`](ui-display/index.md#mainwp_module_log_connectors) - Allows for adding additional connectors via classes that extend Connector. +- [`mainwp_module_log_cron_tracking`](site-management/index.md#mainwp_module_log_cron_tracking) - Log handler. +- [`mainwp_module_log_current_agent`](ui-display/index.md#mainwp_module_log_current_agent) - Filter the current agent string +- [`mainwp_module_log_data`](site-management/index.md#mainwp_module_log_data) - Log handler +- [`mainwp_module_log_get_role_list_separator`](user-management/index.md#mainwp_module_log_get_role_list_separator) - Tries to find a label for the record's user_role. +- [`mainwp_module_log_overview_enabled_widgets`](ui-display/index.md#mainwp_module_log_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_log_overview_screen_options_bottom`](ui-display/index.md#mainwp_module_log_overview_screen_options_bottom) - Action: mainwp_module_log_overview_screen_options_bottom +- [`mainwp_module_log_overview_screen_options_top`](ui-display/index.md#mainwp_module_log_overview_screen_options_top) - Action: mainwp_module_log_overview_screen_options_top +- [`mainwp_module_log_query_args`](ui-display/index.md#mainwp_module_log_query_args) - Filter allows additional arguments to query $args +- [`mainwp_module_log_record_array`](ui-display/index.md#mainwp_module_log_record_array) - Filter allows modification of record information +- [`mainwp_module_log_record_insert_error`](ui-display/index.md#mainwp_module_log_record_insert_error) - Fires on a record insertion error +- [`mainwp_module_log_record_inserted`](ui-display/index.md#mainwp_module_log_record_inserted) - Fires after a record has been inserted +- [`mainwp_module_log_widgets_screen_options`](ui-display/index.md#mainwp_module_log_widgets_screen_options) - Filter: mainwp_module_log_widgets_screen_options +- [`mainwp_module_monthly_renewals_after_costs_list`](ui-display/index.md#mainwp_module_monthly_renewals_after_costs_list) - Action: mainwp_module_monthly_renewals_after_costs_list +- [`mainwp_module_monthly_renewals_before_costs_list`](ui-display/index.md#mainwp_module_monthly_renewals_before_costs_list) - Action: mainwp_module_monthly_renewals_before_costs_list +- [`mainwp_module_upcoming_renewals_after_costs_list`](ui-display/index.md#mainwp_module_upcoming_renewals_after_costs_list) - Action: mainwp_module_upcoming_renewals_after_costs_list +- [`mainwp_module_upcoming_renewals_before_costs_list`](ui-display/index.md#mainwp_module_upcoming_renewals_before_costs_list) - Action: mainwp_module_upcoming_renewals_before_costs_list +- [`mainwp_module_yearly_renewals_after_costs_list`](ui-display/index.md#mainwp_module_yearly_renewals_after_costs_list) - Action: mainwp_module_yearly_renewals_after_costs_list +- [`mainwp_module_yearly_renewals_before_costs_list`](ui-display/index.md#mainwp_module_yearly_renewals_before_costs_list) - Action: mainwp_module_yearly_renewals_before_costs_list +- [`mainwp_monitoring_sitestable_getcolumns`](security-monitoring/index.md#mainwp_monitoring_sitestable_getcolumns) - Filter: mainwp_monitoring_sitestable_getcolumns +- [`mainwp_monitoring_sitestable_item`](security-monitoring/index.md#mainwp_monitoring_sitestable_item) - Filter: mainwp_monitoring_sitestable_item +- [`mainwp_monitoring_sitestable_prepare_extra_view`](security-monitoring/index.md#mainwp_monitoring_sitestable_prepare_extra_view) - Prepair the items to be listed. +- [`mainwp_monitoring_sitestable_prepared_items`](security-monitoring/index.md#mainwp_monitoring_sitestable_prepared_items) - Action: mainwp_monitoring_sitestable_prepared_items +- [`mainwp_monitoring_table_features`](security-monitoring/index.md#mainwp_monitoring_table_features) - Filter: mainwp_monitoring_table_features +- [`mainwp_monitoringsites_bulk_actions`](site-management/index.md#mainwp_monitoringsites_bulk_actions) - Filter: mainwp_monitoringsites_bulk_actions +- [`mainwp_new_user_password_complexity`](user-management/index.md#mainwp_new_user_password_complexity) - Filter: mainwp_new_user_password_complexity +- [`mainwp_non_mainwp_changes_table_bottom`](ui-display/index.md#mainwp_non_mainwp_changes_table_bottom) - Action: mainwp_non_mainwp_changes_table_bottom +- [`mainwp_non_mainwp_changes_table_top`](ui-display/index.md#mainwp_non_mainwp_changes_table_top) - Action: mainwp_non_mainwp_changes_table_top +- [`mainwp_non_mainwp_changes_widget_bottom`](ui-display/index.md#mainwp_non_mainwp_changes_widget_bottom) - Action: mainwp_non_mainwp_changes_widget_bottom +- [`mainwp_non_mainwp_changes_widget_title`](ui-display/index.md#mainwp_non_mainwp_changes_widget_title) - *Arguments* +- [`mainwp_non_mainwp_changes_widget_top`](ui-display/index.md#mainwp_non_mainwp_changes_widget_top) - Actoin: mainwp_non_mainwp_changes_widget_top +- [`mainwp_notes_widget_bottom`](ui-display/index.md#mainwp_notes_widget_bottom) - Action: mainwp_notes_widget_bottom +- [`mainwp_notes_widget_title`](ui-display/index.md#mainwp_notes_widget_title) - *Arguments* +- [`mainwp_notes_widget_top`](ui-display/index.md#mainwp_notes_widget_top) - Action: mainwp_notes_widget_top +- [`mainwp_notification_template_copy_message`](ui-display/index.md#mainwp_notification_template_copy_message) - Filter mainwp_notification_template_copy_message. +- [`mainwp_notification_type_desc`](ui-display/index.md#mainwp_notification_type_desc) - Get email settings description. +- [`mainwp_notification_types`](ui-display/index.md#mainwp_notification_types) - Get email notification types. +- [`mainwp_open_hide_referrer`](ui-display/index.md#mainwp_open_hide_referrer) - Filter: mainwp_open_hide_referrer +- [`mainwp_open_site_allow_vars`](site-management/index.md#mainwp_open_site_allow_vars) - Child Site Dashboard Link redirect handler. +- [`mainwp_open_site_login_required_params`](site-management/index.md#mainwp_open_site_login_required_params) - Method get_get_data_authed() +- [`mainwp_overview_enabled_widgets`](ui-display/index.md#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_enabled_widgets`](ui-display/index.md#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_help_item`](content-management/index.md#mainwp_overview_help_item) - Action: mainwp_overview_help_item +- [`mainwp_overview_screen_options_bottom`](ui-display/index.md#mainwp_overview_screen_options_bottom) - Action: mainwp_overview_screen_options_bottom +- [`mainwp_overview_screen_options_top`](ui-display/index.md#mainwp_overview_screen_options_top) - Action: mainwp_overview_screen_options_top +- [`mainwp_page_admin_body_class`](content-management/index.md#mainwp_page_admin_body_class) - MainWP Admin body CSS class attributes. +- [`mainwp_page_hearder_tabs_updates`](updates-maintenance/index.md#mainwp_page_hearder_tabs_updates) - Renders header tabs +- [`mainwp_page_navigation`](content-management/index.md#mainwp_page_navigation) - Filter: mainwp_page_navigation +- [`mainwp_page_navigation_menu`](content-management/index.md#mainwp_page_navigation_menu) - Method render_page_navigation() +- [`mainwp_pagefooter_extensions`](content-management/index.md#mainwp_pagefooter_extensions) - Method render_extensions_groups() +- [`mainwp_pagefooter_settings`](content-management/index.md#mainwp_pagefooter_settings) - Render settings +- [`mainwp_pagefooter_settings`](content-management/index.md#mainwp_pagefooter_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - Render Tabs. +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pagefooter_sites`](content-management/index.md#mainwp_pagefooter_sites) - Sites Page Footer +- [`mainwp_pagefooter_tags`](content-management/index.md#mainwp_pagefooter_tags) - Sites Page Footer +- [`mainwp_pageheader_extensions`](content-management/index.md#mainwp_pageheader_extensions) - Method render_extensions_groups() +- [`mainwp_pageheader_settings`](content-management/index.md#mainwp_pageheader_settings) - Render settings +- [`mainwp_pageheader_settings`](content-management/index.md#mainwp_pageheader_settings) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - Render Tabs. +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_pageheader_sites`](content-management/index.md#mainwp_pageheader_sites) - Sites Page header +- [`mainwp_pageheader_tags`](content-management/index.md#mainwp_pageheader_tags) - Sites Page header +- [`mainwp_pages_actions_bar_left`](content-management/index.md#mainwp_pages_actions_bar_left) - Action: mainwp_pages_actions_bar_left +- [`mainwp_pages_actions_bar_right`](content-management/index.md#mainwp_pages_actions_bar_right) - Action: mainwp_pages_actions_bar_right +- [`mainwp_pages_bulk_action`](content-management/index.md#mainwp_pages_bulk_action) - Action: mainwp_pages_bulk_action +- [`mainwp_pages_help_item`](content-management/index.md#mainwp_pages_help_item) - Action: mainwp_pages_help_item +- [`mainwp_pages_posting_popup_actions`](content-management/index.md#mainwp_pages_posting_popup_actions) - Method posting() +- [`mainwp_pages_table_action`](content-management/index.md#mainwp_pages_table_action) - Action: mainwp_pages_table_action +- [`mainwp_pages_table_column`](content-management/index.md#mainwp_pages_table_column) - Action: mainwp_pages_table_column +- [`mainwp_pages_table_fatures`](content-management/index.md#mainwp_pages_table_fatures) - Filter: mainwp_pages_table_fatures +- [`mainwp_pages_table_header`](content-management/index.md#mainwp_pages_table_header) - Action: mainwp_pages_table_header +- [`mainwp_pages_updates_render_tabs`](updates-maintenance/index.md#mainwp_pages_updates_render_tabs) - Renders updates page. +- [`mainwp_perform_install_data`](updates-maintenance/index.md#mainwp_perform_install_data) - Perform insatallation additional data +- [`mainwp_perform_install_data`](updates-maintenance/index.md#mainwp_perform_install_data) - This filter is documented in pages/page-mainwp-install-bulk.php +- [`mainwp_performinstallplugintheme`](updates-maintenance/index.md#mainwp_performinstallplugintheme) - Method mainwp_ext_performinstallplugintheme() +- [`mainwp_plugin_auto_updates_table_fatures`](updates-maintenance/index.md#mainwp_plugin_auto_updates_table_fatures) - Filter: mainwp_plugin_auto_updates_table_fatures +- [`mainwp_plugin_information_sslverify`](updates-maintenance/index.md#mainwp_plugin_information_sslverify) - Sends and receives data to and from the server API. +- [`mainwp_plugin_theme_icon_cache_days`](updates-maintenance/index.md#mainwp_plugin_theme_icon_cache_days) - Gets a plugin|theme icon to output. +- [`mainwp_plugins_actions_bar_left`](updates-maintenance/index.md#mainwp_plugins_actions_bar_left) - Action: mainwp_plugins_actions_bar_left +- [`mainwp_plugins_actions_bar_right`](updates-maintenance/index.md#mainwp_plugins_actions_bar_right) - Action: mainwp_plugins_actions_bar_right +- [`mainwp_plugins_after_auto_updates_table`](updates-maintenance/index.md#mainwp_plugins_after_auto_updates_table) - Action: mainwp_plugins_after_auto_updates_table +- [`mainwp_plugins_after_ignored_abandoned`](updates-maintenance/index.md#mainwp_plugins_after_ignored_abandoned) - Action: mainwp_plugins_after_ignored_abandoned +- [`mainwp_plugins_after_ignored_updates`](updates-maintenance/index.md#mainwp_plugins_after_ignored_updates) - Action: mainwp_plugins_after_ignored_updates +- [`mainwp_plugins_auto_updates_bulk_action`](updates-maintenance/index.md#mainwp_plugins_auto_updates_bulk_action) - Action: mainwp_plugins_auto_updates_bulk_action +- [`mainwp_plugins_before_auto_updates_table`](updates-maintenance/index.md#mainwp_plugins_before_auto_updates_table) - Action: mainwp_plugins_before_auto_updates_table +- [`mainwp_plugins_before_ignored_abandoned`](updates-maintenance/index.md#mainwp_plugins_before_ignored_abandoned) - Action: mainwp_plugins_before_ignored_abandoned +- [`mainwp_plugins_before_ignored_updates`](updates-maintenance/index.md#mainwp_plugins_before_ignored_updates) - Action: mainwp_plugins_before_ignored_updates +- [`mainwp_plugins_bulk_action`](updates-maintenance/index.md#mainwp_plugins_bulk_action) - Action: mainwp_plugins_bulk_action +- [`mainwp_plugins_help_item`](updates-maintenance/index.md#mainwp_plugins_help_item) - Action: mainwp_plugins_help_item +- [`mainwp_plugins_install_checks`](updates-maintenance/index.md#mainwp_plugins_install_checks) - Method get_plugins_install_check() +- [`mainwp_plugins_widget_bottom`](updates-maintenance/index.md#mainwp_plugins_widget_bottom) - Action: mainwp_plugins_widget_bottom +- [`mainwp_plugins_widget_title`](updates-maintenance/index.md#mainwp_plugins_widget_title) - *Arguments* +- [`mainwp_plugins_widget_top`](updates-maintenance/index.md#mainwp_plugins_widget_top) - Action: mainwp_plugins_widget_top +- [`mainwp_post_action`](content-management/index.md#mainwp_post_action) - Fires immediately after post action. +- [`mainwp_post_created`](content-management/index.md#mainwp_post_created) - Method posting_bulk_handler() +- [`mainwp_post_posting_page`](content-management/index.md#mainwp_post_posting_page) - Posting page +- [`mainwp_post_posting_post`](content-management/index.md#mainwp_post_posting_post) - Posting post +- [`mainwp_posting_bulkpost_post_status`](content-management/index.md#mainwp_posting_bulkpost_post_status) - Post status +- [`mainwp_posting_bulkpost_post_status`](content-management/index.md#mainwp_posting_bulkpost_post_status) - Page status +- [`mainwp_posting_post_selected_by`](content-management/index.md#mainwp_posting_post_selected_by) - Method posting_posts() +- [`mainwp_posting_post_selected_sites`](content-management/index.md#mainwp_posting_post_selected_sites) - Method posting_posts() +- [`mainwp_posting_selected_clients`](content-management/index.md#mainwp_posting_selected_clients) - Method posting_posts() +- [`mainwp_posting_selected_groups`](site-management/index.md#mainwp_posting_selected_groups) - Method posting_posts() +- [`mainwp_postprocess_backup_site`](content-management/index.md#mainwp_postprocess_backup_site) - Method backup_site() +- [`mainwp_postprocess_backup_sites_feedback`](site-management/index.md#mainwp_postprocess_backup_sites_feedback) - Method backup_site() +- [`mainwp_posts_actions_bar_left`](content-management/index.md#mainwp_posts_actions_bar_left) - Action: mainwp_posts_actions_bar_left +- [`mainwp_posts_actions_bar_right`](content-management/index.md#mainwp_posts_actions_bar_right) - Action: mainwp_posts_actions_bar_right +- [`mainwp_posts_bulk_action`](content-management/index.md#mainwp_posts_bulk_action) - Action: mainwp_posts_bulk_action +- [`mainwp_posts_help_item`](content-management/index.md#mainwp_posts_help_item) - Action: mainwp_posts_help_item +- [`mainwp_posts_posting_bulk_sites`](content-management/index.md#mainwp_posts_posting_bulk_sites) - Method posting_bulk() +- [`mainwp_posts_posting_popup_actions`](content-management/index.md#mainwp_posts_posting_popup_actions) - Method posting() +- [`mainwp_posts_search_bulk_sites`](content-management/index.md#mainwp_posts_search_bulk_sites) - Method render() +- [`mainwp_posts_table_action`](content-management/index.md#mainwp_posts_table_action) - Action: mainwp_posts_table_action +- [`mainwp_posts_table_column`](content-management/index.md#mainwp_posts_table_column) - Action: mainwp_posts_table_column +- [`mainwp_posts_table_fatures`](content-management/index.md#mainwp_posts_table_fatures) - Filter: mainwp_posts_table_fatures +- [`mainwp_posts_table_header`](content-management/index.md#mainwp_posts_table_header) - Action: mainwp_posts_table_header +- [`mainwp_pre_fetch_authed_data`](site-management/index.md#mainwp_pre_fetch_authed_data) - Method get_post_data_authed() +- [`mainwp_pre_posting_posts`](content-management/index.md#mainwp_pre_posting_posts) - Filter: mainwp_pre_posting_posts +- [`mainwp_prepare_install_download_url`](updates-maintenance/index.md#mainwp_prepare_install_download_url) - Method prepare_install() +- [`mainwp_prepareinstallplugintheme`](updates-maintenance/index.md#mainwp_prepareinstallplugintheme) - Method mainwp_ext_prepareinstallplugintheme() +- [`mainwp_pro_reports_generate_content`](content-management/index.md#mainwp_pro_reports_generate_content) - Filter: mainwp_pro_reports_generate_content +- [`mainwp_pro_reports_get_site_tokens`](site-management/index.md#mainwp_pro_reports_get_site_tokens) - Filter: mainwp_pro_reports_get_site_tokens +- [`mainwp_pro_reports_get_site_tokens`](site-management/index.md#mainwp_pro_reports_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_quick_sites_shortcut`](site-management/index.md#mainwp_quick_sites_shortcut) - Action: mainwp_quick_sites_shortcut +- [`mainwp_recent_pages_after_draft_list`](content-management/index.md#mainwp_recent_pages_after_draft_list) - Action: mainwp_recent_pages_after_draft_list +- [`mainwp_recent_pages_after_future_list`](content-management/index.md#mainwp_recent_pages_after_future_list) - Action: mainwp_recent_pages_after_future_list +- [`mainwp_recent_pages_after_lists`](content-management/index.md#mainwp_recent_pages_after_lists) - Action: mainwp_recent_pages_after_lists +- [`mainwp_recent_pages_after_pending_list`](content-management/index.md#mainwp_recent_pages_after_pending_list) - Action: mainwp_recent_pages_after_pending_list +- [`mainwp_recent_pages_after_publised_list`](content-management/index.md#mainwp_recent_pages_after_publised_list) - Action: mainwp_recent_pages_after_publised_list +- [`mainwp_recent_pages_after_trash_list`](content-management/index.md#mainwp_recent_pages_after_trash_list) - Action: mainwp_recent_pages_after_trash_list +- [`mainwp_recent_pages_before_draft_list`](content-management/index.md#mainwp_recent_pages_before_draft_list) - Action: mainwp_recent_pages_before_draft_list +- [`mainwp_recent_pages_before_future_list`](content-management/index.md#mainwp_recent_pages_before_future_list) - Action: mainwp_recent_pages_before_future_list +- [`mainwp_recent_pages_before_pending_list`](content-management/index.md#mainwp_recent_pages_before_pending_list) - Action: mainwp_recent_pages_before_pending_list +- [`mainwp_recent_pages_before_publised_list`](content-management/index.md#mainwp_recent_pages_before_publised_list) - Action: mainwp_recent_pages_before_publised_list +- [`mainwp_recent_pages_before_trash_list`](content-management/index.md#mainwp_recent_pages_before_trash_list) - Action: mainwp_recent_pages_before_trash_list +- [`mainwp_recent_pages_widget_bottom`](content-management/index.md#mainwp_recent_pages_widget_bottom) - Action: mainwp_recent_pages_widget_bottom +- [`mainwp_recent_pages_widget_title`](content-management/index.md#mainwp_recent_pages_widget_title) - *Arguments* +- [`mainwp_recent_pages_widget_top`](content-management/index.md#mainwp_recent_pages_widget_top) - Action: mainwp_recent_pages_widget_top +- [`mainwp_recent_posts_after_draft_list`](content-management/index.md#mainwp_recent_posts_after_draft_list) - Action: mainwp_recent_posts_after_draft_list +- [`mainwp_recent_posts_after_future_list`](content-management/index.md#mainwp_recent_posts_after_future_list) - Action: mainwp_recent_posts_after_future_list +- [`mainwp_recent_posts_after_lists`](content-management/index.md#mainwp_recent_posts_after_lists) - Action: mainwp_recent_posts_after_lists +- [`mainwp_recent_posts_after_pending_list`](content-management/index.md#mainwp_recent_posts_after_pending_list) - Action: mainwp_recent_posts_after_pending_list +- [`mainwp_recent_posts_after_publised_list`](content-management/index.md#mainwp_recent_posts_after_publised_list) - Action: mainwp_recent_posts_after_publised_list +- [`mainwp_recent_posts_after_trash_list`](content-management/index.md#mainwp_recent_posts_after_trash_list) - Action: mainwp_recent_posts_after_trash_list +- [`mainwp_recent_posts_before_draft_list`](content-management/index.md#mainwp_recent_posts_before_draft_list) - Action: mainwp_recent_posts_before_draft_list +- [`mainwp_recent_posts_before_future_list`](content-management/index.md#mainwp_recent_posts_before_future_list) - Action: mainwp_recent_posts_before_future_list +- [`mainwp_recent_posts_before_pending_list`](content-management/index.md#mainwp_recent_posts_before_pending_list) - Action: mainwp_recent_posts_before_pending_list +- [`mainwp_recent_posts_before_publised_list`](content-management/index.md#mainwp_recent_posts_before_publised_list) - Action: mainwp_recent_posts_before_publised_list +- [`mainwp_recent_posts_before_trash_list`](content-management/index.md#mainwp_recent_posts_before_trash_list) - Action: mainwp_recent_posts_before_trash_list +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - This filter is documented in ../widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - Sets number of recent posts & pages +- [`mainwp_recent_posts_pages_number`](content-management/index.md#mainwp_recent_posts_pages_number) - This filter is documented in /widgets/widget-mainwp-recent-posts.php +- [`mainwp_recent_posts_widget_bottom`](content-management/index.md#mainwp_recent_posts_widget_bottom) - Action: mainwp_recent_posts_widget_bottom +- [`mainwp_recent_posts_widget_title`](content-management/index.md#mainwp_recent_posts_widget_title) - *Arguments* +- [`mainwp_recent_posts_widget_top`](content-management/index.md#mainwp_recent_posts_widget_top) - Action: mainwp_recent_posts_widget_top +- [`mainwp_register_post_type`](content-management/index.md#mainwp_register_post_type) - Method create_post_type() +- [`mainwp_register_regular_sequence_process`](ui-display/index.md#mainwp_register_regular_sequence_process) - Method perform_sequence_process +- [`mainwp_remote_destination_info`](api-remote/index.md#mainwp_remote_destination_info) - Method mainwp_backup_upload_checkstatus() +- [`mainwp_removed_extension_menu`](ui-display/index.md#mainwp_removed_extension_menu) - Remove Extensions menu from MainWP Menu. +- [`mainwp_request_update_premium_plugins`](updates-maintenance/index.md#mainwp_request_update_premium_plugins) - Filter: mainwp_request_update_premium_plugins +- [`mainwp_request_update_premium_themes`](updates-maintenance/index.md#mainwp_request_update_premium_themes) - Filter: mainwp_request_update_premium_themes +- [`mainwp_reset_admin_pass_modal_bottom`](ui-display/index.md#mainwp_reset_admin_pass_modal_bottom) - Action: mainwp_reset_admin_pass_modal_bottom +- [`mainwp_reset_admin_pass_modal_top`](ui-display/index.md#mainwp_reset_admin_pass_modal_top) - Action: mainwp_reset_admin_pass_modal_top +- [`mainwp_rest_api_disabled`](api-remote/index.md#mainwp_rest_api_disabled) - Method is_rest_api_enabled() +- [`mainwp_rest_api_enabled`](api-remote/index.md#mainwp_rest_api_enabled) - Method init_rest_api() +- [`mainwp_rest_api_get_rest_namespaces`](api-remote/index.md#mainwp_rest_api_get_rest_namespaces) - Get API namespaces - new namespaces should be registered here. +- [`mainwp_rest_api_help_item`](api-remote/index.md#mainwp_rest_api_help_item) - Action: mainwp_rest_api_help_item +- [`mainwp_rest_api_v2_enabled`](api-remote/index.md#mainwp_rest_api_v2_enabled) - Hook into WordPress ready to init the REST API as needed. +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_all_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_client_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_site_costs_callback() +- [`mainwp_rest_api_validate`](api-remote/index.md#mainwp_rest_api_validate) - Method cost_tracker_rest_api_get_costs_callback() +- [`mainwp_rest_batch_items_limit`](api-remote/index.md#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_batch_items_limit`](api-remote/index.md#mainwp_rest_batch_items_limit) - Check batch limit. +- [`mainwp_rest_collection_params`](api-remote/index.md#mainwp_rest_collection_params) - Filter collection parameters for the controller. +- [`mainwp_rest_cost_collection_params`](api-remote/index.md#mainwp_rest_cost_collection_params) - Filter collection parameters. +- [`mainwp_rest_is_request_to_rest_api`](api-remote/index.md#mainwp_rest_is_request_to_rest_api) - Check if is request to our REST API. +- [`mainwp_rest_pre_insert_site_item`](site-management/index.md#mainwp_rest_pre_insert_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_pre_update_site_item`](site-management/index.md#mainwp_rest_pre_update_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_prepare_cost`](api-remote/index.md#mainwp_rest_prepare_cost) - Filter product reviews object returned from the REST API. +- [`mainwp_rest_prepare_site`](api-remote/index.md#mainwp_rest_prepare_site) - Filterobject returned from the REST API. +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](client-reports/index.md#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get client by tag id. +- [`mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context`](client-reports/index.md#mainwp_rest_routes_clients_controller_filter_allowed_fields_by_context) - Get clients by item. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by tag id. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Update all items of site. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites of client. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by item. +- [`mainwp_rest_routes_sites_controller_get_allowed_fields_by_context`](site-management/index.md#mainwp_rest_routes_sites_controller_get_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_{$type}_object_query`](api-remote/index.md#mainwp_rest_type_object_query) - Filter the query arguments for a request. +- [`mainwp_save_bulkpage`](content-management/index.md#mainwp_save_bulkpage) - Action: mainwp_save_bulkpage +- [`mainwp_save_bulkpost`](content-management/index.md#mainwp_save_bulkpost) - Action: mainwp_save_bulkpost +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_bottom`](ui-display/index.md#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_top`](ui-display/index.md#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_pulse_control`](ui-display/index.md#mainwp_screen_options_pulse_control) - Method render_header_actions() +- [`mainwp_secure_request`](security-monitoring/index.md#mainwp_secure_request) - Method security_nonce(). +- [`mainwp_secure_request`](security-monitoring/index.md#mainwp_secure_request) - Method admin_init() +- [`mainwp_security_issues_list_item_column`](security-monitoring/index.md#mainwp_security_issues_list_item_column) - Action: mainwp_security_issues_list_item_column +- [`mainwp_security_issues_list_item_title`](security-monitoring/index.md#mainwp_security_issues_list_item_title) - *Arguments* +- [`mainwp_security_issues_list_item_title_url`](security-monitoring/index.md#mainwp_security_issues_list_item_title_url) - *Arguments* +- [`mainwp_security_issues_stats`](security-monitoring/index.md#mainwp_security_issues_stats) - This filter is documented in ../pages/page-mainwp-security-issues.php +- [`mainwp_security_issues_stats`](security-monitoring/index.md#mainwp_security_issues_stats) - Filters security issues +- [`mainwp_security_issues_widget_bottom`](security-monitoring/index.md#mainwp_security_issues_widget_bottom) - Action: mainwp_security_issues_widget_bottom +- [`mainwp_security_issues_widget_title`](security-monitoring/index.md#mainwp_security_issues_widget_title) - *Arguments* +- [`mainwp_security_issues_widget_top`](security-monitoring/index.md#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_widget_top`](security-monitoring/index.md#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_nonces`](security-monitoring/index.md#mainwp_security_nonces) - Method admin_init() +- [`mainwp_security_post_data`](content-management/index.md#mainwp_security_post_data) - Filters security issues from fixing +- [`mainwp_securityissues_sites`](security-monitoring/index.md#mainwp_securityissues_sites) - Action: mainwp_securityissues_sites +- [`mainwp_select_sites_box`](site-management/index.md#mainwp_select_sites_box) - Render settings +- [`mainwp_select_themes_modal_bottom`](updates-maintenance/index.md#mainwp_select_themes_modal_bottom) - Action: mainwp_select_themes_modal_bottom +- [`mainwp_select_themes_modal_top`](updates-maintenance/index.md#mainwp_select_themes_modal_top) - Action: mainwp_select_themes_modal_top +- [`mainwp_send_mail_from_header`](content-management/index.md#mainwp_send_mail_from_header) - Method send_wp_mail(). +- [`mainwp_settings_email_settings`](system-settings/index.md#mainwp_settings_email_settings) - Action: mainwp_settings_email_settings +- [`mainwp_settings_form_bottom`](system-settings/index.md#mainwp_settings_form_bottom) - Action: mainwp_settings_form_bottom +- [`mainwp_settings_form_top`](system-settings/index.md#mainwp_settings_form_top) - Action: mainwp_settings_form_top +- [`mainwp_settings_help_item`](system-settings/index.md#mainwp_settings_help_item) - Action: mainwp_settings_help_item +- [`mainwp_show_all_updates_button_text`](updates-maintenance/index.md#mainwp_show_all_updates_button_text) - *Arguments* +- [`mainwp_show_qsw`](content-management/index.md#mainwp_show_qsw) - Render MainWP Tools SubPage. +- [`mainwp_sidbar_pages`](content-management/index.md#mainwp_sidbar_pages) - Method render_header_actions() +- [`mainwp_sidbar_pages`](content-management/index.md#mainwp_sidbar_pages) - Method render_screen_options() +- [`mainwp_sidebar_pages`](content-management/index.md#mainwp_sidebar_pages) - Method render_header_actions() +- [`mainwp_sidebar_pages`](content-management/index.md#mainwp_sidebar_pages) - Method render_screen_options() +- [`mainwp_site_actions_saved_days_number`](site-management/index.md#mainwp_site_actions_saved_days_number) - Method sync_site() +- [`mainwp_site_added`](site-management/index.md#mainwp_site_added) - Fires immediately after a new website is added. +- [`mainwp_site_deleted`](site-management/index.md#mainwp_site_deleted) - *Arguments* +- [`mainwp_site_health_monitoring_email_footer`](site-management/index.md#mainwp_site_health_monitoring_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_site_health_monitoring_email_header`](site-management/index.md#mainwp_site_health_monitoring_email_header) - Site Health Monitoring Email Header +- [`mainwp_site_info_table_bottom`](site-management/index.md#mainwp_site_info_table_bottom) - Action: mainwp_site_info_table_bottom +- [`mainwp_site_info_table_top`](site-management/index.md#mainwp_site_info_table_top) - Action: mainwp_site_info_table_top +- [`mainwp_site_info_widget_bottom`](site-management/index.md#mainwp_site_info_widget_bottom) - Action: mainwp_site_info_widget_bottom +- [`mainwp_site_info_widget_title`](site-management/index.md#mainwp_site_info_widget_title) - *Arguments* +- [`mainwp_site_info_widget_top`](site-management/index.md#mainwp_site_info_widget_top) - Actoin: mainwp_site_info_widget_top +- [`mainwp_site_reconnected`](site-management/index.md#mainwp_site_reconnected) - Fires immediately after reconnect website. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](site-management/index.md#mainwp_site_suspended) - Site suspended changed. +- [`mainwp_site_sync`](site-management/index.md#mainwp_site_sync) - Action: mainwp_site_sync +- [`mainwp_site_synced`](site-management/index.md#mainwp_site_synced) - Action: mainwp_site_synced +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a tag has been deleted. +- [`mainwp_site_tag_action`](site-management/index.md#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_site_updated`](site-management/index.md#mainwp_site_updated) - Update site +- [`mainwp_sites_table_features`](site-management/index.md#mainwp_sites_table_features) - Filter: mainwp_sites_table_features +- [`mainwp_sitestable_display_row_columns`](ui-display/index.md#mainwp_sitestable_display_row_columns) - Get table rows. +- [`mainwp_sitestable_getcolumns`](ui-display/index.md#mainwp_sitestable_getcolumns) - Filter: mainwp_sitestable_getcolumns +- [`mainwp_sitestable_item`](ui-display/index.md#mainwp_sitestable_item) - Filter: mainwp_sitestable_item +- [`mainwp_sitestable_prepare_extra_view`](ui-display/index.md#mainwp_sitestable_prepare_extra_view) - Prepare the items to be listed. +- [`mainwp_sitestable_prepared_items`](ui-display/index.md#mainwp_sitestable_prepared_items) - Action: mainwp_sitestable_prepared_items +- [`mainwp_sitestable_render_column`](ui-display/index.md#mainwp_sitestable_render_column) - Columns for a single row. +- [`mainwp_sitestable_website`](site-management/index.md#mainwp_sitestable_website) - Get table rows. +- [`mainwp_sitestable_website`](site-management/index.md#mainwp_sitestable_website) - Columns for a single row. +- [`mainwp_specific_action_logs`](content-management/index.md#mainwp_specific_action_logs) - Renders action logs page. +- [`mainwp_staging_current_user_sites_view`](site-management/index.md#mainwp_staging_current_user_sites_view) - Method get_select_staging_view_sites() +- [`mainwp_stats_scan_dir`](security-monitoring/index.md#mainwp_stats_scan_dir) - Method get_post_data_authed() +- [`mainwp_sub_leftmenu_updates`](updates-maintenance/index.md#mainwp_sub_leftmenu_updates) - Initiates Updates menu. +- [`mainwp_subheader_actions`](ui-display/index.md#mainwp_subheader_actions) - Action: mainwp_subheader_actions +- [`mainwp_subpages_left_menu`](content-management/index.md#mainwp_subpages_left_menu) - Method init_subpages_left_menu +- [`mainwp_sucuriscan_sites`](security-monitoring/index.md#mainwp_sucuriscan_sites) - Action: mainwp_sucuriscan_sites +- [`mainwp_sync_extensions_options`](site-management/index.md#mainwp_sync_extensions_options) - Method render_sync_exts_settings() +- [`mainwp_sync_others_data`](site-management/index.md#mainwp_sync_others_data) - Filter: mainwp_sync_others_data +- [`mainwp_sync_popup_content`](site-management/index.md#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_popup_content`](site-management/index.md#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_site_after_sync_result`](site-management/index.md#mainwp_sync_site_after_sync_result) - Method sync_information_array() +- [`mainwp_sync_site_log_install_actions`](site-management/index.md#mainwp_sync_site_log_install_actions) - Method sync_log_site_actions(). +- [`mainwp_synced_all_sites`](site-management/index.md#mainwp_synced_all_sites) - Method cron_updates_check() +- [`mainwp_synced_all_sites`](site-management/index.md#mainwp_synced_all_sites) - Action: mainwp_synced_all_sites +- [`mainwp_system_init`](system-settings/index.md#mainwp_system_init) - MainWP_System constructor. +- [`mainwp_tags_help_item`](site-management/index.md#mainwp_tags_help_item) - Action: mainwp_tags_help_item +- [`mainwp_text_format_email`](ui-display/index.md#mainwp_text_format_email) - Filter: mainwp_text_format_email +- [`mainwp_theme_auto_updates_table_fatures`](updates-maintenance/index.md#mainwp_theme_auto_updates_table_fatures) - Filter: mainwp_theme_auto_updates_table_fatures +- [`mainwp_themes_actions_bar_left`](updates-maintenance/index.md#mainwp_themes_actions_bar_left) - Action: mainwp_themes_actions_bar_left +- [`mainwp_themes_actions_bar_right`](updates-maintenance/index.md#mainwp_themes_actions_bar_right) - Action: mainwp_themes_actions_bar_right +- [`mainwp_themes_after_auto_updates_table`](updates-maintenance/index.md#mainwp_themes_after_auto_updates_table) - Action: mainwp_themes_after_auto_updates_table +- [`mainwp_themes_after_ignored_abandoned`](updates-maintenance/index.md#mainwp_themes_after_ignored_abandoned) - Action: mainwp_themes_after_ignored_abandoned +- [`mainwp_themes_after_ignored_updates`](updates-maintenance/index.md#mainwp_themes_after_ignored_updates) - Action: mainwp_themes_after_ignored_updates +- [`mainwp_themes_auto_updates_bulk_action`](updates-maintenance/index.md#mainwp_themes_auto_updates_bulk_action) - Action: mainwp_themes_auto_updates_bulk_action +- [`mainwp_themes_before_auto_updates_table`](updates-maintenance/index.md#mainwp_themes_before_auto_updates_table) - Action: mainwp_themes_before_auto_updates_table +- [`mainwp_themes_before_ignored_abandoned`](updates-maintenance/index.md#mainwp_themes_before_ignored_abandoned) - Action: mainwp_themes_before_ignored_abandoned +- [`mainwp_themes_before_ignored_updates`](updates-maintenance/index.md#mainwp_themes_before_ignored_updates) - Action: mainwp_themes_before_ignored_updates +- [`mainwp_themes_bulk_action`](updates-maintenance/index.md#mainwp_themes_bulk_action) - Action: mainwp_themes_bulk_action +- [`mainwp_themes_help_item`](updates-maintenance/index.md#mainwp_themes_help_item) - Action: mainwp_themes_help_item +- [`mainwp_themes_widget_bottom`](updates-maintenance/index.md#mainwp_themes_widget_bottom) - Action: mainwp_themes_widget_bottom +- [`mainwp_themes_widget_title`](updates-maintenance/index.md#mainwp_themes_widget_title) - *Arguments* +- [`mainwp_themes_widget_top`](updates-maintenance/index.md#mainwp_themes_widget_top) - Action: mainwp_themes_widget_top +- [`mainwp_tools_form_bottom`](content-management/index.md#mainwp_tools_form_bottom) - Action: mainwp_tools_form_bottom +- [`mainwp_tools_form_top`](content-management/index.md#mainwp_tools_form_top) - Action: mainwp_tools_form_top +- [`mainwp_top_bulkpost_edit_content`](content-management/index.md#mainwp_top_bulkpost_edit_content) - Renders bulkpost to edit. +- [`mainwp_try_visit_follow_location`](ui-display/index.md#mainwp_try_visit_follow_location) - Method try visit. +- [`mainwp_ui_use_wp_calendar`](ui-display/index.md#mainwp_ui_use_wp_calendar) - Filter: mainwp_ui_use_wp_calendar +- [`mainwp_unset_security_scripts_stylesheets`](security-monitoring/index.md#mainwp_unset_security_scripts_stylesheets) - Method Fix Security Issues +- [`mainwp_update_admin_password_complexity`](updates-maintenance/index.md#mainwp_update_admin_password_complexity) - Filter: mainwp_update_admin_password_complexity +- [`mainwp_update_backuptask`](updates-maintenance/index.md#mainwp_update_backuptask) - Update backup task. +- [`mainwp_update_cached_icons`](updates-maintenance/index.md#mainwp_update_cached_icons) - Method update_cached_icons(). +- [`mainwp_update_everything_button_text`](updates-maintenance/index.md#mainwp_update_everything_button_text) - *Arguments* +- [`mainwp_update_plugintheme_max`](updates-maintenance/index.md#mainwp_update_plugintheme_max) - Filter: mainwp_update_plugintheme_max +- [`mainwp_update_site`](updates-maintenance/index.md#mainwp_update_site) - Update site +- [`mainwp_update_uptime_monitor_data`](updates-maintenance/index.md#mainwp_update_uptime_monitor_data) - Method update_uptime_global_settings +- [`mainwp_updated_site`](updates-maintenance/index.md#mainwp_updated_site) - Action: mainwp_updated_site +- [`mainwp_updates_abandoned_plugins_sort_by`](updates-maintenance/index.md#mainwp_updates_abandoned_plugins_sort_by) - Filter: mainwp_updates_abandoned_plugins_sort_by +- [`mainwp_updates_abandoned_themes_sort_by`](updates-maintenance/index.md#mainwp_updates_abandoned_themes_sort_by) - Filter: mainwp_updates_abandoned_themes_sort_by +- [`mainwp_updates_after_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_after_abandoned_plugins) - Action: mainwp_updates_after_abandoned_plugins +- [`mainwp_updates_after_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_after_abandoned_themes) - Action: mainwp_updates_after_abandoned_themes +- [`mainwp_updates_after_actions_bar`](updates-maintenance/index.md#mainwp_updates_after_actions_bar) - Action: mainwp_updates_after_actions_bar +- [`mainwp_updates_after_nav_tabs`](updates-maintenance/index.md#mainwp_updates_after_nav_tabs) - Action: mainwp_updates_after_nav_tabs +- [`mainwp_updates_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_after_plugin_updates) - Action: mainwp_updates_after_plugin_updates +- [`mainwp_updates_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_after_theme_updates) - Action: mainwp_updates_after_theme_updates +- [`mainwp_updates_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_after_translation_updates) - Action: mainwp_updates_after_translation_updates +- [`mainwp_updates_after_wp_updates`](updates-maintenance/index.md#mainwp_updates_after_wp_updates) - Action: mainwp_updates_after_wp_updates +- [`mainwp_updates_before_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_before_abandoned_plugins) - Action: mainwp_updates_before_abandoned_plugins +- [`mainwp_updates_before_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_before_abandoned_themes) - Action: mainwp_updates_before_abandoned_themes +- [`mainwp_updates_before_actions_bar`](updates-maintenance/index.md#mainwp_updates_before_actions_bar) - Action: mainwp_updates_before_actions_bar +- [`mainwp_updates_before_nav_tabs`](updates-maintenance/index.md#mainwp_updates_before_nav_tabs) - Action: mainwp_updates_before_nav_tabs +- [`mainwp_updates_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_before_plugin_updates) - Action: mainwp_updates_before_plugin_updates +- [`mainwp_updates_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_before_theme_updates) - Action: mainwp_updates_before_theme_updates +- [`mainwp_updates_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_before_translation_updates) - Action: mainwp_updates_before_translation_updates +- [`mainwp_updates_before_wp_updates`](updates-maintenance/index.md#mainwp_updates_before_wp_updates) - Action: mainwp_updates_before_wp_updates +- [`mainwp_updates_help_item`](updates-maintenance/index.md#mainwp_updates_help_item) - Action: mainwp_updates_help_item +- [`mainwp_updates_hide_show_updates_per`](updates-maintenance/index.md#mainwp_updates_hide_show_updates_per) - Renders header tabs +- [`mainwp_updates_overview_after_abandoned_plugins_themes`](updates-maintenance/index.md#mainwp_updates_overview_after_abandoned_plugins_themes) - Action: mainwp_updates_overview_after_abandoned_plugins_themes +- [`mainwp_updates_overview_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_plugin_updates) - Action: mainwp_updates_overview_after_plugin_updates +- [`mainwp_updates_overview_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_theme_updates) - Action: mainwp_updates_overview_after_theme_updates +- [`mainwp_updates_overview_after_total_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_total_updates) - Action: mainwp_updates_overview_after_total_updates +- [`mainwp_updates_overview_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_translation_updates) - Action: mainwp_updates_overview_after_translation_updates +- [`mainwp_updates_overview_after_update_details`](updates-maintenance/index.md#mainwp_updates_overview_after_update_details) - Action: mainwp_updates_overview_after_update_details +- [`mainwp_updates_overview_after_wordpress_updates`](updates-maintenance/index.md#mainwp_updates_overview_after_wordpress_updates) - Action: mainwp_updates_overview_after_wordpress_updates +- [`mainwp_updates_overview_before_abandoned_plugins_themes`](updates-maintenance/index.md#mainwp_updates_overview_before_abandoned_plugins_themes) - Action: mainwp_updates_overview_before_abandoned_plugins_themes +- [`mainwp_updates_overview_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_plugin_updates) - Action: mainwp_updates_overview_before_plugin_updates +- [`mainwp_updates_overview_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_theme_updates) - Action: mainwp_updates_overview_before_theme_updates +- [`mainwp_updates_overview_before_total_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_total_updates) - Action: mainwp_updates_overview_before_total_updates +- [`mainwp_updates_overview_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_translation_updates) - Action: mainwp_updates_overview_before_translation_updates +- [`mainwp_updates_overview_before_update_details`](updates-maintenance/index.md#mainwp_updates_overview_before_update_details) - Action: mainwp_updates_overview_before_update_details +- [`mainwp_updates_overview_before_wordpress_updates`](updates-maintenance/index.md#mainwp_updates_overview_before_wordpress_updates) - Action: mainwp_updates_overview_before_wordpress_updates +- [`mainwp_updates_overview_widget_title`](updates-maintenance/index.md#mainwp_updates_overview_widget_title) - *Arguments* +- [`mainwp_updates_pergroup_after_abandoned_plugins`](site-management/index.md#mainwp_updates_pergroup_after_abandoned_plugins) - Action: mainwp_updates_pergroup_after_abandoned_plugins +- [`mainwp_updates_pergroup_after_abandoned_themes`](site-management/index.md#mainwp_updates_pergroup_after_abandoned_themes) - Action: mainwp_updates_pergroup_after_abandoned_themes +- [`mainwp_updates_pergroup_after_plugin_updates`](site-management/index.md#mainwp_updates_pergroup_after_plugin_updates) - Action: mainwp_updates_pergroup_after_plugin_updates +- [`mainwp_updates_pergroup_after_theme_updates`](site-management/index.md#mainwp_updates_pergroup_after_theme_updates) - Action: mainwp_updates_pergroup_after_theme_updates +- [`mainwp_updates_pergroup_after_translation_updates`](site-management/index.md#mainwp_updates_pergroup_after_translation_updates) - Action: mainwp_updates_pergroup_after_translation_updates +- [`mainwp_updates_pergroup_after_wp_updates`](site-management/index.md#mainwp_updates_pergroup_after_wp_updates) - Action: mainwp_updates_pergroup_after_wp_updates +- [`mainwp_updates_pergroup_before_abandoned_plugins`](site-management/index.md#mainwp_updates_pergroup_before_abandoned_plugins) - Action: mainwp_updates_pergroup_before_abandoned_plugins +- [`mainwp_updates_pergroup_before_abandoned_themes`](site-management/index.md#mainwp_updates_pergroup_before_abandoned_themes) - Action: mainwp_updates_pergroup_before_abandoned_themes +- [`mainwp_updates_pergroup_before_plugin_updates`](site-management/index.md#mainwp_updates_pergroup_before_plugin_updates) - Action: mainwp_updates_pergroup_before_plugin_updates +- [`mainwp_updates_pergroup_before_theme_updates`](site-management/index.md#mainwp_updates_pergroup_before_theme_updates) - Action: mainwp_updates_pergroup_before_theme_updates +- [`mainwp_updates_pergroup_before_translation_updates`](site-management/index.md#mainwp_updates_pergroup_before_translation_updates) - Action: mainwp_updates_pergroup_before_translation_updates +- [`mainwp_updates_pergroup_before_wp_updates`](site-management/index.md#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_pergroup_before_wp_updates +- [`mainwp_updates_pergroup_before_wp_updates`](site-management/index.md#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_persite_before_wp_updates +- [`mainwp_updates_perplugin_after_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_perplugin_after_abandoned_plugins) - Action: mainwp_updates_perplugin_after_abandoned_plugins +- [`mainwp_updates_perplugin_after_plugin_updates`](updates-maintenance/index.md#mainwp_updates_perplugin_after_plugin_updates) - Action: mainwp_updates_perplugin_after_plugin_updates +- [`mainwp_updates_perplugin_before_abandoned_plugins`](updates-maintenance/index.md#mainwp_updates_perplugin_before_abandoned_plugins) - Action: mainwp_updates_perplugin_before_abandoned_plugins +- [`mainwp_updates_perplugin_before_plugin_updates`](updates-maintenance/index.md#mainwp_updates_perplugin_before_plugin_updates) - Action: mainwp_updates_perplugin_before_plugin_updates +- [`mainwp_updates_persite_after_abandoned_plugins`](site-management/index.md#mainwp_updates_persite_after_abandoned_plugins) - Action: mainwp_updates_persite_after_abandoned_plugins +- [`mainwp_updates_persite_after_abandoned_themes`](site-management/index.md#mainwp_updates_persite_after_abandoned_themes) - Action: mainwp_updates_persite_after_abandoned_themes +- [`mainwp_updates_persite_after_plugin_updates`](site-management/index.md#mainwp_updates_persite_after_plugin_updates) - Action: mainwp_updates_persite_after_plugin_updates +- [`mainwp_updates_persite_after_theme_updates`](site-management/index.md#mainwp_updates_persite_after_theme_updates) - Action: mainwp_updates_persite_after_theme_updates +- [`mainwp_updates_persite_after_translation_updates`](site-management/index.md#mainwp_updates_persite_after_translation_updates) - Action: mainwp_updates_persite_after_translation_updates +- [`mainwp_updates_persite_after_wp_updates`](site-management/index.md#mainwp_updates_persite_after_wp_updates) - Action: mainwp_updates_persite_after_wp_updates +- [`mainwp_updates_persite_before_abandoned_plugins`](site-management/index.md#mainwp_updates_persite_before_abandoned_plugins) - Action: mainwp_updates_persite_before_abandoned_plugins +- [`mainwp_updates_persite_before_abandoned_themes`](site-management/index.md#mainwp_updates_persite_before_abandoned_themes) - Action: mainwp_updates_persite_before_abandoned_themes +- [`mainwp_updates_persite_before_plugin_updates`](site-management/index.md#mainwp_updates_persite_before_plugin_updates) - Action: mainwp_updates_persite_before_plugin_updates +- [`mainwp_updates_persite_before_theme_updates`](site-management/index.md#mainwp_updates_persite_before_theme_updates) - Action: mainwp_updates_persite_before_theme_updates +- [`mainwp_updates_persite_before_translation_updates`](site-management/index.md#mainwp_updates_persite_before_translation_updates) - Action: mainwp_updates_persite_before_translation_updates +- [`mainwp_updates_pertheme_after_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_pertheme_after_abandoned_themes) - Action: mainwp_updates_pertheme_after_abandoned_themes +- [`mainwp_updates_pertheme_after_theme_updates`](updates-maintenance/index.md#mainwp_updates_pertheme_after_theme_updates) - Action: mainwp_updates_pertheme_after_theme_updates +- [`mainwp_updates_pertheme_before_abandoned_themes`](updates-maintenance/index.md#mainwp_updates_pertheme_before_abandoned_themes) - Action: mainwp_updates_pertheme_before_abandoned_themes +- [`mainwp_updates_pertheme_before_theme_updates`](updates-maintenance/index.md#mainwp_updates_pertheme_before_theme_updates) - Action: mainwp_updates_pertheme_before_theme_updates +- [`mainwp_updates_pertranslation_after_translation_updates`](updates-maintenance/index.md#mainwp_updates_pertranslation_after_translation_updates) - Action: mainwp_updates_pertranslation_after_translation_updates +- [`mainwp_updates_pertranslation_before_translation_updates`](updates-maintenance/index.md#mainwp_updates_pertranslation_before_translation_updates) - Action: mainwp_updates_pertranslation_before_translation_updates +- [`mainwp_updates_plugins_sort_by`](updates-maintenance/index.md#mainwp_updates_plugins_sort_by) - Filter: mainwp_updates_plugins_sort_by +- [`mainwp_updates_table_columns_header`](updates-maintenance/index.md#mainwp_updates_table_columns_header) - Get column info. +- [`mainwp_updates_table_features`](updates-maintenance/index.md#mainwp_updates_table_features) - Filter: mainwp_updates_table_features +- [`mainwp_updates_table_header_content`](updates-maintenance/index.md#mainwp_updates_table_header_content) - Echo the column headers. +- [`mainwp_updates_table_row_columns`](updates-maintenance/index.md#mainwp_updates_table_row_columns) - Echo columns. +- [`mainwp_updates_themes_sort_by`](updates-maintenance/index.md#mainwp_updates_themes_sort_by) - Filter: mainwp_updates_themes_sort_by +- [`mainwp_updates_translation_sort_by`](updates-maintenance/index.md#mainwp_updates_translation_sort_by) - Filter: mainwp_updates_translation_sort_by +- [`mainwp_updatescheck_hours_interval`](updates-maintenance/index.md#mainwp_updatescheck_hours_interval) - Filter: mainwp_updatescheck_hours_interval +- [`mainwp_updatescheck_sendmail_at_time`](updates-maintenance/index.md#mainwp_updatescheck_sendmail_at_time) - Filter: mainwp_updatescheck_sendmail_at_time +- [`mainwp_updatescheck_sendmail_for_each_auto_sync_finished`](site-management/index.md#mainwp_updatescheck_sendmail_for_each_auto_sync_finished) - Method cron_updates_check() +- [`mainwp_updatesoverview_widget_bottom`](updates-maintenance/index.md#mainwp_updatesoverview_widget_bottom) - Action: mainwp_updatesoverview_widget_bottom +- [`mainwp_updatewebsiteoptions`](site-management/index.md#mainwp_updatewebsiteoptions) - Method update_website_option(). +- [`mainwp_uptime_monitoring_after_check_uptime`](security-monitoring/index.md#mainwp_uptime_monitoring_after_check_uptime) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_allowed_methods`](security-monitoring/index.md#mainwp_uptime_monitoring_allowed_methods) - Method get_allowed_methods +- [`mainwp_uptime_monitoring_check_importance`](security-monitoring/index.md#mainwp_uptime_monitoring_check_importance) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_check_url`](security-monitoring/index.md#mainwp_uptime_monitoring_check_url) - Get apply monitor url. +- [`mainwp_uptime_monitoring_email_footer`](security-monitoring/index.md#mainwp_uptime_monitoring_email_footer) - Uptime Monitoring Email Footer +- [`mainwp_uptime_monitoring_email_header`](security-monitoring/index.md#mainwp_uptime_monitoring_email_header) - Uptime Monitoring Email Header +- [`mainwp_uptime_monitoring_get_monitors_to_check_params`](security-monitoring/index.md#mainwp_uptime_monitoring_get_monitors_to_check_params) - Get sites monitors to check. +- [`mainwp_uptime_monitoring_interval_values`](security-monitoring/index.md#mainwp_uptime_monitoring_interval_values) - Method get_interval_values +- [`mainwp_uptime_monitoring_response_time_widget_title`](security-monitoring/index.md#mainwp_uptime_monitoring_response_time_widget_title) - *Arguments* +- [`mainwp_uptime_monitoring_send_notification_limit`](security-monitoring/index.md#mainwp_uptime_monitoring_send_notification_limit) - Run schedule uptime notification. +- [`mainwp_uptime_monitoring_status_widget_title`](security-monitoring/index.md#mainwp_uptime_monitoring_status_widget_title) - *Arguments* +- [`mainwp_uptime_monitoring_timeout_values`](security-monitoring/index.md#mainwp_uptime_monitoring_timeout_values) - Method get_timeout_values +- [`mainwp_uptime_monitoring_update_monitor_data`](updates-maintenance/index.md#mainwp_uptime_monitoring_update_monitor_data) - Method handle_save_settings +- [`mainwp_uptime_monitoring_uptime_data`](security-monitoring/index.md#mainwp_uptime_monitoring_uptime_data) - Method handle response fetch uptime. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after user action. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after new user action. +- [`mainwp_user_action`](user-management/index.md#mainwp_user_action) - Fires immediately after update admin password action. +- [`mainwp_users_actions_bar_left`](user-management/index.md#mainwp_users_actions_bar_left) - Users actions bar (left) +- [`mainwp_users_actions_bar_right`](user-management/index.md#mainwp_users_actions_bar_right) - Users actions bar (right) +- [`mainwp_users_bulk_action`](user-management/index.md#mainwp_users_bulk_action) - Action: mainwp_users_bulk_action +- [`mainwp_users_help_item`](user-management/index.md#mainwp_users_help_item) - Action: mainwp_users_help_item +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders manage users dashboard. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders Edit Users Modal window. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Renders the Add New user form. +- [`mainwp_users_manage_roles`](user-management/index.md#mainwp_users_manage_roles) - Method do_bulk_add() +- [`mainwp_users_table_action`](user-management/index.md#mainwp_users_table_action) - Action: mainwp_users_table_action +- [`mainwp_users_table_column`](user-management/index.md#mainwp_users_table_column) - Renders Search results. +- [`mainwp_users_table_fatures`](user-management/index.md#mainwp_users_table_fatures) - Renders Users Table. +- [`mainwp_users_table_header`](user-management/index.md#mainwp_users_table_header) - Renders Users Table. +- [`mainwp_website_before_updated`](site-management/index.md#mainwp_website_before_updated) - Action: mainwp_website_before_updated +- [`mainwp_website_updated`](site-management/index.md#mainwp_website_updated) - Action: mainwp_website_updated +- [`mainwp_widget_boxes_show_widgets`](ui-display/index.md#mainwp_widget_boxes_show_widgets) - Method do_widget_boxes() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_callback() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_count_callback() +- [`mainwp_widget_site_actions_limit_number`](site-management/index.md#mainwp_widget_site_actions_limit_number) - Method render() +- [`mainwp_widget_updates_actions_top`](updates-maintenance/index.md#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_widget_updates_actions_top`](updates-maintenance/index.md#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_widgets_chart_date_format`](ui-display/index.md#mainwp_widgets_chart_date_format) - Prepare response time for ui chart data. +- [`mainwp_widgets_screen_options`](ui-display/index.md#mainwp_widgets_screen_options) - Filter: mainwp_widgets_screen_options +- [`mainwp_wordfence_sites`](site-management/index.md#mainwp_wordfence_sites) - Action: mainwp_wordfence_sites +- [`minwp_notification_template_copy_message`](ui-display/index.md#minwp_notification_template_copy_message) - Use mainwp_notification_template_copy_message instead. +- [`plesk_api_form_bottom`](api-remote/index.md#plesk_api_form_bottom) - Action: plesk_api_form_bottom +- [`plesk_api_form_top`](api-remote/index.md#plesk_api_form_top) - Action: plesk_api_form_top +- [`postmeta_form_keys`](content-management/index.md#postmeta_form_keys) - Filters values for the meta key dropdown in the Custom Fields meta box. +- [`postmeta_form_limit`](content-management/index.md#postmeta_form_limit) - +- [`redirect_post_location`](content-management/index.md#redirect_post_location) - Filter: redirect_post_location +- [`rest_api_form_bottom`](api-remote/index.md#rest_api_form_bottom) - Action: rest_api_form_bottom +- [`rest_api_form_top`](api-remote/index.md#rest_api_form_top) - Action: rest_api_form_top +- [`time_formats`](content-management/index.md#time_formats) - *Arguments* +- [`vultr_api_form_bottom`](api-remote/index.md#vultr_api_form_bottom) - Action: vultr_api_form_bottom +- [`vultr_api_form_top`](api-remote/index.md#vultr_api_form_top) - Action: vultr_api_form_top +- [`{$filter}`](ui-display/index.md#filter) - Method apply_filter() diff --git a/mainwp-hooks-old/dashboard/filters/security-monitoring/index.md b/mainwp-hooks-old/dashboard/filters/security-monitoring/index.md new file mode 100644 index 0000000..17b9da4 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/security-monitoring/index.md @@ -0,0 +1,891 @@ +# Security & Monitoring Filters + +Hooks related to security checks, uptime monitoring, and site health. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_uptime_monitoring_after_check_uptime`](#mainwp_uptime_monitoring_after_check_uptime) - Method handle response fetch uptime. +- [`mainwp_monitoring_sitestable_prepared_items`](#mainwp_monitoring_sitestable_prepared_items) - Action: mainwp_monitoring_sitestable_prepared_items +- [`mainwp-securityissues-sites`](#mainwp-securityissues-sites) - Method render_scan_site() +- [`mainwp_securityissues_sites`](#mainwp_securityissues_sites) - Action: mainwp_securityissues_sites +- [`mainwp-sucuriscan-sites`](#mainwp-sucuriscan-sites) - Method render_scan_site() +- [`mainwp_sucuriscan_sites`](#mainwp_sucuriscan_sites) - Action: mainwp_sucuriscan_sites +- [`mainwp_licenses_deactivated_alert_email_header`](#mainwp_licenses_deactivated_alert_email_header) - Site Health Monitoring Email Header +- [`mainwp_licenses_deactivated_alert_email_footer`](#mainwp_licenses_deactivated_alert_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_http_check_email_header`](#mainwp_http_check_email_header) - HTTP Check Email Header +- [`mainwp_http_check_email_footer`](#mainwp_http_check_email_footer) - HTTP Check Email Footer +- [`mainwp_uptime_monitoring_email_header`](#mainwp_uptime_monitoring_email_header) - Uptime Monitoring Email Header +- [`mainwp_uptime_monitoring_email_footer`](#mainwp_uptime_monitoring_email_footer) - Uptime Monitoring Email Footer +- [`mainwp_secure_request`](#mainwp_secure_request) - Method security_nonce(). +- [`mainwp_secure_request`](#mainwp_secure_request) - Method admin_init() +- [`mainwp_before_system_requirements_check`](#mainwp_before_system_requirements_check) - Action: mainwp_before_system_requirements_check +- [`mainwp_after_system_requirements_check`](#mainwp_after_system_requirements_check) - Action: mainwp_after_system_requirements_check +- [`mainwp_security_issues_widget_top`](#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_widget_top`](#mainwp_security_issues_widget_top) - Action: mainwp_security_issues_widget_top +- [`mainwp_security_issues_list_item_column`](#mainwp_security_issues_list_item_column) - Action: mainwp_security_issues_list_item_column +- [`mainwp_security_issues_widget_bottom`](#mainwp_security_issues_widget_bottom) - Action: mainwp_security_issues_widget_bottom +- [`mainwp_security_nonces`](#mainwp_security_nonces) - Method admin_init() +- [`mainwp_create_security_nonces`](#mainwp_create_security_nonces) - Create the security nonces. +- [`mainwp_logger_keep_days`](#mainwp_logger_keep_days) - Method check_log_daily() +- [`mainwp_fetch_uptime_disable_check_multi_exec`](#mainwp_fetch_uptime_disable_check_multi_exec) - Apply disable check multi exec. +- [`mainwp_fetch_uptime_chunk_size_urls`](#mainwp_fetch_uptime_chunk_size_urls) - Check uptime monitors. +- [`mainwp_fetch_uptime_chunk_size_urls`](#mainwp_fetch_uptime_chunk_size_urls) - Fetch uptime urls. +- [`mainwp_uptime_monitoring_check_importance`](#mainwp_uptime_monitoring_check_importance) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_uptime_data`](#mainwp_uptime_monitoring_uptime_data) - Method handle response fetch uptime. +- [`mainwp_uptime_monitoring_check_url`](#mainwp_uptime_monitoring_check_url) - Get apply monitor url. +- [`mainwp_uptime_monitoring_get_monitors_to_check_params`](#mainwp_uptime_monitoring_get_monitors_to_check_params) - Get sites monitors to check. +- [`mainwp_security_issues_stats`](#mainwp_security_issues_stats) - This filter is documented in ../pages/page-mainwp-security-issues.php +- [`mainwp_monitoring_sitestable_item`](#mainwp_monitoring_sitestable_item) - Filter: mainwp_monitoring_sitestable_item +- [`mainwp_monitoring_sitestable_getcolumns`](#mainwp_monitoring_sitestable_getcolumns) - Filter: mainwp_monitoring_sitestable_getcolumns +- [`mainwp_monitoring_sitestable_prepare_extra_view`](#mainwp_monitoring_sitestable_prepare_extra_view) - Prepair the items to be listed. +- [`mainwp_monitoring_table_features`](#mainwp_monitoring_table_features) - Filter: mainwp_monitoring_table_features +- [`mainwp_stats_scan_dir`](#mainwp_stats_scan_dir) - Method get_post_data_authed() +- [`mainwp_uptime_monitoring_allowed_methods`](#mainwp_uptime_monitoring_allowed_methods) - Method get_allowed_methods +- [`mainwp_uptime_monitoring_interval_values`](#mainwp_uptime_monitoring_interval_values) - Method get_interval_values +- [`mainwp_uptime_monitoring_timeout_values`](#mainwp_uptime_monitoring_timeout_values) - Method get_timeout_values +- [`mainwp_automatic_disable_uptime_monitoring_check`](#mainwp_automatic_disable_uptime_monitoring_check) - Method cron_uptime_check +- [`mainwp_uptime_monitoring_send_notification_limit`](#mainwp_uptime_monitoring_send_notification_limit) - Run schedule uptime notification. +- [`mainwp_module_log_check_connector_is_excluded`](#mainwp_module_log_check_connector_is_excluded) - Allows excluded connectors to be overridden and registered. +- [`mainwp_module_cost_tracker_manager_check_status`](#mainwp_module_cost_tracker_manager_check_status) - *Arguments* +- [`mainwp_security_issues_stats`](#mainwp_security_issues_stats) - Filters security issues +- [`mainwp_unset_security_scripts_stylesheets`](#mainwp_unset_security_scripts_stylesheets) - Method Fix Security Issues +- [`mainwp_uptime_monitoring_response_time_widget_title`](#mainwp_uptime_monitoring_response_time_widget_title) - *Arguments* +- [`mainwp_security_issues_widget_title`](#mainwp_security_issues_widget_title) - *Arguments* +- [`mainwp_security_issues_list_item_title_url`](#mainwp_security_issues_list_item_title_url) - *Arguments* +- [`mainwp_security_issues_list_item_title`](#mainwp_security_issues_list_item_title) - *Arguments* +- [`mainwp_uptime_monitoring_status_widget_title`](#mainwp_uptime_monitoring_status_widget_title) - *Arguments* + +## Hook Details + +### `mainwp_uptime_monitoring_after_check_uptime` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$heartbeat` | | +`$monitor` | `mixed` | monitor. +`$previous_heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L885) + + + +### `mainwp_monitoring_sitestable_prepared_items` + +*Action: mainwp_monitoring_sitestable_prepared_items* + +Fires before the Monitoring Sites table itemes are prepared. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites data. +`$site_ids` | `array` | Array containing IDs of all child sites. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 626](class/class-mainwp-monitoring-sites-list-table.php#L626-L636) + + + +### `mainwp-securityissues-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_securityissues_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L773) + + + +### `mainwp_securityissues_sites` + +*Action: mainwp_securityissues_sites* + +Fires on a child site Hardening page at top. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 775](class/class-mainwp-manage-sites-view.php#L775-L786) + + + +### `mainwp-sucuriscan-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_sucuriscan_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L793) + + + +### `mainwp_sucuriscan_sites` + +*Action: mainwp_sucuriscan_sites* + +Fires on a child site Hardening page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 795](class/class-mainwp-manage-sites-view.php#L795-L806) + + + +### `mainwp_licenses_deactivated_alert_email_header` + +*Site Health Monitoring Email Header* + +Fires at the top of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-licenses-deactivated-alert-email.php](templates/emails/mainwp-licenses-deactivated-alert-email.php), [line 31](templates/emails/mainwp-licenses-deactivated-alert-email.php#L31-L38) + + + +### `mainwp_licenses_deactivated_alert_email_footer` + +*Site Health Monitoring Email Footer* + +Fires at the bottom of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-licenses-deactivated-alert-email.php](templates/emails/mainwp-licenses-deactivated-alert-email.php), [line 97](templates/emails/mainwp-licenses-deactivated-alert-email.php#L97-L104) + + + +### `mainwp_http_check_email_header` + +*HTTP Check Email Header* + +Fires at the top of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-after-update-http-check-email.php](templates/emails/mainwp-after-update-http-check-email.php), [line 29](templates/emails/mainwp-after-update-http-check-email.php#L29-L36) + + + +### `mainwp_http_check_email_footer` + +*HTTP Check Email Footer* + +Fires at the bottom of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-after-update-http-check-email.php](templates/emails/mainwp-after-update-http-check-email.php), [line 94](templates/emails/mainwp-after-update-http-check-email.php#L94-L101) + + + +### `mainwp_uptime_monitoring_email_header` + +*Uptime Monitoring Email Header* + +Fires at the top of the uptime monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-uptime-monitoring-email.php](templates/emails/mainwp-uptime-monitoring-email.php), [line 32](templates/emails/mainwp-uptime-monitoring-email.php#L32-L39) + + + +### `mainwp_uptime_monitoring_email_footer` + +*Uptime Monitoring Email Footer* + +Fires at the bottom of the uptime monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-uptime-monitoring-email.php](templates/emails/mainwp-uptime-monitoring-email.php), [line 144](templates/emails/mainwp-uptime-monitoring-email.php#L144-L151) + + + +### `mainwp_secure_request` + +*Method security_nonce().* + +Handle security nonce. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | `string` | security action. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 134](modules/api-backups/classes/class-api-backups-helper.php#L134-L143) + + + +### `mainwp_secure_request` + +*Method admin_init()* + +Handles the uploading of a file. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'qq_nonce'` | | +`'qq_nonce'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 42](pages/page-mainwp-install-bulk.php#L42-L52) + + + +### `mainwp_before_system_requirements_check` + +*Action: mainwp_before_system_requirements_check* + +Fires on the bottom of the System Requirements page, in Quick Setup Wizard. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 911](pages/page-mainwp-server-information.php#L911-L918) + + + +### `mainwp_after_system_requirements_check` + +*Action: mainwp_after_system_requirements_check* + +Fires on the bottom of the System Requirements page, in Quick Setup Wizard. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 973](pages/page-mainwp-server-information.php#L973-L980) + + + +### `mainwp_security_issues_widget_top` + +*Action: mainwp_security_issues_widget_top* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 166](widgets/widget-mainwp-security-issues-widget.php#L166-L173) + + + +### `mainwp_security_issues_widget_top` + +*Action: mainwp_security_issues_widget_top* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 178](widgets/widget-mainwp-security-issues-widget.php#L178-L185) + + + +### `mainwp_security_issues_list_item_column` + +*Action: mainwp_security_issues_list_item_column* + +Fires before the last (actions) colum in the security issues list. + +Preferred HTML structure: + +
+Your content here! +
+ +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 248](widgets/widget-mainwp-security-issues-widget.php#L248-L263) + + + +### `mainwp_security_issues_widget_bottom` + +*Action: mainwp_security_issues_widget_bottom* + +Fires at the bottom of the Security Issues widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 271](widgets/widget-mainwp-security-issues-widget.php#L271-L278) + + + +### `mainwp_security_nonces` + +*Method admin_init()* + +Do nothing if current user is not an Admin else display the page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 766](class/class-mainwp-system.php#L766-L864) + + + +### `mainwp_create_security_nonces` + +*Create the security nonces.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$security_names` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-base-handler.php](class/class-mainwp-post-base-handler.php), [line 140](class/class-mainwp-post-base-handler.php#L140-L150) + + + +### `mainwp_logger_keep_days` + +*Method check_log_daily()* + +Daily checks to clear the log file. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`7` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 749](class/class-mainwp-logger.php#L749-L763) + + + +### `mainwp_fetch_uptime_disable_check_multi_exec` + +*Apply disable check multi exec.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 61](class/class-mainwp-uptime-monitoring-connect.php#L61-L66) + + + +### `mainwp_fetch_uptime_chunk_size_urls` + +*Check uptime monitors.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 88](class/class-mainwp-uptime-monitoring-connect.php#L88-L97) + + + +### `mainwp_fetch_uptime_chunk_size_urls` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L375) + + + +### `mainwp_uptime_monitoring_check_importance` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$importance` | | +`$heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L845) + + + +### `mainwp_uptime_monitoring_uptime_data` + +*Method handle response fetch uptime.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$heartbeat` | | +`$monitor` | `mixed` | monitor. +`$previous_heartbeat` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 713](class/class-mainwp-uptime-monitoring-connect.php#L713-L849) + + + +### `mainwp_uptime_monitoring_check_url` + +*Get apply monitor url.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$url` | | +`$monitor` | `mixed` | monitor. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 1008](class/class-mainwp-uptime-monitoring-connect.php#L1008-L1038) + + + +### `mainwp_uptime_monitoring_get_monitors_to_check_params` + +*Get sites monitors to check.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | params. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-uptime-monitoring.php](class/class-mainwp-db-uptime-monitoring.php), [line 418](class/class-mainwp-db-uptime-monitoring.php#L418-L427) + + + +### `mainwp_security_issues_stats` + +*This filter is documented in ../pages/page-mainwp-security-issues.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$securityStats` | | +`$pWebsite` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 366](class/class-mainwp-sync.php#L366-L367) + + + +### `mainwp_monitoring_sitestable_item` + +*Filter: mainwp_monitoring_sitestable_item* + +Filters the Monitoring Sites table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$item` | `array` | Array containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 99](class/class-mainwp-monitoring-sites-list-table.php#L99-L108) + + + +### `mainwp_monitoring_sitestable_getcolumns` + +*Filter: mainwp_monitoring_sitestable_getcolumns* + +Filters the Monitoring Sites table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 185](class/class-mainwp-monitoring-sites-list-table.php#L185-L194) + + + +### `mainwp_monitoring_sitestable_prepare_extra_view` + +*Prepair the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('favi_icon', 'health_site_status')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 409](class/class-mainwp-monitoring-sites-list-table.php#L409-L616) + + + +### `mainwp_monitoring_table_features` + +*Filter: mainwp_monitoring_table_features* + +Filter the Monitoring table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 722](class/class-mainwp-monitoring-sites-list-table.php#L722-L729) + + + +### `mainwp_stats_scan_dir` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `mixed` | Array of Child Site Info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L427) + + + +### `mainwp_uptime_monitoring_allowed_methods` + +*Method get_allowed_methods* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('useglobal' => esc_html__('Use global settings', 'mainwp'), 'head' => 'HEAD', 'get' => 'GET', 'post' => 'POST', 'push' => 'PUSH', 'patch' => 'PATCH', 'delete' => 'DELETE')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 708](class/class-mainwp-uptime-monitoring-edit.php#L708-L727) + + + +### `mainwp_uptime_monitoring_interval_values` + +*Method get_interval_values* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | | +`$flip_values` | `mixed` | flip values. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 737](class/class-mainwp-uptime-monitoring-edit.php#L737-L766) + + + +### `mainwp_uptime_monitoring_timeout_values` + +*Method get_timeout_values* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | | +`$flip_values` | `mixed` | flip values. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 770](class/class-mainwp-uptime-monitoring-edit.php#L770-L808) + + + +### `mainwp_automatic_disable_uptime_monitoring_check` + +*Method cron_uptime_check* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-schedule.php](class/class-mainwp-uptime-monitoring-schedule.php), [line 67](class/class-mainwp-uptime-monitoring-schedule.php#L67-L74) + + + +### `mainwp_uptime_monitoring_send_notification_limit` + +*Run schedule uptime notification.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-schedule.php](class/class-mainwp-uptime-monitoring-schedule.php), [line 173](class/class-mainwp-uptime-monitoring-schedule.php#L173-L214) + + + +### `mainwp_module_log_check_connector_is_excluded` + +*Allows excluded connectors to be overridden and registered.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$is_excluded` | `bool` | True if excluded, otherwise false. +`$connector_name` | | +`$excluded_connectors` | `array` | An array of all excluded connector slugs. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 148](modules/logs/classes/class-log-connectors.php#L148-L155) + + + +### `mainwp_module_cost_tracker_manager_check_status` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-settings.php](modules/cost-tracker/pages/page-cost-tracker-settings.php), [line 348](modules/cost-tracker/pages/page-cost-tracker-settings.php#L348-L348) + + + +### `mainwp_security_issues_stats` + +*Filters security issues* + +Filters the default security checks and enables user to disable certain checks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$information` | `object` | Object containing data from che chid site related to security issues.
Available options: 'db_reporting', 'php_reporting'. +`$website` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 293](pages/page-mainwp-security-issues.php#L293-L305) + + + +### `mainwp_unset_security_scripts_stylesheets` + +*Method Fix Security Issues* + +Fix the selected security issue. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-security-issues.php](pages/page-mainwp-security-issues.php), [line 312](pages/page-mainwp-security-issues.php#L312-L366) + + + +### `mainwp_uptime_monitoring_response_time_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Uptime Monitoring', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-site-widget.php](widgets/widget-mainwp-uptime-monitoring-site-widget.php), [line 190](widgets/widget-mainwp-uptime-monitoring-site-widget.php#L190-L190) + + + +### `mainwp_security_issues_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Site Hardening', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 98](widgets/widget-mainwp-security-issues-widget.php#L98-L98) + + + +### `mainwp_security_issues_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 225](widgets/widget-mainwp-security-issues-widget.php#L225-L225) + + + +### `mainwp_security_issues_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-security-issues-widget.php](widgets/widget-mainwp-security-issues-widget.php), [line 236](widgets/widget-mainwp-security-issues-widget.php#L236-L236) + + + +### `mainwp_uptime_monitoring_status_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Uptime Monitoring', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-status.php](widgets/widget-mainwp-uptime-monitoring-status.php), [line 51](widgets/widget-mainwp-uptime-monitoring-status.php#L51-L51) + + + diff --git a/mainwp-hooks-old/dashboard/filters/site-management/index.md b/mainwp-hooks-old/dashboard/filters/site-management/index.md new file mode 100644 index 0000000..15c7599 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/site-management/index.md @@ -0,0 +1,3862 @@ +# Site Management Filters + +Hooks related to adding, editing, removing, and managing sites and site groups. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_delete_site`](#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_after_notice_sites_uptime_monitoring_admin`](#mainwp_after_notice_sites_uptime_monitoring_admin) - Basic site uptime monitoring. +- [`mainwp_after_notice_sites_uptime_monitoring_individual`](#mainwp_after_notice_sites_uptime_monitoring_individual) - Basic site uptime monitoring. +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a tag has been deleted. +- [`mainwp_ga_delete_site`](#mainwp_ga_delete_site) - Action: mainwp_ga_delete_site +- [`mainwp_after_sync_site_success`](#mainwp_after_sync_site_success) - Fires immediately after website synced successfully. +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Fires immediately after website suspended/unsuspend. +- [`mainwp_managesite_backup`](#mainwp_managesite_backup) - Method backup() +- [`mainwp_before_select_sites_filters`](#mainwp_before_select_sites_filters) - Action: mainwp_before_select_sites_filters +- [`mainwp_after_select_sites_filters`](#mainwp_after_select_sites_filters) - Action: mainwp_after_select_sites_filters +- [`mainwp_before_select_sites_list`](#mainwp_before_select_sites_list) - Action: mainwp_before_select_sites_list +- [`mainwp_after_select_sites_list`](#mainwp_after_select_sites_list) - Action: mainwp_after_select_sites_list +- [`mainwp_before_select_groups_list`](#mainwp_before_select_groups_list) - Action: mainwp_before_select_groups_list +- [`mainwp_after_select_groups_list`](#mainwp_after_select_groups_list) - Action: mainwp_after_select_groups_list +- [`mainwp_quick_sites_shortcut`](#mainwp_quick_sites_shortcut) - Action: mainwp_quick_sites_shortcut +- [`mainwp_before_header`](#mainwp_before_header) - Action: mainwp_before_header +- [`mainwp_after_header`](#mainwp_after_header) - Action: mainwp_after_header +- [`mainwp_managesites_tabletop`](#mainwp_managesites_tabletop) - Action: mainwp_managesites_tabletop +- [`mainwp_before_edit_site_note`](#mainwp_before_edit_site_note) - Action: mainwp_before_edit_site_note +- [`mainwp_after_edit_site_note`](#mainwp_after_edit_site_note) - Action: mainwp_after_edit_site_note +- [`mainwp-site-synced`](#mainwp-site-synced) - Method sync_information_array() +- [`mainwp_site_synced`](#mainwp_site_synced) - Action: mainwp_site_synced +- [`mainwp_site_sync`](#mainwp_site_sync) - Action: mainwp_site_sync +- [`mainwp_before_manage_sites_table`](#mainwp_before_manage_sites_table) - Action: mainwp_before_manage_sites_table +- [`mainwp_after_manage_sites_table`](#mainwp_after_manage_sites_table) - Action: mainwp_after_manage_sites_table +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_manage_sites_action`](#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_manage_sites_action`](#mainwp_manage_sites_action) - Action: mainwp_manage_sites_action +- [`mainwp_sync_popup_content`](#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_sync_popup_content`](#mainwp_sync_popup_content) - Method render_footer_content() +- [`mainwp_manage_sites_table_columns_defs`](#mainwp_manage_sites_table_columns_defs) - Display the table. +- [`mainwp_synced_all_sites`](#mainwp_synced_all_sites) - Method cron_updates_check() +- [`mainwp_daily_digest_action`](#mainwp_daily_digest_action) - Action: mainwp_daily_digest_action +- [`mainwp_website_before_updated`](#mainwp_website_before_updated) - Action: mainwp_website_before_updated +- [`mainwp_fetch_url_authed`](#mainwp_fetch_url_authed) - Fires immediately after fetch url action. +- [`mainwp_website_updated`](#mainwp_website_updated) - Action: mainwp_website_updated +- [`mainwp-wordfence-sites`](#mainwp-wordfence-sites) - Method render_scan_site() +- [`mainwp_wordfence_sites`](#mainwp_wordfence_sites) - Action: mainwp_wordfence_sites +- [`mainwp-manage-sites-edit`](#mainwp-manage-sites-edit) - Method render_edit_site() +- [`mainwp-extension-sites-edit`](#mainwp-extension-sites-edit) - Method render_edit_site() +- [`mainwp_manage_sites_edit`](#mainwp_manage_sites_edit) - This action is documented in ../pages/page-mainwp-manage-sites.php +- [`mainwp_extension_sites_edit_tablerow`](#mainwp_extension_sites_edit_tablerow) - Method render_edit_site() +- [`mainwp_manage_sites_email_settings`](#mainwp_manage_sites_email_settings) - Action: mainwp_manage_sites_email_settings +- [`mainwp_site_reconnected`](#mainwp_site_reconnected) - Fires immediately after reconnect website. +- [`mainwp_site_added`](#mainwp_site_added) - Fires immediately after a new website is added. +- [`mainwp_added_new_site`](#mainwp_added_new_site) - New site added +- [`mainwp_synced_all_sites`](#mainwp_synced_all_sites) - Action: mainwp_synced_all_sites +- [`mainwp_site_health_monitoring_email_header`](#mainwp_site_health_monitoring_email_header) - Site Health Monitoring Email Header +- [`mainwp_site_health_monitoring_email_footer`](#mainwp_site_health_monitoring_email_footer) - Site Health Monitoring Email Footer +- [`mainwp_delete_key_file`](#mainwp_delete_key_file) - Method update_compatible_site_api_key +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_sync_site_log_install_actions`](#mainwp_sync_site_log_install_actions) - Method sync_log_site_actions(). +- [`mainwp_select_sites_box`](#mainwp_select_sites_box) - Render settings +- [`mainwp_check_site_result`](#mainwp_check_site_result) - Method check_site() +- [`mainwp_delete_site`](#mainwp_delete_site) - *Arguments* +- [`mainwp_site_deleted`](#mainwp_site_deleted) - *Arguments* +- [`mainwp-manage-sites-edit`](#mainwp-manage-sites-edit) - Method render_new_site_add_new_site() +- [`mainwp_manage_sites_edit`](#mainwp_manage_sites_edit) - Edit site +- [`mainwp_site_updated`](#mainwp_site_updated) - Update site +- [`mainwp_site_suspended`](#mainwp_site_suspended) - Site suspended changed. +- [`mainwp_managesite_schedule_backup`](#mainwp_managesite_schedule_backup) - Execute the backup task. +- [`mainwp_before_groups_table`](#mainwp_before_groups_table) - Action: mainwp_before_groups_table +- [`mainwp_after_groups_table`](#mainwp_after_groups_table) - Action: mainwp_after_groups_table +- [`mainwp_site_tag_action`](#mainwp_site_tag_action) - Fires after a new sites tag has been created. +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_added_new_group`](#mainwp_added_new_group) - New Group Added +- [`mainwp_tags_help_item`](#mainwp_tags_help_item) - Action: mainwp_tags_help_item +- [`mainwp_updates_pergroup_before_wp_updates`](#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_pergroup_before_wp_updates +- [`mainwp_updates_pergroup_after_wp_updates`](#mainwp_updates_pergroup_after_wp_updates) - Action: mainwp_updates_pergroup_after_wp_updates +- [`mainwp_updates_pergroup_before_wp_updates`](#mainwp_updates_pergroup_before_wp_updates) - Action: mainwp_updates_persite_before_wp_updates +- [`mainwp_updates_persite_after_wp_updates`](#mainwp_updates_persite_after_wp_updates) - Action: mainwp_updates_persite_after_wp_updates +- [`mainwp_updates_persite_before_plugin_updates`](#mainwp_updates_persite_before_plugin_updates) - Action: mainwp_updates_persite_before_plugin_updates +- [`mainwp_updates_persite_after_plugin_updates`](#mainwp_updates_persite_after_plugin_updates) - Action: mainwp_updates_persite_after_plugin_updates +- [`mainwp_updates_pergroup_before_plugin_updates`](#mainwp_updates_pergroup_before_plugin_updates) - Action: mainwp_updates_pergroup_before_plugin_updates +- [`mainwp_updates_pergroup_after_plugin_updates`](#mainwp_updates_pergroup_after_plugin_updates) - Action: mainwp_updates_pergroup_after_plugin_updates +- [`mainwp_updates_persite_before_theme_updates`](#mainwp_updates_persite_before_theme_updates) - Action: mainwp_updates_persite_before_theme_updates +- [`mainwp_updates_persite_after_theme_updates`](#mainwp_updates_persite_after_theme_updates) - Action: mainwp_updates_persite_after_theme_updates +- [`mainwp_updates_pergroup_before_theme_updates`](#mainwp_updates_pergroup_before_theme_updates) - Action: mainwp_updates_pergroup_before_theme_updates +- [`mainwp_updates_pergroup_after_theme_updates`](#mainwp_updates_pergroup_after_theme_updates) - Action: mainwp_updates_pergroup_after_theme_updates +- [`mainwp_updates_persite_before_translation_updates`](#mainwp_updates_persite_before_translation_updates) - Action: mainwp_updates_persite_before_translation_updates +- [`mainwp_updates_persite_after_translation_updates`](#mainwp_updates_persite_after_translation_updates) - Action: mainwp_updates_persite_after_translation_updates +- [`mainwp_updates_pergroup_before_translation_updates`](#mainwp_updates_pergroup_before_translation_updates) - Action: mainwp_updates_pergroup_before_translation_updates +- [`mainwp_updates_pergroup_after_translation_updates`](#mainwp_updates_pergroup_after_translation_updates) - Action: mainwp_updates_pergroup_after_translation_updates +- [`mainwp_updates_persite_before_abandoned_plugins`](#mainwp_updates_persite_before_abandoned_plugins) - Action: mainwp_updates_persite_before_abandoned_plugins +- [`mainwp_updates_persite_after_abandoned_plugins`](#mainwp_updates_persite_after_abandoned_plugins) - Action: mainwp_updates_persite_after_abandoned_plugins +- [`mainwp_updates_pergroup_before_abandoned_plugins`](#mainwp_updates_pergroup_before_abandoned_plugins) - Action: mainwp_updates_pergroup_before_abandoned_plugins +- [`mainwp_updates_pergroup_after_abandoned_plugins`](#mainwp_updates_pergroup_after_abandoned_plugins) - Action: mainwp_updates_pergroup_after_abandoned_plugins +- [`mainwp_updates_persite_before_abandoned_themes`](#mainwp_updates_persite_before_abandoned_themes) - Action: mainwp_updates_persite_before_abandoned_themes +- [`mainwp_updates_persite_after_abandoned_themes`](#mainwp_updates_persite_after_abandoned_themes) - Action: mainwp_updates_persite_after_abandoned_themes +- [`mainwp_updates_pergroup_before_abandoned_themes`](#mainwp_updates_pergroup_before_abandoned_themes) - Action: mainwp_updates_pergroup_before_abandoned_themes +- [`mainwp_updates_pergroup_after_abandoned_themes`](#mainwp_updates_pergroup_after_abandoned_themes) - Action: mainwp_updates_pergroup_after_abandoned_themes +- [`mainwp_added_new_site`](#mainwp_added_new_site) - This action is documented in class\class-mainwp-manage-sites-view.php +- [`mainwp_delete_site`](#mainwp_delete_site) - This action is documented in pages\page-mainwp-manage-sites-handler.php +- [`mainwp_added_new_group`](#mainwp_added_new_group) - This action is documented in pages\page-mainwp-manage-groups.php +- [`mainwp_site_info_widget_top`](#mainwp_site_info_widget_top) - Actoin: mainwp_site_info_widget_top +- [`mainwp_site_info_table_top`](#mainwp_site_info_table_top) - Action: mainwp_site_info_table_top +- [`mainwp_site_info_table_bottom`](#mainwp_site_info_table_bottom) - Action: mainwp_site_info_table_bottom +- [`mainwp_site_info_widget_bottom`](#mainwp_site_info_widget_bottom) - Action: mainwp_site_info_widget_bottom +- [`mainwp_connection_status_widget_bottom`](#mainwp_connection_status_widget_bottom) - Action: mainwp_connection_status_widget_bottom +- [`mainwp_connection_status_widget_top`](#mainwp_connection_status_widget_top) - Action: mainwp_connection_status_widget_top +- [`mainwp_connection_status_before_all_sites_list`](#mainwp_connection_status_before_all_sites_list) - Action: mainwp_connection_status_before_all_sites_list +- [`mainwp_connection_status_after_all_sites_list`](#mainwp_connection_status_after_all_sites_list) - Action: mainwp_connection_status_after_all_sites_list +- [`mainwp_connection_status_before_connected_sites_list`](#mainwp_connection_status_before_connected_sites_list) - Action: mainwp_connection_status_before_connected_sites_list +- [`mainwp_connection_status_after_connected_sites_list`](#mainwp_connection_status_after_connected_sites_list) - Action: mainwp_connection_status_after_connected_sites_list +- [`mainwp_connection_status_before_disconnected_sites_list`](#mainwp_connection_status_before_disconnected_sites_list) - Action: mainwp_connection_status_before_disconnected_sites_list +- [`mainwp_connection_status_after_disconnected_sites_list`](#mainwp_connection_status_after_disconnected_sites_list) - Action: mainwp_connection_status_after_disconnected_sites_list +- [`mainwp_connection_status_widget_footer_left`](#mainwp_connection_status_widget_footer_left) - Action: mainwp_connection_status_widget_footer_left +- [`mainwp_connection_status_widget_footer_right`](#mainwp_connection_status_widget_footer_right) - Action: mainwp_connection_status_widget_footer_right +- [`mainwp_clients_overview_websites_widget_top`](#mainwp_clients_overview_websites_widget_top) - Actoin: mainwp_clients_overview_websites_widget_top +- [`mainwp_clients_overview_websites_widget_bottom`](#mainwp_clients_overview_websites_widget_bottom) - Action: mainwp_clients_overview_websites_widget_bottom +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_callback() +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method mainwp_rest_api_non_mainwp_changes_count_callback() +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by tag id. +- [`mainwp_rest_pre_insert_site_item`](#mainwp_rest_pre_insert_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_pre_update_site_item`](#mainwp_rest_pre_update_site_item) - Filters an object before it is inserted via the REST API. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Update all items of site. +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites of client. +- [`mainwp_cron_bulk_update_sites_limit`](#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_batch_updates() +- [`mainwp_currentuserallowedaccessgroups`](#mainwp_currentuserallowedaccessgroups) - Filter: mainwp_currentuserallowedaccessgroups +- [`mainwp_boilerplate_get_tokens`](#mainwp_boilerplate_get_tokens) - Filter: mainwp_boilerplate_get_tokens +- [`mainwp_pro_reports_get_site_tokens`](#mainwp_pro_reports_get_site_tokens) - Filter: mainwp_pro_reports_get_site_tokens +- [`mainwp_client_report_get_site_tokens`](#mainwp_client_report_get_site_tokens) - Filter: mainwp_client_report_get_site_tokens +- [`mainwp_boilerplate_get_tokens`](#mainwp_boilerplate_get_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_pro_reports_get_site_tokens`](#mainwp_pro_reports_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_client_report_get_site_tokens`](#mainwp_client_report_get_site_tokens) - This filter is documented in ../class/class-mainwp-notification-settings.php +- [`mainwp_connect_sign_algo`](#mainwp_connect_sign_algo) - Method get_connect_sign_algorithm(). +- [`mainwp_staging_current_user_sites_view`](#mainwp_staging_current_user_sites_view) - Method get_select_staging_view_sites() +- [`mainwp_html_regression_largest_change_scope`](#mainwp_html_regression_largest_change_scope) - Method mainwp_upgrade_plugintheme() +- [`mainwp_log_to_db_priority`](#mainwp_log_to_db_priority) - Method log_to_db() +- [`mainwp_log_do_to_db`](#mainwp_log_do_to_db) - Method log_to_db() +- [`mainwp_logger_to_db`](#mainwp_logger_to_db) - Method log() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Fetch uptime urls. +- [`mainwp_connect_sites_not_allow_ports`](#mainwp_connect_sites_not_allow_ports) - Method mainwp_testwp() +- [`mainwp_connect_sites_allow_ports`](#mainwp_connect_sites_allow_ports) - Method mainwp_testwp() +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method mainwp_testwp() +- [`mainwp_postprocess_backup_sites_feedback`](#mainwp_postprocess_backup_sites_feedback) - Method backup_site() +- [`mainwp_clone_enabled`](#mainwp_clone_enabled) - Filter: mainwp_clone_enabled +- [`mainwp-sync-others-data`](#mainwp-sync-others-data) - Method sync_site() +- [`mainwp_sync_others_data`](#mainwp_sync_others_data) - Filter: mainwp_sync_others_data +- [`mainwp_site_actions_saved_days_number`](#mainwp_site_actions_saved_days_number) - Method sync_site() +- [`mainwp_before_save_sync_result`](#mainwp_before_save_sync_result) - Filter: mainwp_before_save_sync_result +- [`mainwp_sync_site_after_sync_result`](#mainwp_sync_site_after_sync_result) - Method sync_information_array() +- [`mainwp_managesites_getbackuplink`](#mainwp_managesites_getbackuplink) - Filter: mainwp_managesites_getbackuplink +- [`mainwp_managesites_bulk_actions`](#mainwp_managesites_bulk_actions) - Filter: mainwp_managesites_bulk_actions +- [`mainwp_sites_table_features`](#mainwp_sites_table_features) - Filter: mainwp_sites_table_features +- [`mainwp_sitestable_website`](#mainwp_sitestable_website) - Get table rows. +- [`mainwp_sitestable_website`](#mainwp_sitestable_website) - Columns for a single row. +- [`mainwp_monitoringsites_bulk_actions`](#mainwp_monitoringsites_bulk_actions) - Filter: mainwp_monitoringsites_bulk_actions +- [`mainwp_updatescheck_sendmail_for_each_auto_sync_finished`](#mainwp_updatescheck_sendmail_for_each_auto_sync_finished) - Method cron_updates_check() +- [`mainwp_pre_fetch_authed_data`](#mainwp_pre_fetch_authed_data) - Method get_post_data_authed() +- [`mainwp_open_site_login_required_params`](#mainwp_open_site_login_required_params) - Method get_get_data_authed() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method fetch_urls_authed() +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method fetch_url_site() +- [`mainwp_manage_sites_navigation_items`](#mainwp_manage_sites_navigation_items) - Method render_managesites_header() +- [`mainwp-sync-extensions-options`](#mainwp-sync-extensions-options) - Method render_sync_exts_settings() +- [`mainwp_sync_extensions_options`](#mainwp_sync_extensions_options) - Method render_sync_exts_settings() +- [`mainwp_default_template_locate`](#mainwp_default_template_locate) - Render the email notification edit form. +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method add_site() +- [`mainwp_clients_website_client_tokens`](#mainwp_clients_website_client_tokens) - Method get_website_client_tokens_data() +- [`mainwp_cron_bulk_update_sites_limit`](#mainwp_cron_bulk_update_sites_limit) - Method handle_cron_auto_updates() +- [`mainwp_getwebsite_by_id`](#mainwp_getwebsite_by_id) - Get sites by website ID. +- [`mainwp_updatewebsiteoptions`](#mainwp_updatewebsiteoptions) - Method update_website_option(). +- [`mainwp_getwebsiteoptions`](#mainwp_getwebsiteoptions) - Method get_website_options(). +- [`mainwp_db_fetch_object`](#mainwp_db_fetch_object) - Method fetch_object(). +- [`mainwp_db_free_result`](#mainwp_db_free_result) - Method free_result(). +- [`mainwp_module_log_data`](#mainwp_module_log_data) - Log handler +- [`mainwp_module_log_cron_tracking`](#mainwp_module_log_cron_tracking) - Log handler. +- [`mainwp_rest_routes_sites_controller_get_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_get_allowed_fields_by_context) - *Arguments* +- [`mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context`](#mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context) - Get sites by item. +- [`mainwp_manage_sites_force_use_ipv4`](#mainwp_manage_sites_force_use_ipv4) - Method check_site() +- [`mainwp_posting_selected_groups`](#mainwp_posting_selected_groups) - Method posting_posts() +- [`mainwp_custom_post_types_get_post_connections`](#mainwp_custom_post_types_get_post_connections) - Method posts_search_handler() +- [`mainwp_bulkpost_select_sites_settings`](#mainwp_bulkpost_select_sites_settings) - Renders bulkpost to edit. +- [`mainwp_manage_sites_optimize_loading`](#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_open_site_allow_vars`](#mainwp_open_site_allow_vars) - Child Site Dashboard Link redirect handler. +- [`mainwp_html_regression_largest_change_scope`](#mainwp_html_regression_largest_change_scope) - *Arguments* +- [`mainwp_manage_sites_optimize_loading`](#mainwp_manage_sites_optimize_loading) - Method render_all_sites() +- [`mainwp_child_site_info_widget_content`](#mainwp_child_site_info_widget_content) - Filter: mainwp_child_site_info_widget_content +- [`mainwp_site_info_widget_title`](#mainwp_site_info_widget_title) - *Arguments* +- [`mainwp_connection_status_widget_title`](#mainwp_connection_status_widget_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_connection_status_list_item_title_url`](#mainwp_connection_status_list_item_title_url) - *Arguments* +- [`mainwp_connection_status_list_item_title`](#mainwp_connection_status_list_item_title) - *Arguments* +- [`mainwp_clients_overview_websites_widget_title`](#mainwp_clients_overview_websites_widget_title) - *Arguments* +- [`mainwp_widget_site_actions_limit_number`](#mainwp_widget_site_actions_limit_number) - Method render() + +## Hook Details + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 1444](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L1444-L1452) + + + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 1484](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L1484-L1492) + + + +### `mainwp_delete_site` + +*This action is documented in pages\page-mainwp-manage-sites-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 405](class/class-mainwp-hooks.php#L405-L406) + + + +### `mainwp_after_notice_sites_uptime_monitoring_admin` + +*Basic site uptime monitoring.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the websites. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-handler.php](class/class-mainwp-monitoring-handler.php), [line 151](class/class-mainwp-monitoring-handler.php#L151-L182) + + + +### `mainwp_after_notice_sites_uptime_monitoring_individual` + +*Basic site uptime monitoring.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-handler.php](class/class-mainwp-monitoring-handler.php), [line 151](class/class-mainwp-monitoring-handler.php#L151-L220) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-list-table.php](class/class-mainwp-client-list-table.php), [line 336](class/class-mainwp-client-list-table.php#L336-L468) + + + +### `mainwp_site_tag_action` + +*Fires after a new sites tag has been created.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | group created. +`'created'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 585](class/class-mainwp-db-common.php#L585-L591) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 634](class/class-mainwp-db-common.php#L634-L641) + + + +### `mainwp_site_tag_action` + +*Fires after a tag has been deleted.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | group created. +`'deleted'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db-common.php](class/class-mainwp-db-common.php), [line 664](class/class-mainwp-db-common.php#L664-L670) + + + +### `mainwp_ga_delete_site` + +*Action: mainwp_ga_delete_site* + +Fires upon site removal process in order to delete Google Analytics data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websiteid` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 2611](class/class-mainwp-db.php#L2611-L2620) + + + +### `mainwp_after_sync_site_success` + +*Fires immediately after website synced successfully.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 407](class/class-mainwp-post-site-handler.php#L407-L414) + + + +### `mainwp_site_suspended` + +*Fires immediately after website suspended/unsuspend.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$suspended` | `int` | The new suspended value. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 470](class/class-mainwp-post-site-handler.php#L470-L478) + + + +### `mainwp_managesite_backup` + +*Method backup()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`array('type' => $pType)` | | +`$information` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 753](class/class-mainwp-backup-handler.php#L753-L937) + + + +### `mainwp_before_select_sites_filters` + +*Action: mainwp_before_select_sites_filters* + +Fires before the Select Sites box filters. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 190](class/class-mainwp-ui.php#L190-L197) + + + +### `mainwp_after_select_sites_filters` + +*Action: mainwp_after_select_sites_filters* + +Fires after the Select Sites box filters. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 206](class/class-mainwp-ui.php#L206-L213) + + + +### `mainwp_before_select_sites_list` + +*Action: mainwp_before_select_sites_list* + +Fires before the Select Sites list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 252](class/class-mainwp-ui.php#L252-L261) + + + +### `mainwp_after_select_sites_list` + +*Action: mainwp_after_select_sites_list* + +Fires after the Select Sites list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 330](class/class-mainwp-ui.php#L330-L339) + + + +### `mainwp_before_select_groups_list` + +*Action: mainwp_before_select_groups_list* + +Fires before the Select Groups list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groups` | `object` | Object containing groups info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 419](class/class-mainwp-ui.php#L419-L428) + + + +### `mainwp_after_select_groups_list` + +*Action: mainwp_after_select_groups_list* + +Fires after the Select Groups list. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groups` | `object` | Object containing groups info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 458](class/class-mainwp-ui.php#L458-L467) + + + +### `mainwp_quick_sites_shortcut` + +*Action: mainwp_quick_sites_shortcut* + +Adds a new shortcut item in the Quick Sites Shortcuts sidebar menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing the child site data.

Suggested HTML markup:



Your custom label text
+ +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 738](class/class-mainwp-ui.php#L738-L754) + + + +### `mainwp_before_header` + +*Action: mainwp_before_header* + +Fires before the MainWP header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 866](class/class-mainwp-ui.php#L866-L875) + + + +### `mainwp_after_header` + +*Action: mainwp_after_header* + +Fires after the MainWP header element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `array` | Array containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1072](class/class-mainwp-ui.php#L1072-L1081) + + + +### `mainwp_managesites_tabletop` + +*Action: mainwp_managesites_tabletop* + +Fires at the table top on the Manage Sites and Monitoring page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1176](class/class-mainwp-ui.php#L1176-L1183) + + + +### `mainwp_before_edit_site_note` + +*Action: mainwp_before_edit_site_note* + +Fires before the site note content in the Edit Note modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2033](class/class-mainwp-ui.php#L2033-L2040) + + + +### `mainwp_after_edit_site_note` + +*Action: mainwp_after_edit_site_note* + +Fires after the site note content in the Edit Note modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2051](class/class-mainwp-ui.php#L2051-L2058) + + + +### `mainwp-site-synced` + +*Method sync_information_array()* + +Grab all Child Site Information. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($pWebsite, $information)` | | +`'4.0.7.2'` | | +`'mainwp_site_synced'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 221](class/class-mainwp-sync.php#L221-L579) + + + +### `mainwp_site_synced` + +*Action: mainwp_site_synced* + +Fires upon successful site synchronization. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pWebsite` | `object` | Object containing child site info. +`$information` | `array` | Array containing information returned from child site. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 581](class/class-mainwp-sync.php#L581-L591) + + + +### `mainwp_site_sync` + +*Action: mainwp_site_sync* + +Fires upon successful site synchronization. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pWebsite` | `object` | Object containing child site info. +`$information` | `array` | Array containing information returned from child site. +`$act_success` | `bool` | action success or failed. +`$_error` | | +`$post_data` | `array` | Addition post data. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 596](class/class-mainwp-sync.php#L596-L609) + + + +### `mainwp_before_manage_sites_table` + +*Action: mainwp_before_manage_sites_table* + +Fires before the Manage Sites table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1073](class/class-mainwp-manage-sites-list-table.php#L1073-L1080) + + + +### `mainwp_after_manage_sites_table` + +*Action: mainwp_after_manage_sites_table* + +Fires after the Manage Sites table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1106](class/class-mainwp-manage-sites-list-table.php#L1106-L1113) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1044](class/class-mainwp-manage-sites-list-table.php#L1044-L1204) + + + +### `mainwp_manage_sites_action` + +*Action: mainwp_manage_sites_action* + +Adds custom manage sites action item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1876](class/class-mainwp-manage-sites-list-table.php#L1876-L1885) + + + +### `mainwp_manage_sites_action` + +*Action: mainwp_manage_sites_action* + +Adds custom manage sites action item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `array` | Array containing website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 2288](class/class-mainwp-manage-sites-list-table.php#L2288-L2297) + + + +### `mainwp_sync_popup_content` + +*Method render_footer_content()* + +Render footer content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 996](class/class-mainwp-system-view.php#L996-L1054) + + + +### `mainwp_sync_popup_content` + +*Method render_footer_content()* + +Render footer content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 996](class/class-mainwp-system-view.php#L996-L1071) + + + +### `mainwp_manage_sites_table_columns_defs` + +*Display the table.* + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 644](class/class-mainwp-monitoring-sites-list-table.php#L644-L917) + + + +### `mainwp_synced_all_sites` + +*Method cron_updates_check()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 375](class/class-mainwp-system-cron-jobs.php#L375-L664) + + + +### `mainwp_daily_digest_action` + +*Action: mainwp_daily_digest_action* + +Hooks the daily digest email notification send process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object conaining child site info. +`$plain_text` | `bool` | Whether plain text email should be sent. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1038](class/class-mainwp-system-cron-jobs.php#L1038-L1048) + + + +### `mainwp_website_before_updated` + +*Action: mainwp_website_before_updated* + +Fires before the child site update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. +`$type` | `string` | Type parameter. +`$list` | `string` | List parameter. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1175](class/class-mainwp-connect.php#L1175-L1186) + + + +### `mainwp_fetch_url_authed` + +*Fires immediately after fetch url action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$information` | `array` | information result data. +`$what` | `string` | action. +`$params` | `array` | params input array. +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1201](class/class-mainwp-connect.php#L1201-L1212) + + + +### `mainwp_website_updated` + +*Action: mainwp_website_updated* + +Fires after the child site update process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. +`$type` | `string` | Type parameter. +`$list` | `string` | List parameter. +`$information` | `array` | Array containing the information fetched from the child site. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1224](class/class-mainwp-connect.php#L1224-L1236) + + + +### `mainwp-wordfence-sites` + +*Method render_scan_site()* + +Render Site Hardening sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_wordfence_sites'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 733](class/class-mainwp-manage-sites-view.php#L733-L813) + + + +### `mainwp_wordfence_sites` + +*Action: mainwp_wordfence_sites* + +Fires on a child site Hardening page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing child site info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 815](class/class-mainwp-manage-sites-view.php#L815-L826) + + + +### `mainwp-manage-sites-edit` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1390) + + + +### `mainwp-extension-sites-edit` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($website)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1391) + + + +### `mainwp_manage_sites_edit` + +*This action is documented in ../pages/page-mainwp-manage-sites.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1393](class/class-mainwp-manage-sites-view.php#L1393-L1394) + + + +### `mainwp_extension_sites_edit_tablerow` + +*Method render_edit_site()* + +Render individual Child Site Edit sub page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 834](class/class-mainwp-manage-sites-view.php#L834-L1395) + + + +### `mainwp_manage_sites_email_settings` + +*Action: mainwp_manage_sites_email_settings* + +Fires on the Email Settigns page at bottom. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the website info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1826](class/class-mainwp-manage-sites-view.php#L1826-L1835) + + + +### `mainwp_site_reconnected` + +*Fires immediately after reconnect website.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$success` | | +`$_error` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1997](class/class-mainwp-manage-sites-view.php#L1997-L2004) + + + +### `mainwp_site_added` + +*Fires immediately after a new website is added.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$information` | `array` | The array of information data . + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2259](class/class-mainwp-manage-sites-view.php#L2259-L2267) + + + +### `mainwp_added_new_site` + +*New site added* + +Fires after adding a website to MainWP Dashboard. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | `int` | Child site ID. +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2269](class/class-mainwp-manage-sites-view.php#L2269-L2278) + + + +### `mainwp_synced_all_sites` + +*Action: mainwp_synced_all_sites* + +Fires upon successfull synchronization process. + + +**Changelog** + +Version | Description +------- | ----------- +`3.5.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-handler.php](class/class-mainwp-post-handler.php), [line 605](class/class-mainwp-post-handler.php#L605-L612) + + + +### `mainwp_site_health_monitoring_email_header` + +*Site Health Monitoring Email Header* + +Fires at the top of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-site-health-monitoring-email.php](templates/emails/mainwp-site-health-monitoring-email.php), [line 31](templates/emails/mainwp-site-health-monitoring-email.php#L31-L38) + + + +### `mainwp_site_health_monitoring_email_footer` + +*Site Health Monitoring Email Footer* + +Fires at the bottom of the site health monitoring email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-site-health-monitoring-email.php](templates/emails/mainwp-site-health-monitoring-email.php), [line 118](templates/emails/mainwp-site-health-monitoring-email.php#L118-L125) + + + +### `mainwp_delete_key_file` + +*Method update_compatible_site_api_key* + +Encrypt data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key_file` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 607](modules/api-backups/classes/class-api-backups-utility.php#L607-L643) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'mainwp_api_backups_selected_websites'` | | +`array(&$this, 'ajax_backups_selected_websites')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-handler.php](modules/api-backups/classes/class-api-backups-handler.php), [line 53](modules/api-backups/classes/class-api-backups-handler.php#L53-L58) + + + +### `mainwp_sync_site_log_install_actions` + +*Method sync_log_site_actions().* + +Sync site actions data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website data. +`$record_mapping` | | +`$object_id` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-manager.php](modules/logs/classes/class-log-manager.php), [line 239](modules/logs/classes/class-log-manager.php#L239-L329) + + + +### `mainwp_select_sites_box` + +*Render settings* + +Renders the extension settings page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`'checkbox'` | | +`true` | | +`true` | | +`''` | | +`''` | | +`$sel_sites` | | +`$sel_groups` | | +`true` | | +`$sel_clients` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-add-edit.php](modules/cost-tracker/pages/page-cost-tracker-add-edit.php), [line 85](modules/cost-tracker/pages/page-cost-tracker-add-edit.php#L85-L507) + + + +### `mainwp_check_site_result` + +*Method check_site()* + +Check to add site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ret` | | +`$_POST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 26](pages/page-mainwp-manage-sites-handler.php#L26-L93) + + + +### `mainwp_delete_site` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 453](pages/page-mainwp-manage-sites-handler.php#L453-L453) + + + +### `mainwp_site_deleted` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 462](pages/page-mainwp-manage-sites-handler.php#L462-L462) + + + +### `mainwp-manage-sites-edit` + +*Method render_new_site_add_new_site()* + +Render page managesites add new site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(false)` | | +`'4.0.7.2'` | | +`'mainwp_manage_sites_edit'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 787](pages/page-mainwp-manage-sites.php#L787-L1054) + + + +### `mainwp_manage_sites_edit` + +*Edit site* + +Fires on the Edit child site page and allows user to hook in new site options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1056](pages/page-mainwp-manage-sites.php#L1056-L1063) + + + +### `mainwp_site_updated` + +*Update site* + +Fires after updating a website settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `int` | Child site Ọbject. +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2071](pages/page-mainwp-manage-sites.php#L2071-L2080) + + + +### `mainwp_site_suspended` + +*Site suspended changed.* + +Fires after suspended a website changed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `int` | ->id Child site ID. +`$suspended` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2083](pages/page-mainwp-manage-sites.php#L2083-L2092) + + + +### `mainwp_managesite_schedule_backup` + +*Execute the backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`array('type' => $task->type)` | | +`$_backup_result` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 282](pages/page-mainwp-manage-backups-handler.php#L282-L422) + + + +### `mainwp_before_groups_table` + +*Action: mainwp_before_groups_table* + +Fires before the Manage Groups table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 315](pages/page-mainwp-manage-groups.php#L315-L322) + + + +### `mainwp_after_groups_table` + +*Action: mainwp_after_groups_table* + +Fires after the Manage Groups table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 463](pages/page-mainwp-manage-groups.php#L463-L470) + + + +### `mainwp_site_tag_action` + +*Fires after a new sites tag has been created.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$group` | `object` | tag created. +`'updated'` | | +`$data` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 584](pages/page-mainwp-manage-groups.php#L584-L591) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 684](pages/page-mainwp-manage-groups.php#L684-L691) + + + +### `mainwp_added_new_group` + +*New Group Added* + +Fires after a new sites group has been created. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | `int` | Group ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 729](pages/page-mainwp-manage-groups.php#L729-L736) + + + +### `mainwp_tags_help_item` + +*Action: mainwp_tags_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Tags page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-groups.php](pages/page-mainwp-manage-groups.php), [line 789](pages/page-mainwp-manage-groups.php#L789-L800) + + + +### `mainwp_updates_pergroup_before_wp_updates` + +*Action: mainwp_updates_pergroup_before_wp_updates* + +Fires at the top of the WP updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 874](pages/page-mainwp-updates.php#L874-L887) + + + +### `mainwp_updates_pergroup_after_wp_updates` + +*Action: mainwp_updates_pergroup_after_wp_updates* + +Fires at the bottom of the WP updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 889](pages/page-mainwp-updates.php#L889-L902) + + + +### `mainwp_updates_pergroup_before_wp_updates` + +*Action: mainwp_updates_persite_before_wp_updates* + +Fires at the top of the WP updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 904](pages/page-mainwp-updates.php#L904-L917) + + + +### `mainwp_updates_persite_after_wp_updates` + +*Action: mainwp_updates_persite_after_wp_updates* + +Fires at the bottom of the WP updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 920](pages/page-mainwp-updates.php#L920-L933) + + + +### `mainwp_updates_persite_before_plugin_updates` + +*Action: mainwp_updates_persite_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1008](pages/page-mainwp-updates.php#L1008-L1024) + + + +### `mainwp_updates_persite_after_plugin_updates` + +*Action: mainwp_updates_persite_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1026](pages/page-mainwp-updates.php#L1026-L1042) + + + +### `mainwp_updates_pergroup_before_plugin_updates` + +*Action: mainwp_updates_pergroup_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1044](pages/page-mainwp-updates.php#L1044-L1060) + + + +### `mainwp_updates_pergroup_after_plugin_updates` + +*Action: mainwp_updates_pergroup_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1062](pages/page-mainwp-updates.php#L1062-L1078) + + + +### `mainwp_updates_persite_before_theme_updates` + +*Action: mainwp_updates_persite_before_theme_updates* + +Fires at the top of the Theme updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1181](pages/page-mainwp-updates.php#L1181-L1197) + + + +### `mainwp_updates_persite_after_theme_updates` + +*Action: mainwp_updates_persite_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1199](pages/page-mainwp-updates.php#L1199-L1215) + + + +### `mainwp_updates_pergroup_before_theme_updates` + +*Action: mainwp_updates_pergroup_before_theme_updates* + +Fires at the top of the Theme updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1217](pages/page-mainwp-updates.php#L1217-L1233) + + + +### `mainwp_updates_pergroup_after_theme_updates` + +*Action: mainwp_updates_pergroup_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1235](pages/page-mainwp-updates.php#L1235-L1251) + + + +### `mainwp_updates_persite_before_translation_updates` + +*Action: mainwp_updates_persite_before_translation_updates* + +Fires at the top of the Translation updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1352](pages/page-mainwp-updates.php#L1352-L1368) + + + +### `mainwp_updates_persite_after_translation_updates` + +*Action: mainwp_updates_persite_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1370](pages/page-mainwp-updates.php#L1370-L1386) + + + +### `mainwp_updates_pergroup_before_translation_updates` + +*Action: mainwp_updates_pergroup_before_translation_updates* + +Fires at the top of the Translation updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1388](pages/page-mainwp-updates.php#L1388-L1404) + + + +### `mainwp_updates_pergroup_after_translation_updates` + +*Action: mainwp_updates_pergroup_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1406](pages/page-mainwp-updates.php#L1406-L1422) + + + +### `mainwp_updates_persite_before_abandoned_plugins` + +*Action: mainwp_updates_persite_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1518](pages/page-mainwp-updates.php#L1518-L1532) + + + +### `mainwp_updates_persite_after_abandoned_plugins` + +*Action: mainwp_updates_persite_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1534](pages/page-mainwp-updates.php#L1534-L1548) + + + +### `mainwp_updates_pergroup_before_abandoned_plugins` + +*Action: mainwp_updates_pergroup_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1550](pages/page-mainwp-updates.php#L1550-L1564) + + + +### `mainwp_updates_pergroup_after_abandoned_plugins` + +*Action: mainwp_updates_pergroup_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1566](pages/page-mainwp-updates.php#L1566-L1580) + + + +### `mainwp_updates_persite_before_abandoned_themes` + +*Action: mainwp_updates_persite_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1669](pages/page-mainwp-updates.php#L1669-L1683) + + + +### `mainwp_updates_persite_after_abandoned_themes` + +*Action: mainwp_updates_persite_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Site view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1685](pages/page-mainwp-updates.php#L1685-L1699) + + + +### `mainwp_updates_pergroup_before_abandoned_themes` + +*Action: mainwp_updates_pergroup_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1701](pages/page-mainwp-updates.php#L1701-L1715) + + + +### `mainwp_updates_pergroup_after_abandoned_themes` + +*Action: mainwp_updates_pergroup_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Group view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1717](pages/page-mainwp-updates.php#L1717-L1731) + + + +### `mainwp_added_new_site` + +*This action is documented in class\class-mainwp-manage-sites-view.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 950](pages/page-mainwp-extensions-handler.php#L950-L951) + + + +### `mainwp_delete_site` + +*This action is documented in pages\page-mainwp-manage-sites-handler.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$clone_site` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 1040](pages/page-mainwp-extensions-handler.php#L1040-L1041) + + + +### `mainwp_added_new_group` + +*This action is documented in pages\page-mainwp-manage-groups.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$groupId` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 1075](pages/page-mainwp-extensions-handler.php#L1075-L1076) + + + +### `mainwp_site_info_widget_top` + +*Actoin: mainwp_site_info_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 124](widgets/widget-mainwp-site-info.php#L124-L133) + + + +### `mainwp_site_info_table_top` + +*Action: mainwp_site_info_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 146](widgets/widget-mainwp-site-info.php#L146-L155) + + + +### `mainwp_site_info_table_bottom` + +*Action: mainwp_site_info_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 179](widgets/widget-mainwp-site-info.php#L179-L188) + + + +### `mainwp_site_info_widget_bottom` + +*Action: mainwp_site_info_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 194](widgets/widget-mainwp-site-info.php#L194-L203) + + + +### `mainwp_connection_status_widget_bottom` + +*Action: mainwp_connection_status_widget_bottom* + +Fires at the bottom of the Connection Status widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 103](widgets/widget-mainwp-connection-status.php#L103-L110) + + + +### `mainwp_connection_status_widget_top` + +*Action: mainwp_connection_status_widget_top* + +Fires at the top of the Connection Status widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 199](widgets/widget-mainwp-connection-status.php#L199-L206) + + + +### `mainwp_connection_status_before_all_sites_list` + +*Action: mainwp_connection_status_before_all_sites_list* + +Fires before the list of all sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 264](widgets/widget-mainwp-connection-status.php#L264-L271) + + + +### `mainwp_connection_status_after_all_sites_list` + +*Action: mainwp_connection_status_after_all_sites_list* + +Fires after the list of all sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 277](widgets/widget-mainwp-connection-status.php#L277-L284) + + + +### `mainwp_connection_status_before_connected_sites_list` + +*Action: mainwp_connection_status_before_connected_sites_list* + +Fires before the list of connected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 290](widgets/widget-mainwp-connection-status.php#L290-L297) + + + +### `mainwp_connection_status_after_connected_sites_list` + +*Action: mainwp_connection_status_after_connected_sites_list* + +Fires after the list of connected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 303](widgets/widget-mainwp-connection-status.php#L303-L310) + + + +### `mainwp_connection_status_before_disconnected_sites_list` + +*Action: mainwp_connection_status_before_disconnected_sites_list* + +Fires before the list of disconnected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 316](widgets/widget-mainwp-connection-status.php#L316-L323) + + + +### `mainwp_connection_status_after_disconnected_sites_list` + +*Action: mainwp_connection_status_after_disconnected_sites_list* + +Fires after the list of disconnected sites in the connection status widgets + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 329](widgets/widget-mainwp-connection-status.php#L329-L336) + + + +### `mainwp_connection_status_widget_footer_left` + +*Action: mainwp_connection_status_widget_footer_left* + +Fires in the left column of the Connection status widget + + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 344](widgets/widget-mainwp-connection-status.php#L344-L351) + + + +### `mainwp_connection_status_widget_footer_right` + +*Action: mainwp_connection_status_widget_footer_right* + +Fires in the right column of the Connection status widget + + +**Changelog** + +Version | Description +------- | ----------- +`5.3` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 356](widgets/widget-mainwp-connection-status.php#L356-L363) + + + +### `mainwp_clients_overview_websites_widget_top` + +*Actoin: mainwp_clients_overview_websites_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 124](widgets/widget-mainwp-client-overview-sites.php#L124-L133) + + + +### `mainwp_clients_overview_websites_widget_bottom` + +*Action: mainwp_clients_overview_websites_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_info` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 149](widgets/widget-mainwp-client-overview-sites.php#L149-L158) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method mainwp_rest_api_non_mainwp_changes_callback()* + +Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10000` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 3448](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L3448-L3487) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method mainwp_rest_api_non_mainwp_changes_count_callback()* + +Callback function for managing the response to API requests made for the endpoint: non-mainwp-changes-count +Can be accessed via a request like: https://yourdomain.com/wp-json/mainwp/v1/site/non-mainwp-changes-count +API Method: GET + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`10000` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php), [line 3513](includes/rest-api/controller/version1/class-mainwp-rest-api-v1.php#L3513-L3556) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites by tag id.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php), [line 370](includes/rest-api/controller/version2/class-mainwp-rest-tags-controller.php#L370-L390) + + + +### `mainwp_rest_pre_insert_site_item` + +*Filters an object before it is inserted via the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item_fields` | `array` | Site data. +`$request` | `\WP_REST_Request` | Request object. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2078](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2078-L2086) + + + +### `mainwp_rest_pre_update_site_item` + +*Filters an object before it is inserted via the REST API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | +`$request` | `\WP_REST_Request` | Request object. + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php), [line 2125](includes/rest-api/controller/version2/class-mainwp-rest-sites-controller.php#L2125-L2133) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'simple_view'` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 828](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L828-L828) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Update all items of site.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'simple_view'` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 792](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L792-L858) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites of client.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php), [line 497](includes/rest-api/controller/version2/class-mainwp-rest-clients-controller.php#L497-L521) + + + +### `mainwp_cron_bulk_update_sites_limit` + +*Method handle_cron_batch_updates()* + +MainWP Cron batch Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 95](class/class-mainwp-cron-jobs-batch.php#L95-L128) + + + +### `mainwp_currentuserallowedaccessgroups` + +*Filter: mainwp_currentuserallowedaccessgroups* + +Filters allowed groups for the current user. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'all'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 1963](class/class-mainwp-db.php#L1963-L1970) + + + +### `mainwp_boilerplate_get_tokens` + +*Filter: mainwp_boilerplate_get_tokens* + +Enables and filters the Boilerplate extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object` | Object containing the child site data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 629](class/class-mainwp-notification-settings.php#L629-L638) + + + +### `mainwp_pro_reports_get_site_tokens` + +*Filter: mainwp_pro_reports_get_site_tokens* + +Enables and filters the Pro Reports extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 648](class/class-mainwp-notification-settings.php#L648-L657) + + + +### `mainwp_client_report_get_site_tokens` + +*Filter: mainwp_client_report_get_site_tokens* + +Enables and filters the Client Reports extension tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 667](class/class-mainwp-notification-settings.php#L667-L676) + + + +### `mainwp_boilerplate_get_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 708](class/class-mainwp-notification-settings.php#L708-L709) + + + +### `mainwp_pro_reports_get_site_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 715](class/class-mainwp-notification-settings.php#L715-L716) + + + +### `mainwp_client_report_get_site_tokens` + +*This filter is documented in ../class/class-mainwp-notification-settings.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 722](class/class-mainwp-notification-settings.php#L722-L723) + + + +### `mainwp_connect_sign_algo` + +*Method get_connect_sign_algorithm().* + +Get supported sign algorithms. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$alg` | | +`$website` | `mixed` | The Website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1541](class/class-mainwp-system-utility.php#L1541-L1583) + + + +### `mainwp_staging_current_user_sites_view` + +*Method get_select_staging_view_sites()* + +Get staging options sites view for current users. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$view` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1654](class/class-mainwp-system-utility.php#L1654-L1669) + + + +### `mainwp_html_regression_largest_change_scope` + +*Method mainwp_upgrade_plugintheme()* + +Update plugin or theme. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websiteId` | | +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 525](class/class-mainwp-post-plugin-theme-handler.php#L525-L638) + + + +### `mainwp_log_to_db_priority` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$priority` | `int` | Set priority. +`$website` | `mixed` | website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L445) + + + +### `mainwp_log_do_to_db` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$do_log` | | +`$website` | `mixed` | website object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L457) + + + +### `mainwp_logger_to_db` + +*Method log()* + +Create Log File. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$website` | `mixed` | Site object. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 502](class/class-mainwp-logger.php#L502-L525) + + + +### `mainwp_curl_curlopt_resolve` + +*Fetch uptime urls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$mo_url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-connect.php](class/class-mainwp-uptime-monitoring-connect.php), [line 350](class/class-mainwp-uptime-monitoring-connect.php#L350-L502) + + + +### `mainwp_connect_sites_not_allow_ports` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$def_not_allow` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L264) + + + +### `mainwp_connect_sites_allow_ports` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L282) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method mainwp_testwp()* + +Test if Child Site can be reached. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-site-handler.php](class/class-mainwp-post-site-handler.php), [line 236](class/class-mainwp-post-site-handler.php#L236-L292) + + + +### `mainwp_postprocess_backup_sites_feedback` + +*Method backup_site()* + +Backup Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$unique` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-backup-handler.php](class/class-mainwp-backup-handler.php), [line 28](class/class-mainwp-backup-handler.php#L28-L513) + + + +### `mainwp_clone_enabled` + +*Filter: mainwp_clone_enabled* + +Filters whether the Clone feature is enabled or disabled. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 104](class/class-mainwp-sync.php#L104-L111) + + + +### `mainwp-sync-others-data` + +*Method sync_site()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array(), $pWebsite)` | | +`'4.0.7.2'` | | +`'mainwp_sync_others_data'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 62](class/class-mainwp-sync.php#L62-L150) + + + +### `mainwp_sync_others_data` + +*Filter: mainwp_sync_others_data* + +Filters additional data in the sync request. Allows extensions or 3rd party plugins to hook data to the sync request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$othersData` | | +`$pWebsite` | `object` | Object contaning child site data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 152](class/class-mainwp-sync.php#L152-L163) + + + +### `mainwp_site_actions_saved_days_number` + +*Method sync_site()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`30` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 62](class/class-mainwp-sync.php#L62-L165) + + + +### `mainwp_before_save_sync_result` + +*Filter: mainwp_before_save_sync_result* + +Filters data returned from child site before saving to the database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pWebsite` | `object` | Object containing child site data. + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 267](class/class-mainwp-sync.php#L267-L276) + + + +### `mainwp_sync_site_after_sync_result` + +*Method sync_information_array()* + +Grab all Child Site Information. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$error` | `bool` | True\|False. +`$pWebsite` | `object` | The website object. +`$information` | `array` | Array contaning information returned from child site. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-sync.php](class/class-mainwp-sync.php), [line 221](class/class-mainwp-sync.php#L221-L575) + + + +### `mainwp_managesites_getbackuplink` + +*Filter: mainwp_managesites_getbackuplink* + +Filters the link for the last backup item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$item['id']` | | +`$lastBackup` | `string` | Last backup timestamp for the child site. +`$backup_method` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 104](class/class-mainwp-manage-sites-list-table.php#L104-L114) + + + +### `mainwp_managesites_bulk_actions` + +*Filter: mainwp_managesites_bulk_actions* + +Filters bulk actions on the Manage Sites page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 504](class/class-mainwp-manage-sites-list-table.php#L504-L511) + + + +### `mainwp_sites_table_features` + +*Filter: mainwp_sites_table_features* + +Filter the Monitoring table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1136](class/class-mainwp-manage-sites-list-table.php#L1136-L1143) + + + +### `mainwp_sitestable_website` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$this->userExtension` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1554](class/class-mainwp-manage-sites-list-table.php#L1554-L1700) + + + +### `mainwp_sitestable_website` + +*Columns for a single row.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `mixed` | Child Site. +`$this->userExtension` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1971](class/class-mainwp-manage-sites-list-table.php#L1971-L2148) + + + +### `mainwp_monitoringsites_bulk_actions` + +*Filter: mainwp_monitoringsites_bulk_actions* + +Filters bulk actions on the Monitoring Sites page. Allows user to hook in new actions or remove default ones. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$actions` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-monitoring-sites-list-table.php](class/class-mainwp-monitoring-sites-list-table.php), [line 295](class/class-mainwp-monitoring-sites-list-table.php#L295-L302) + + + +### `mainwp_updatescheck_sendmail_for_each_auto_sync_finished` + +*Method cron_updates_check()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 375](class/class-mainwp-system-cron-jobs.php#L375-L456) + + + +### `mainwp_pre_fetch_authed_data` + +*Method get_post_data_authed()* + +Get authorized $_POST data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$params` | `null` | Post parameters. +`$what` | `mixed` | What we are posting. +`$website` | `mixed` | Array of Child Site Info. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 361](class/class-mainwp-connect.php#L361-L380) + + + +### `mainwp_open_site_login_required_params` + +*Method get_get_data_authed()* + +Get authorized $_GET data & build query. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$params` | | +`$website` | `mixed` | Child Site data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 525](class/class-mainwp-connect.php#L525-L583) + + + +### `mainwp_curl_curlopt_resolve` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$website->url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L899) + + + +### `mainwp_curl_curlopt_resolve` + +*Method fetch_url_site()* + +M Fetch URL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$website->url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 1351](class/class-mainwp-connect.php#L1351-L1494) + + + +### `mainwp_manage_sites_navigation_items` + +*Method render_managesites_header()* + +Render manage sites header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$renderItems` | | +`$site_id` | `int` | Site id. +`$shownPage` | `string` | Current Page. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 316](class/class-mainwp-manage-sites-view.php#L316-L374) + + + +### `mainwp-sync-extensions-options` + +*Method render_sync_exts_settings()* + +Render sync extension settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_sync_extensions_options'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 566](class/class-mainwp-manage-sites-view.php#L566-L575) + + + +### `mainwp_sync_extensions_options` + +*Method render_sync_exts_settings()* + +Render sync extension settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sync_extensions_options` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 566](class/class-mainwp-manage-sites-view.php#L566-L576) + + + +### `mainwp_default_template_locate` + +*Render the email notification edit form.* + +Credits. + +Plugin-Name: WooCommerce. +Plugin URI: https://woocommerce.com/. +Author: Automattic. +Author URI: https://woocommerce.com. +License: GPLv3 or later. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$default_file` | | +`$template` | | +`$default_dir` | | +`$type` | `string` | Email type. +`$siteid` | `bool` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 1654](class/class-mainwp-manage-sites-view.php#L1654-L1680) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method add_site()* + +Add Child Site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$params['url']` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2020](class/class-mainwp-manage-sites-view.php#L2020-L2039) + + + +### `mainwp_clients_website_client_tokens` + +*Method get_website_client_tokens_data()* + +Get website client tokens. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$client_tokens` | | +`$websiteid` | `int` | Website ID. +`$clientid` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-client-handler.php](class/class-mainwp-client-handler.php), [line 454](class/class-mainwp-client-handler.php#L454-L530) + + + +### `mainwp_cron_bulk_update_sites_limit` + +*Method handle_cron_auto_updates()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 104](class/class-mainwp-cron-jobs-auto-updates.php#L104-L115) + + + +### `mainwp_getwebsite_by_id` + +*Get sites by website ID.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website_id` | `int` | User ID. +`$selectGroups` | `bool` | Select groups. +`$extra_view` | `array` | get extra option fields. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 60](modules/api-backups/classes/class-api-backups-helper.php#L60-L70) + + + +### `mainwp_updatewebsiteoptions` + +*Method update_website_option().* + +Update the website option. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object\|int` | website object or ID. +`$opt_name` | `string` | website. +`$opt_value` | `string` | website. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 78](modules/api-backups/classes/class-api-backups-helper.php#L78-L88) + + + +### `mainwp_getwebsiteoptions` + +*Method get_website_options().* + +Get the website options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website` | `object\|int` | website object or ID. +`$options` | `string\|array` | Options name. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 91](modules/api-backups/classes/class-api-backups-helper.php#L91-L100) + + + +### `mainwp_db_fetch_object` + +*Method fetch_object().* + +Handle fetch object db. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$websites` | `mixed` | websites results. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 104](modules/api-backups/classes/class-api-backups-helper.php#L104-L114) + + + +### `mainwp_db_free_result` + +*Method free_result().* + +Handle fetch result db. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$results` | `mixed` | websites results. + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-helper.php](modules/api-backups/classes/class-api-backups-helper.php), [line 118](modules/api-backups/classes/class-api-backups-helper.php#L118-L131) + + + +### `mainwp_module_log_data` + +*Log handler* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`compact('connector', 'message', 'args', 'site_id', 'context', 'action', 'state', 'user_id')` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connector.php](modules/logs/classes/class-log-connector.php), [line 81](modules/logs/classes/class-log-connector.php#L81-L100) + + + +### `mainwp_module_log_cron_tracking` + +*Log handler.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$connector` | `\MainWP\Dashboard\Module\Log\Connector` | Connector responsible for logging the event. +`$message` | `string` | sprintf-ready error message string. +`$args` | `array` | sprintf (and extra) arguments to use. +`$site_id` | `int` | Target site id. +`$context` | `string` | Context of the event. +`$action` | `string` | Action of the event. +`$user_id` | `int` | User responsible for the event. +`$state` | `int\|null` | action status: null - N/A, 0 - failed, 1 - success. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log.php](modules/logs/classes/class-log.php), [line 36](modules/logs/classes/class-log.php#L36-L60) + + + +### `mainwp_rest_routes_sites_controller_get_allowed_fields_by_context` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'view'` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 545](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L545-L545) + + + +### `mainwp_rest_routes_sites_controller_filter_allowed_fields_by_context` + +*Get sites by item.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php), [line 509](modules/cost-tracker/rest-api/version2/class-mainwp-rest-costs-controller.php#L509-L552) + + + +### `mainwp_manage_sites_force_use_ipv4` + +*Method check_site()* + +Check to add site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`null` | | +`$url` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 26](pages/page-mainwp-manage-sites-handler.php#L26-L56) + + + +### `mainwp_posting_selected_groups` + +*Method posting_posts()* + +Posting posts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$selected_groups` | | +`$id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post-page-handler.php](pages/page-mainwp-post-page-handler.php), [line 588](pages/page-mainwp-post-page-handler.php#L588-L635) + + + +### `mainwp_custom_post_types_get_post_connections` + +*Method posts_search_handler()* + +Post page search handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$child_post_ids` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 1282](pages/page-mainwp-post.php#L1282-L1325) + + + +### `mainwp_bulkpost_select_sites_settings` + +*Renders bulkpost to edit.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sites_settings` | | +`$post` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-post.php](pages/page-mainwp-post.php), [line 2009](pages/page-mainwp-post.php#L2009-L2275) + + + +### `mainwp_manage_sites_optimize_loading` + +*Method render_all_sites()* + +Render manage sites content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | +`'manage-sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1706](pages/page-mainwp-manage-sites.php#L1706-L1717) + + + +### `mainwp_open_site_allow_vars` + +*Child Site Dashboard Link redirect handler.* + +This method checks to see if the current user is allow to access the +Child Site, then grabs the websiteid, location, openurl & passes it onto +either open_site_location or open_site methods. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$allow_vars` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-site-open.php](pages/page-mainwp-site-open.php), [line 27](pages/page-mainwp-site-open.php#L27-L72) + + + +### `mainwp_html_regression_largest_change_scope` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | +`true` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 58](pages/page-mainwp-updates-handler.php#L58-L58) + + + +### `mainwp_manage_sites_optimize_loading` + +*Method render_all_sites()* + +Render monitoring sites content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | +`'monitor-sites'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-monitoring.php](pages/page-mainwp-monitoring.php), [line 272](pages/page-mainwp-monitoring.php#L272-L285) + + + +### `mainwp_child_site_info_widget_content` + +*Filter: mainwp_child_site_info_widget_content* + +Filters the Child Info array for the Site Info widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$child_site_info` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 83](widgets/widget-mainwp-site-info.php#L83-L90) + + + +### `mainwp_site_info_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Site Info', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-info.php](widgets/widget-mainwp-site-info.php), [line 116](widgets/widget-mainwp-site-info.php#L116-L116) + + + +### `mainwp_connection_status_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Connection Status', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 156](widgets/widget-mainwp-connection-status.php#L156-L156) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 407](widgets/widget-mainwp-connection-status.php#L407-L407) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 418](widgets/widget-mainwp-connection-status.php#L418-L418) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 459](widgets/widget-mainwp-connection-status.php#L459-L459) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 470](widgets/widget-mainwp-connection-status.php#L470-L470) + + + +### `mainwp_connection_status_list_item_title_url` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'admin.php?page=managesites&dashboard=' . $website->id` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 506](widgets/widget-mainwp-connection-status.php#L506-L506) + + + +### `mainwp_connection_status_list_item_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-connection-status.php](widgets/widget-mainwp-connection-status.php), [line 517](widgets/widget-mainwp-connection-status.php#L517-L517) + + + +### `mainwp_clients_overview_websites_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Sites', 'mainwp')` | | +`$client_info` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-client-overview-sites.php](widgets/widget-mainwp-client-overview-sites.php), [line 117](widgets/widget-mainwp-client-overview-sites.php#L117-L117) + + + +### `mainwp_widget_site_actions_limit_number` + +*Method render()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`50` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 75](widgets/widget-mainwp-site-actions.php#L75-L84) + + + diff --git a/mainwp-hooks-old/dashboard/filters/system-settings/index.md b/mainwp-hooks-old/dashboard/filters/system-settings/index.md new file mode 100644 index 0000000..af89a8c --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/system-settings/index.md @@ -0,0 +1,481 @@ +# System & Settings Filters + +Hooks related to general settings and system configuration. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_system_init`](#mainwp_system_init) - MainWP_System constructor. +- [`mainwp_log_system_query`](#mainwp_log_system_query) - Method log_system_query +- [`mainwp_before_save_email_settings`](#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_after_save_email_settings`](#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_settings_email_settings`](#mainwp_settings_email_settings) - Action: mainwp_settings_email_settings +- [`mainwp_module_cost_tracker_settings_bottom`](#mainwp_module_cost_tracker_settings_bottom) - Render settings content. +- [`mainwp_before_save_general_settings`](#mainwp_before_save_general_settings) - Action: mainwp_before_save_general_settings +- [`mainwp_after_save_general_settings`](#mainwp_after_save_general_settings) - Action: mainwp_after_save_general_settings +- [`mainwp_settings_form_top`](#mainwp_settings_form_top) - Action: mainwp_settings_form_top +- [`mainwp_settings_form_bottom`](#mainwp_settings_form_bottom) - Action: mainwp_settings_form_bottom +- [`mainwp_before_save_advanced_settings`](#mainwp_before_save_advanced_settings) - Action: mainwp_before_save_advanced_settings +- [`mainwp_after_save_advanced_settings`](#mainwp_after_save_advanced_settings) - Action: mainwp_after_save_advanced_settings +- [`mainwp_advanced_settings_form_top`](#mainwp_advanced_settings_form_top) - Action: mainwp_advanced_settings_form_top +- [`mainwp_advanced_settings_form_bottom`](#mainwp_advanced_settings_form_bottom) - Action: mainwp_advanced_settings_form_bottom +- [`mainwp_settings_help_item`](#mainwp_settings_help_item) - Action: mainwp_settings_help_item +- [`mainwp_before_save_email_settings`](#mainwp_before_save_email_settings) - Action: mainwp_before_save_email_settings +- [`mainwp_after_save_email_settings`](#mainwp_after_save_email_settings) - Action: mainwp_after_save_email_settings +- [`mainwp_before_wp_config_section`](#mainwp_before_wp_config_section) - Action: mainwp_before_wp_config_section +- [`mainwp_after_wp_config_section`](#mainwp_after_wp_config_section) - Action: mainwp_after_wp_config_section +- [`mainwp_init_load_all_options`](#mainwp_init_load_all_options) - Method load_all_options() +- [`mainwp_module_cost_tracker_before_save_settings`](#mainwp_module_cost_tracker_before_save_settings) - Settigns Post +- [`mainwp_default_settings_indicator`](#mainwp_default_settings_indicator) - Method render_not_default_indicator(). +- [`mainwp_default_settings_indicator`](#mainwp_default_settings_indicator) - Method render_not_default_email_settings_indicator(). +- [`mainwp_clear_and_lock_options`](#mainwp_clear_and_lock_options) - Clean and Lock extension options + +## Hook Details + +### `mainwp_system_init` + +*MainWP_System constructor.* + +Runs any time class is called. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 82](class/class-mainwp-system.php#L82-L135) + + + +### `mainwp_log_system_query` + +*Method log_system_query* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$params` | `array` | params. +`$sql` | `string` | query. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 3242](class/class-mainwp-db.php#L3242-L3252) + + + +### `mainwp_before_save_email_settings` + +*Action: mainwp_before_save_email_settings* + +Fires before save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$update_settings` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 76](class/class-mainwp-notification-settings.php#L76-L83) + + + +### `mainwp_after_save_email_settings` + +*Action: mainwp_after_save_email_settings* + +Fires after save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$emails_settings` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 87](class/class-mainwp-notification-settings.php#L87-L94) + + + +### `mainwp_settings_email_settings` + +*Action: mainwp_settings_email_settings* + +Fires after the default email settings. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 175](class/class-mainwp-notification-settings.php#L175-L182) + + + +### `mainwp_module_cost_tracker_settings_bottom` + +*Render settings content.* + +Renders the extension settings page. + + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/pages/page-cost-tracker-settings.php](modules/cost-tracker/pages/page-cost-tracker-settings.php), [line 88](modules/cost-tracker/pages/page-cost-tracker-settings.php#L88-L343) + + + +### `mainwp_before_save_general_settings` + +*Action: mainwp_before_save_general_settings* + +Fires before general settings save. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 454](pages/page-mainwp-settings.php#L454-L461) + + + +### `mainwp_after_save_general_settings` + +*Action: mainwp_after_save_general_settings* + +Fires after save general settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 585](pages/page-mainwp-settings.php#L585-L592) + + + +### `mainwp_settings_form_top` + +*Action: mainwp_settings_form_top* + +Fires at the top of settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 631](pages/page-mainwp-settings.php#L631-L638) + + + +### `mainwp_settings_form_bottom` + +*Action: mainwp_settings_form_bottom* + +Fires at the bottom of settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 906](pages/page-mainwp-settings.php#L906-L913) + + + +### `mainwp_before_save_advanced_settings` + +*Action: mainwp_before_save_advanced_settings* + +Fires before save advanced settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1319](pages/page-mainwp-settings.php#L1319-L1326) + + + +### `mainwp_after_save_advanced_settings` + +*Action: mainwp_after_save_advanced_settings* + +Fires after advanced settings save. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_POST` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1373](pages/page-mainwp-settings.php#L1373-L1380) + + + +### `mainwp_advanced_settings_form_top` + +*Action: mainwp_advanced_settings_form_top* + +Fires at the top of advanced settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1401](pages/page-mainwp-settings.php#L1401-L1408) + + + +### `mainwp_advanced_settings_form_bottom` + +*Action: mainwp_advanced_settings_form_bottom* + +Fires at the bottom of advanced settings form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 1680](pages/page-mainwp-settings.php#L1680-L1687) + + + +### `mainwp_settings_help_item` + +*Action: mainwp_settings_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Settings page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings.php](pages/page-mainwp-settings.php), [line 2393](pages/page-mainwp-settings.php#L2393-L2404) + + + +### `mainwp_before_save_email_settings` + +*Action: mainwp_before_save_email_settings* + +Fires before save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$update_settings` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1898](pages/page-mainwp-manage-sites.php#L1898-L1905) + + + +### `mainwp_after_save_email_settings` + +*Action: mainwp_after_save_email_settings* + +Fires after save email settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$settings_emails` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1911](pages/page-mainwp-manage-sites.php#L1911-L1918) + + + +### `mainwp_before_wp_config_section` + +*Action: mainwp_before_wp_config_section* + +Fires before the WP Config section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1601](pages/page-mainwp-server-information.php#L1601-L1608) + + + +### `mainwp_after_wp_config_section` + +*Action: mainwp_after_wp_config_section* + +Fires after the WP Config section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1639](pages/page-mainwp-server-information.php#L1639-L1646) + + + +### `mainwp_init_load_all_options` + +*Method load_all_options()* + +Load all wp_options data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$options` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 297](class/class-mainwp-system.php#L297-L380) + + + +### `mainwp_module_cost_tracker_before_save_settings` + +*Settigns Post* + +Handles the save settings post request. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$all_opts` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-admin.php](modules/cost-tracker/classes/class-cost-tracker-admin.php), [line 552](modules/cost-tracker/classes/class-cost-tracker-admin.php#L552-L590) + + + +### `mainwp_default_settings_indicator` + +*Method render_not_default_indicator().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$indi` | | +`$field` | `string` | setting field to check. +`$indi_value` | | +`$current_value` | `mixed` | setting current value. +`$render_indi` | `bool` | to render indication. +`$default_val` | `mixed` | default value directly. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 72](pages/page-mainwp-settings-indicator.php#L72-L92) + + + +### `mainwp_default_settings_indicator` + +*Method render_not_default_email_settings_indicator().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$indi` | | +`$field` | `string` | setting field to check. +`$def` | | +`$current_value` | `mixed` | setting current value. +`$render_indi` | `bool` | to render indication. +`$type` | `string` | setting type to get default value. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-settings-indicator.php](pages/page-mainwp-settings-indicator.php), [line 99](pages/page-mainwp-settings-indicator.php#L99-L115) + + + +### `mainwp_clear_and_lock_options` + +*Clean and Lock extension options* + +Adds additional options related to Clean and Lock options in order to avoid conflicts when HTTP Basic auth is set. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 379](pages/page-mainwp-install-bulk.php#L379-L386) + + + diff --git a/mainwp-hooks-old/dashboard/filters/ui-display/index.md b/mainwp-hooks-old/dashboard/filters/ui-display/index.md new file mode 100644 index 0000000..1a92270 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/ui-display/index.md @@ -0,0 +1,3765 @@ +# UI & Display Filters + +Hooks for modifying the Dashboard UI, widgets, menus, and display elements. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp-activated`](#mainwp-activated) - MainWP_System constructor. +- [`deprecated_hook_run`](#deprecated_hook_run) - Display a deprecated notice for old hooks. +- [`mainwp_before_log_data`](#mainwp_before_log_data) - Method log_to_db() +- [`mainwp_before_seclect_sites`](#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_after_seclect_sites`](#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_overview_screen_options_top`](#mainwp_overview_screen_options_top) - Action: mainwp_overview_screen_options_top +- [`mainwp_overview_screen_options_bottom`](#mainwp_overview_screen_options_bottom) - Action: mainwp_overview_screen_options_bottom +- [`mainwp_before_subheader`](#mainwp_before_subheader) - Action: mainwp_before_subheader +- [`mainwp_subheader_actions`](#mainwp_subheader_actions) - Action: mainwp_subheader_actions +- [`mainwp_after_subheader`](#mainwp_after_subheader) - Action: mainwp_after_subheader +- [`mainwp_before_upload_custom_icon`](#mainwp_before_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_after_upload_custom_icon`](#mainwp_after_upload_custom_icon) - Action: mainwp_after_upload_custom_icon +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp-sitestable-prepared-items`](#mainwp-sitestable-prepared-items) - Action is being replaced with mainwp_sitestable_prepared_items +- [`mainwp_sitestable_prepared_items`](#mainwp_sitestable_prepared_items) - Action: mainwp_sitestable_prepared_items +- [`mainwp_cronload_action`](#mainwp_cronload_action) - Action: mainwp_cronload_action +- [`mainwp_admin_menu`](#mainwp_admin_menu) - Action: mainwp_admin_menu +- [`mainwp_admin_menu_sub`](#mainwp_admin_menu_sub) - Action: mainwp_admin_menu_sub +- [`before_mainwp_menu`](#before_mainwp_menu) - Action: before_mainwp_menu +- [`after_mainwp_menu`](#after_mainwp_menu) - Action: after_mainwp_menu +- [`before_mainwp_menu`](#before_mainwp_menu) - Action: before_mainwp_menu +- [`after_mainwp_menu`](#after_mainwp_menu) - Action: after_mainwp_menu +- [`mainwp_before_seclect_sites`](#mainwp_before_seclect_sites) - Action: mainwp_before_seclect_sites +- [`mainwp_after_seclect_sites`](#mainwp_after_seclect_sites) - Action: mainwp_after_seclect_sites +- [`mainwp_extensions_top_header_after_tab`](#mainwp_extensions_top_header_after_tab) - Method render_header() +- [`mainwp_before_template_part`](#mainwp_before_template_part) - Action: mainwp_before_template_part +- [`mainwp_after_template_part`](#mainwp_after_template_part) - Action: mainwp_after_template_part +- [`mainwp_removed_extension_menu`](#mainwp_removed_extension_menu) - Remove Extensions menu from MainWP Menu. +- [`mainwp_daily_digest_email_header`](#mainwp_daily_digest_email_header) - Daily Digest Email Header +- [`mainwp_daily_digest_email_footer`](#mainwp_daily_digest_email_footer) - Daily Digest Email Footer +- [`mainwp_module_log_record_insert_error`](#mainwp_module_log_record_insert_error) - Fires on a record insertion error +- [`mainwp_module_log_record_inserted`](#mainwp_module_log_record_inserted) - Fires after a record has been inserted +- [`mainwp_compact_action`](#mainwp_compact_action) - Create compact logs and erase records from the database. +- [`mainwp_log_action`](#mainwp_log_action) - Schedules a purge of records. +- [`mainwp_module_dashboard_insights_help_item`](#mainwp_module_dashboard_insights_help_item) - Action: mainwp_module_dashboard_insights_help_item +- [`mainwp_module_log_after_connectors_registration`](#mainwp_module_log_after_connectors_registration) - Fires after all connectors have been registered. +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_module_log_overview_screen_options_top`](#mainwp_module_log_overview_screen_options_top) - Action: mainwp_module_log_overview_screen_options_top +- [`mainwp_module_log_overview_screen_options_bottom`](#mainwp_module_log_overview_screen_options_bottom) - Action: mainwp_module_log_overview_screen_options_bottom +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_logs_manage_table_top`](#mainwp_logs_manage_table_top) - Action: mainwp_logs_manage_table_top +- [`mainwp_logs_manage_table_bottom`](#mainwp_logs_manage_table_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Actoin: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_logs_widget_top`](#mainwp_logs_widget_top) - Action: mainwp_logs_widget_top +- [`mainwp_logs_widget_bottom`](#mainwp_logs_widget_bottom) - Action: mainwp_logs_widget_bottom +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_module_cost_tracker_summary_screen_options_top`](#mainwp_module_cost_tracker_summary_screen_options_top) - Action: mainwp_module_cost_tracker_summary_screen_options_top +- [`mainwp_module_cost_tracker_summary_screen_options_bottom`](#mainwp_module_cost_tracker_summary_screen_options_bottom) - Action: mainwp_module_cost_tracker_summary_screen_options_bottom +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_module_upcoming_renewals_before_costs_list`](#mainwp_module_upcoming_renewals_before_costs_list) - Action: mainwp_module_upcoming_renewals_before_costs_list +- [`mainwp_module_upcoming_renewals_after_costs_list`](#mainwp_module_upcoming_renewals_after_costs_list) - Action: mainwp_module_upcoming_renewals_after_costs_list +- [`mainwp_module_yearly_renewals_before_costs_list`](#mainwp_module_yearly_renewals_before_costs_list) - Action: mainwp_module_yearly_renewals_before_costs_list +- [`mainwp_module_yearly_renewals_after_costs_list`](#mainwp_module_yearly_renewals_after_costs_list) - Action: mainwp_module_yearly_renewals_after_costs_list +- [`mainwp_module_monthly_renewals_before_costs_list`](#mainwp_module_monthly_renewals_before_costs_list) - Action: mainwp_module_monthly_renewals_before_costs_list +- [`mainwp_module_monthly_renewals_after_costs_list`](#mainwp_module_monthly_renewals_after_costs_list) - Action: mainwp_module_monthly_renewals_after_costs_list +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_module_cost_tracker_widget_top`](#mainwp_module_cost_tracker_widget_top) - Action: mainwp_module_cost_tracker_widget_top +- [`mainwp_module_cost_tracker_widget_bottom`](#mainwp_module_cost_tracker_widget_bottom) - Action: mainwp_module_cost_tracker_widget_bottom +- [`mainwp_reset_admin_pass_modal_top`](#mainwp_reset_admin_pass_modal_top) - Action: mainwp_reset_admin_pass_modal_top +- [`mainwp_reset_admin_pass_modal_bottom`](#mainwp_reset_admin_pass_modal_bottom) - Action: mainwp_reset_admin_pass_modal_bottom +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_before_server_info_table`](#mainwp_before_server_info_table) - Action: mainwp_before_server_info_table +- [`mainwp_after_server_info_table`](#mainwp_after_server_info_table) - Action: mainwp_after_server_info_table +- [`mainwp_before_cron_jobs_table`](#mainwp_before_cron_jobs_table) - Action: mainwp_before_cron_jobs_table +- [`mainwp_after_cron_jobs_table`](#mainwp_after_cron_jobs_table) - Action: mainwp_after_cron_jobs_table +- [`mainwp_before_error_log_table`](#mainwp_before_error_log_table) - Action: mainwp_before_error_log_table +- [`mainwp_after_error_log_table`](#mainwp_after_error_log_table) - Action: mainwp_after_error_log_table +- [`mainwp_before_overview_widgets`](#mainwp_before_overview_widgets) - Action: mainwp_before_overview_widgets +- [`mainwp_after_overview_widgets`](#mainwp_after_overview_widgets) - Action: 'mainwp_after_overview_widgets' +- [`mainwp_screen_options_modal_top`](#mainwp_screen_options_modal_top) - Action: mainwp_screen_options_modal_top +- [`mainwp_screen_options_modal_bottom`](#mainwp_screen_options_modal_bottom) - Action: mainwp_screen_options_modal_bottom +- [`mainwp_added_extension_menu`](#mainwp_added_extension_menu) - Adds Extension to the navigation menu +- [`mainwp_notes_widget_top`](#mainwp_notes_widget_top) - Action: mainwp_notes_widget_top +- [`mainwp_notes_widget_bottom`](#mainwp_notes_widget_bottom) - Action: mainwp_notes_widget_bottom +- [`mainwp_get_started_widget_top`](#mainwp_get_started_widget_top) - Action: mainwp_get_started_widget_top +- [`mainwp_get_started_widget_bottom`](#mainwp_get_started_widget_bottom) - Action: mainwp_get_started_widget_bottom +- [`mainwp_non_mainwp_changes_widget_top`](#mainwp_non_mainwp_changes_widget_top) - Actoin: mainwp_non_mainwp_changes_widget_top +- [`mainwp_non_mainwp_changes_table_top`](#mainwp_non_mainwp_changes_table_top) - Action: mainwp_non_mainwp_changes_table_top +- [`mainwp_non_mainwp_changes_table_bottom`](#mainwp_non_mainwp_changes_table_bottom) - Action: mainwp_non_mainwp_changes_table_bottom +- [`mainwp_non_mainwp_changes_widget_bottom`](#mainwp_non_mainwp_changes_widget_bottom) - Action: mainwp_non_mainwp_changes_widget_bottom +- [`mainwp_disablemenuitems`](#mainwp_disablemenuitems) - Method init() +- [`mainwp_main_menu_disable_menu_items`](#mainwp_main_menu_disable_menu_items) - Filter: mainwp_main_menu_disable_menu_items +- [`mainwp_ui_use_wp_calendar`](#mainwp_ui_use_wp_calendar) - Filter: mainwp_ui_use_wp_calendar +- [`mainwp_admin_enqueue_scripts`](#mainwp_admin_enqueue_scripts) - Method admin_enqueue_scripts() +- [`mainwp_all_disablemenuitems`](#mainwp_all_disablemenuitems) - Method admin_footer() +- [`minwp_notification_template_copy_message`](#minwp_notification_template_copy_message) - Use mainwp_notification_template_copy_message instead. +- [`mainwp_notification_template_copy_message`](#mainwp_notification_template_copy_message) - Filter mainwp_notification_template_copy_message. +- [`mainwp_notification_type_desc`](#mainwp_notification_type_desc) - Get email settings description. +- [`mainwp_notification_types`](#mainwp_notification_types) - Get email notification types. +- [`mainwp_default_emails_fields`](#mainwp_default_emails_fields) - Get default email notifications values. +- [`mainwp-getmetaboxes`](#mainwp-getmetaboxes) - Method apply_filter() +- [`{$filter}`](#filter) - Method apply_filter() +- [`mainwp_log_status`](#mainwp_log_status) - MainWP_Logger constructor. +- [`mainwp_log_specific`](#mainwp_log_specific) - MainWP_Logger constructor. +- [`mainwp_log_to_db_data`](#mainwp_log_to_db_data) - Method log_to_db() +- [`mainwp_file_uploader_size_limit`](#mainwp_file_uploader_size_limit) - Filter: 'mainwp_file_uploader_size_limit' +- [`mainwp_menu_logo_href`](#mainwp_menu_logo_href) - *Arguments* +- [`mainwp_menu_logo_src`](#mainwp_menu_logo_src) - *Arguments* +- [`mainwp_menu_logo_alt`](#mainwp_menu_logo_alt) - *Arguments* +- [`mainwp_header_actions_right`](#mainwp_header_actions_right) - Filter: mainwp_header_actions_right +- [`mainwp_screen_options_pulse_control`](#mainwp_screen_options_pulse_control) - Method render_header_actions() +- [`mainwp_do_widget_boxes_sorted`](#mainwp_do_widget_boxes_sorted) - Method do_widget_boxes() +- [`mainwp_widget_boxes_show_widgets`](#mainwp_widget_boxes_show_widgets) - Method do_widget_boxes() +- [`mainwp-widgets-screen-options`](#mainwp-widgets-screen-options) - Method render_screen_options() +- [`mainwp_widgets_screen_options`](#mainwp_widgets_screen_options) - Filter: mainwp_widgets_screen_options +- [`mainwp_format_email`](#mainwp_format_email) - Method format_email() +- [`mainwp-sitestable-item`](#mainwp-sitestable-item) - Filter is being replaced with mainwp_sitestable_item +- [`mainwp_sitestable_item`](#mainwp_sitestable_item) - Filter: mainwp_sitestable_item +- [`mainwp-sitestable-getcolumns`](#mainwp-sitestable-getcolumns) - Filter is being replaced with mainwp_sitestable_getcolumns +- [`mainwp_sitestable_getcolumns`](#mainwp_sitestable_getcolumns) - Filter: mainwp_sitestable_getcolumns +- [`mainwp_sitestable_prepare_extra_view`](#mainwp_sitestable_prepare_extra_view) - Prepare the items to be listed. +- [`mainwp_sitestable_display_row_columns`](#mainwp_sitestable_display_row_columns) - Get table rows. +- [`mainwp_sitestable_render_column`](#mainwp_sitestable_render_column) - Columns for a single row. +- [`mainwp_open_hide_referrer`](#mainwp_open_hide_referrer) - Filter: mainwp_open_hide_referrer +- [`mainwp_is_enable_schedule_job`](#mainwp_is_enable_schedule_job) - Method init_mainwp_cron() +- [`mainwp_text_format_email`](#mainwp_text_format_email) - Filter: mainwp_text_format_email +- [`mainwp_license_deactivated_alert_plain_text`](#mainwp_license_deactivated_alert_plain_text) - Method cron_deactivated_licenses_alert() +- [`mainwp_register_regular_sequence_process`](#mainwp_register_regular_sequence_process) - Method perform_sequence_process +- [`mainwp_try_visit_follow_location`](#mainwp_try_visit_follow_location) - Method try visit. +- [`mainwp_curl_curlopt_resolve`](#mainwp_curl_curlopt_resolve) - Method try visit. +- [`mainwp_fetch_urls_chunk_size`](#mainwp_fetch_urls_chunk_size) - Method fetch_urls_authed() +- [`mainwp_init_primary_menu_items`](#mainwp_init_primary_menu_items) - Method init_mainwp_menu_items() +- [`mainwp_is_disable_menu_item`](#mainwp_is_disable_menu_item) - Method is_disable_menu_item +- [`mainwp_main_menu`](#mainwp_main_menu) - Filter: mainwp_main_menu +- [`mainwp_main_menu_submenu`](#mainwp_main_menu_submenu) - Filter: mainwp_main_menu_submenu +- [`mainwp_go_back_wpadmin_link`](#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_go_back_wpadmin_link`](#mainwp_go_back_wpadmin_link) - Filter: mainwp_go_back_wpadmin_link +- [`mainwp_get_template`](#mainwp_get_template) - Filter: mainwp_get_template +- [`mainwp_locate_template`](#mainwp_locate_template) - Filer: mainwp_locate_template +- [`mainwp_get_notification_template_name_by_type`](#mainwp_get_notification_template_name_by_type) - Get default template name by email/notification type. +- [`mainwp_default_template_source_dir`](#mainwp_default_template_source_dir) - Method handle_template_file_action() +- [`mainwp_module_log_record_array`](#mainwp_module_log_record_array) - Filter allows modification of record information +- [`mainwp_module_log_query_args`](#mainwp_module_log_query_args) - Filter allows additional arguments to query $args +- [`mainwp_module_log_current_agent`](#mainwp_module_log_current_agent) - Filter the current agent string +- [`mainwp_module_log_agent_label`](#mainwp_module_log_agent_label) - Filter agent labels +- [`mainwp_module_log_connectors`](#mainwp_module_log_connectors) - Allows for adding additional connectors via classes that extend Connector. +- [`mainwp_insights_getmetaboxes`](#mainwp_insights_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_module_log_overview_enabled_widgets`](#mainwp_module_log_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_log_widgets_screen_options`](#mainwp_module_log_widgets_screen_options) - Filter: mainwp_module_log_widgets_screen_options +- [`mainwp_cost_summary_getmetaboxes`](#mainwp_cost_summary_getmetaboxes) - Method add_meta_boxes() +- [`mainwp_module_cost_tracker_summary_enabled_widgets`](#mainwp_module_cost_tracker_summary_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_module_cost_tracker_summary_widgets_screen_options`](#mainwp_module_cost_tracker_summary_widgets_screen_options) - Filter: mainwp_module_cost_tracker_summary_widgets_screen_options +- [`mainwp_module_cost_tracker_upcoming_renewals_widget_title`](#mainwp_module_cost_tracker_upcoming_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_yearly_renewals_widget_title`](#mainwp_module_cost_tracker_yearly_renewals_widget_title) - *Arguments* +- [`mainwp_module_cost_tracker_monthly_renewals_widget_title`](#mainwp_module_cost_tracker_monthly_renewals_widget_title) - *Arguments* +- [`mainwp_getmetaboxes`](#mainwp_getmetaboxes) - Method on_load_page_dashboard() +- [`mainwp_overview_enabled_widgets`](#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_overview_enabled_widgets`](#mainwp_overview_enabled_widgets) - Unset unwanted Widgets +- [`mainwp_cron_jobs_table_features`](#mainwp_cron_jobs_table_features) - Filter: mainwp_cron_jobs_table_features +- [`mainwp_menu_extensions_left_menu`](#mainwp_menu_extensions_left_menu) - Method init_extensions_menu() +- [`mainwp_notes_widget_title`](#mainwp_notes_widget_title) - *Arguments* +- [`mainwp_widgets_chart_date_format`](#mainwp_widgets_chart_date_format) - Prepare response time for ui chart data. +- [`mainwp_get_started_widget_title`](#mainwp_get_started_widget_title) - *Arguments* +- [`mainwp_non_mainwp_changes_widget_title`](#mainwp_non_mainwp_changes_widget_title) - *Arguments* + +## Hook Details + +### `mainwp-activated` + +*MainWP_System constructor.* + +Runs any time class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`'4.0.7.2'` | | +`'mainwp_activated'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 82](class/class-mainwp-system.php#L82-L246) + + + +### `deprecated_hook_run` + +*Display a deprecated notice for old hooks.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$old_hook` | `string` | Old hook. +`$new_hook` | `string` | New hook. +`$version` | | +`$message` | `string` | message. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-deprecated-hooks.php](class/class-mainwp-deprecated-hooks.php), [line 152](class/class-mainwp-deprecated-hooks.php#L152-L166) + + + +### `mainwp_before_log_data` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$text` | `string` | Log record text. +`$priority` | `int` | Set priority. +`$log_color` | `int` | Set color. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L465) + + + +### `mainwp_before_seclect_sites` + +*Action: mainwp_before_seclect_sites* + +Fires before the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 72](class/class-mainwp-ui.php#L72-L79) + + + +### `mainwp_after_seclect_sites` + +*Action: mainwp_after_seclect_sites* + +Fires after the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 85](class/class-mainwp-ui.php#L85-L92) + + + +### `mainwp_overview_screen_options_top` + +*Action: mainwp_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 823](class/class-mainwp-ui.php#L823-L830) + + + +### `mainwp_overview_screen_options_bottom` + +*Action: mainwp_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 837](class/class-mainwp-ui.php#L837-L844) + + + +### `mainwp_before_subheader` + +*Action: mainwp_before_subheader* + +Fires before the MainWP sub-header element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1152](class/class-mainwp-ui.php#L1152-L1159) + + + +### `mainwp_subheader_actions` + +*Action: mainwp_subheader_actions* + +Fires at the subheader element to hook available actions. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1188](class/class-mainwp-ui.php#L1188-L1195) + + + +### `mainwp_after_subheader` + +*Action: mainwp_after_subheader* + +Fires after the MainWP sub-header element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1201](class/class-mainwp-ui.php#L1201-L1208) + + + +### `mainwp_before_upload_custom_icon` + +*Action: mainwp_after_upload_custom_icon* + +Fires before the modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1931](class/class-mainwp-ui.php#L1931-L1938) + + + +### `mainwp_after_upload_custom_icon` + +*Action: mainwp_after_upload_custom_icon* + +Fires after the modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1961](class/class-mainwp-ui.php#L1961-L1968) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2480](class/class-mainwp-ui.php#L2480-L2487) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2572](class/class-mainwp-ui.php#L2572-L2579) + + + +### `mainwp-sitestable-prepared-items` + +*Action is being replaced with mainwp_sitestable_prepared_items* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($websites, $site_ids)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_prepared_items'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1018](class/class-mainwp-manage-sites-list-table.php#L1018-L1023) + + + +### `mainwp_sitestable_prepared_items` + +*Action: mainwp_sitestable_prepared_items* + +Fires before the Sites table itemes are prepared. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites data. +`$site_ids` | `array` | Array containing IDs of all child sites. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1025](class/class-mainwp-manage-sites-list-table.php#L1025-L1035) + + + +### `mainwp_cronload_action` + +*Action: mainwp_cronload_action* + +Hooks MainWP cron jobs actions. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 61](class/class-mainwp-system-cron-jobs.php#L61-L68) + + + +### `mainwp_admin_menu` + +*Action: mainwp_admin_menu* + +Hooks main navigation menu items. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 303](class/class-mainwp-menu.php#L303-L310) + + + +### `mainwp_admin_menu_sub` + +*Action: mainwp_admin_menu_sub* + +Hooks main navigation sub-menu items. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 450](class/class-mainwp-menu.php#L450-L457) + + + +### `before_mainwp_menu` + +*Action: before_mainwp_menu* + +Fires before the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 709](class/class-mainwp-menu.php#L709-L716) + + + +### `after_mainwp_menu` + +*Action: after_mainwp_menu* + +Fires after the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 951](class/class-mainwp-menu.php#L951-L958) + + + +### `before_mainwp_menu` + +*Action: before_mainwp_menu* + +Fires before the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1073](class/class-mainwp-menu.php#L1073-L1080) + + + +### `after_mainwp_menu` + +*Action: after_mainwp_menu* + +Fires after the main navigation element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1271](class/class-mainwp-menu.php#L1271-L1278) + + + +### `mainwp_before_seclect_sites` + +*Action: mainwp_before_seclect_sites* + +Fires before the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 96](class/class-mainwp-ui-select-sites.php#L96-L103) + + + +### `mainwp_after_seclect_sites` + +*Action: mainwp_after_seclect_sites* + +Fires after the Select Sites box. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui-select-sites.php](class/class-mainwp-ui-select-sites.php), [line 124](class/class-mainwp-ui-select-sites.php#L124-L131) + + + +### `mainwp_extensions_top_header_after_tab` + +*Method render_header()* + +Render page header. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$shownPage` | `string` | The page slug shown at this moment. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-extensions-view.php](class/class-mainwp-extensions-view.php), [line 50](class/class-mainwp-extensions-view.php#L50-L99) + + + +### `mainwp_before_template_part` + +*Action: mainwp_before_template_part* + +Fires before the email template is loaded. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_name` | `string` | Template name. +`$located` | `resource` | Template file. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 166](class/class-mainwp-notification-template.php#L166-L177) + + + +### `mainwp_after_template_part` + +*Action: mainwp_after_template_part* + +Fires after the email template is loaded. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_name` | `string` | Template name. +`$located` | `resource` | Template file. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 181](class/class-mainwp-notification-template.php#L181-L192) + + + +### `mainwp_removed_extension_menu` + +*Remove Extensions menu from MainWP Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-extension-handler.php](class/class-mainwp-post-extension-handler.php), [line 408](class/class-mainwp-post-extension-handler.php#L408-L427) + + + +### `mainwp_daily_digest_email_header` + +*Daily Digest Email Header* + +Fires at the top of the daily digest email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-daily-digest-email.php](templates/emails/mainwp-daily-digest-email.php), [line 29](templates/emails/mainwp-daily-digest-email.php#L29-L36) + + + +### `mainwp_daily_digest_email_footer` + +*Daily Digest Email Footer* + +Fires at the bottom of the daily digest email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/templates/emails/mainwp-daily-digest-email.php](templates/emails/mainwp-daily-digest-email.php), [line 177](templates/emails/mainwp-daily-digest-email.php#L177-L184) + + + +### `mainwp_module_log_record_insert_error` + +*Fires on a record insertion error* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record` | `array` | +`false` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 77](modules/logs/classes/class-log-db.php#L77-L83) + + + +### `mainwp_module_log_record_inserted` + +*Fires after a record has been inserted* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record_id` | `int` | +`$record` | `array` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 88](modules/logs/classes/class-log-db.php#L88-L94) + + + +### `mainwp_compact_action` + +*Create compact logs and erase records from the database.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'saved'` | | +`$year` | | +`$year_data` | | +`$start_time` | `int` | start time to compact. +`$end_time` | `int` | end time to compact. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 205](modules/logs/classes/class-log-db.php#L205-L266) + + + +### `mainwp_log_action` + +*Schedules a purge of records.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'module log :: purge logs schedule start.'` | | +`MainWP_Logger::LOGS_AUTO_PURGE_LOG_PRIORITY` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-admin.php](modules/logs/classes/class-log-admin.php), [line 192](modules/logs/classes/class-log-admin.php#L192-L217) + + + +### `mainwp_module_dashboard_insights_help_item` + +*Action: mainwp_module_dashboard_insights_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Insights page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-admin.php](modules/logs/classes/class-log-admin.php), [line 309](modules/logs/classes/class-log-admin.php#L309-L320) + + + +### `mainwp_module_log_after_connectors_registration` + +*Fires after all connectors have been registered.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$labels` | `array` | All register connectors labels array +`$this` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 179](modules/logs/classes/class-log-connectors.php#L179-L185) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'insights'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 910](modules/logs/pages/page-log-insights-page.php#L910-L917) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'insights'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 932](modules/logs/pages/page-log-insights-page.php#L932-L939) + + + +### `mainwp_module_log_overview_screen_options_top` + +*Action: mainwp_module_log_overview_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 969](modules/logs/pages/page-log-insights-page.php#L969-L976) + + + +### `mainwp_module_log_overview_screen_options_bottom` + +*Action: mainwp_module_log_overview_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 983](modules/logs/pages/page-log-insights-page.php#L983-L990) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1057](modules/logs/pages/page-log-insights-page.php#L1057-L1064) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1093](modules/logs/pages/page-log-insights-page.php#L1093-L1100) + + + +### `mainwp_logs_manage_table_top` + +*Action: mainwp_logs_manage_table_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-manage-insights-events-page.php](modules/logs/pages/page-log-manage-insights-events-page.php), [line 186](modules/logs/pages/page-log-manage-insights-events-page.php#L186-L193) + + + +### `mainwp_logs_manage_table_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-manage-insights-events-page.php](modules/logs/pages/page-log-manage-insights-events-page.php), [line 200](modules/logs/pages/page-log-manage-insights-events-page.php#L200-L207) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'users'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-users-widget.php](modules/logs/widgets/widget-log-users-widget.php), [line 91](modules/logs/widgets/widget-log-users-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'users'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-users-widget.php](modules/logs/widgets/widget-log-users-widget.php), [line 106](modules/logs/widgets/widget-log-users-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'pages'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-pages-widget.php](modules/logs/widgets/widget-log-pages-widget.php), [line 91](modules/logs/widgets/widget-log-pages-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'pages'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-pages-widget.php](modules/logs/widgets/widget-log-pages-widget.php), [line 106](modules/logs/widgets/widget-log-pages-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Actoin: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-recent-events-widget.php](modules/logs/widgets/widget-log-recent-events-widget.php), [line 85](modules/logs/widgets/widget-log-recent-events-widget.php#L85-L92) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'recent_events'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-recent-events-widget.php](modules/logs/widgets/widget-log-recent-events-widget.php), [line 100](modules/logs/widgets/widget-log-recent-events-widget.php#L100-L107) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugins'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-plugins-widget.php](modules/logs/widgets/widget-log-plugins-widget.php), [line 91](modules/logs/widgets/widget-log-plugins-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugins'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-plugins-widget.php](modules/logs/widgets/widget-log-plugins-widget.php), [line 106](modules/logs/widgets/widget-log-plugins-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wp'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-wp-widget.php](modules/logs/widgets/widget-log-graph-wp-widget.php), [line 76](modules/logs/widgets/widget-log-graph-wp-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'wp'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-wp-widget.php](modules/logs/widgets/widget-log-graph-wp-widget.php), [line 91](modules/logs/widgets/widget-log-graph-wp-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-status-widget.php](modules/logs/widgets/widget-log-graph-status-widget.php), [line 76](modules/logs/widgets/widget-log-graph-status-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-status-widget.php](modules/logs/widgets/widget-log-graph-status-widget.php), [line 91](modules/logs/widgets/widget-log-graph-status-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-clients-widget.php](modules/logs/widgets/widget-log-graph-clients-widget.php), [line 76](modules/logs/widgets/widget-log-graph-clients-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-clients-widget.php](modules/logs/widgets/widget-log-graph-clients-widget.php), [line 91](modules/logs/widgets/widget-log-graph-clients-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-plugins-widget.php](modules/logs/widgets/widget-log-graph-plugins-widget.php), [line 76](modules/logs/widgets/widget-log-graph-plugins-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-plugins-widget.php](modules/logs/widgets/widget-log-graph-plugins-widget.php), [line 91](modules/logs/widgets/widget-log-graph-plugins-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'php'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-php-widget.php](modules/logs/widgets/widget-log-graph-php-widget.php), [line 76](modules/logs/widgets/widget-log-graph-php-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'php'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-php-widget.php](modules/logs/widgets/widget-log-graph-php-widget.php), [line 91](modules/logs/widgets/widget-log-graph-php-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-themes-widget.php](modules/logs/widgets/widget-log-themes-widget.php), [line 91](modules/logs/widgets/widget-log-themes-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-themes-widget.php](modules/logs/widgets/widget-log-themes-widget.php), [line 106](modules/logs/widgets/widget-log-themes-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'core'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-sites-widget.php](modules/logs/widgets/widget-log-sites-widget.php), [line 92](modules/logs/widgets/widget-log-sites-widget.php#L92-L99) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'core'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-sites-widget.php](modules/logs/widgets/widget-log-sites-widget.php), [line 107](modules/logs/widgets/widget-log-sites-widget.php#L107-L114) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-tags-widget.php](modules/logs/widgets/widget-log-graph-tags-widget.php), [line 78](modules/logs/widgets/widget-log-graph-tags-widget.php#L78-L85) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'status'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-tags-widget.php](modules/logs/widgets/widget-log-graph-tags-widget.php), [line 93](modules/logs/widgets/widget-log-graph-tags-widget.php#L93-L100) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'posts'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-posts-widget.php](modules/logs/widgets/widget-log-posts-widget.php), [line 91](modules/logs/widgets/widget-log-posts-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'posts'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-posts-widget.php](modules/logs/widgets/widget-log-posts-widget.php), [line 106](modules/logs/widgets/widget-log-posts-widget.php#L106-L113) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-themes-widget.php](modules/logs/widgets/widget-log-graph-themes-widget.php), [line 76](modules/logs/widgets/widget-log-graph-themes-widget.php#L76-L83) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'themes'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-graph-themes-widget.php](modules/logs/widgets/widget-log-graph-themes-widget.php), [line 91](modules/logs/widgets/widget-log-graph-themes-widget.php#L91-L98) + + + +### `mainwp_logs_widget_top` + +*Action: mainwp_logs_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-clients-widget.php](modules/logs/widgets/widget-log-clients-widget.php), [line 91](modules/logs/widgets/widget-log-clients-widget.php#L91-L98) + + + +### `mainwp_logs_widget_bottom` + +*Action: mainwp_logs_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/widgets/widget-log-clients-widget.php](modules/logs/widgets/widget-log-clients-widget.php), [line 106](modules/logs/widgets/widget-log-clients-widget.php#L106-L113) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 373](modules/cost-tracker/classes/class-cost-tracker-summary.php#L373-L380) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 393](modules/cost-tracker/classes/class-cost-tracker-summary.php#L393-L400) + + + +### `mainwp_module_cost_tracker_summary_screen_options_top` + +*Action: mainwp_module_cost_tracker_summary_screen_options_top* + +Fires at the top of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 437](modules/cost-tracker/classes/class-cost-tracker-summary.php#L437-L444) + + + +### `mainwp_module_cost_tracker_summary_screen_options_bottom` + +*Action: mainwp_module_cost_tracker_summary_screen_options_bottom* + +Fires at the bottom of the Sceen Options modal on the Overview page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 451](modules/cost-tracker/classes/class-cost-tracker-summary.php#L451-L458) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 515](modules/cost-tracker/classes/class-cost-tracker-summary.php#L515-L522) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'costsummary'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 551](modules/cost-tracker/classes/class-cost-tracker-summary.php#L551-L558) + + + +### `mainwp_module_upcoming_renewals_before_costs_list` + +*Action: mainwp_module_upcoming_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 185](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L185-L195) + + + +### `mainwp_module_upcoming_renewals_after_costs_list` + +*Action: mainwp_module_upcoming_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 223](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L223-L233) + + + +### `mainwp_module_yearly_renewals_before_costs_list` + +*Action: mainwp_module_yearly_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 193](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L193-L203) + + + +### `mainwp_module_yearly_renewals_after_costs_list` + +*Action: mainwp_module_yearly_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 243](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L243-L253) + + + +### `mainwp_module_monthly_renewals_before_costs_list` + +*Action: mainwp_module_monthly_renewals_before_costs_list* + +Fires before the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 190](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L190-L200) + + + +### `mainwp_module_monthly_renewals_after_costs_list` + +*Action: mainwp_module_monthly_renewals_after_costs_list* + +Fires after the list of costs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$tab` | `string` | Tab. +`$cost_data` | `array` | Cost data. + +**Changelog** + +Version | Description +------- | ----------- +`5.0.1` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 240](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L240-L250) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'payment-left-for-this-month'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'payment-left-for-this-month'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-payment-left-this-month.php#L79-L86) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'monthly-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'monthly-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-monthly-totals.php#L79-L86) + + + +### `mainwp_module_cost_tracker_widget_top` + +*Action: mainwp_module_cost_tracker_widget_top* + +Fires at the top of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'category-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php), [line 65](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php#L65-L72) + + + +### `mainwp_module_cost_tracker_widget_bottom` + +*Action: mainwp_module_cost_tracker_widget_bottom* + +Fires at the bottom of the widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'category-totals'` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.0.2` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php), [line 79](modules/cost-tracker/widgets/widget-cost-tracker-category-totals.php#L79-L86) + + + +### `mainwp_reset_admin_pass_modal_top` + +*Action: mainwp_reset_admin_pass_modal_top* + +Fires at the top of the Update Admin Passwords modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 193](pages/page-mainwp-bulk-update-admin-passwords.php#L193-L200) + + + +### `mainwp_reset_admin_pass_modal_bottom` + +*Action: mainwp_reset_admin_pass_modal_bottom* + +Fires at the bottom of the Update Admin Passwords modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 213](pages/page-mainwp-bulk-update-admin-passwords.php#L213-L220) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'dashboard'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 382](pages/page-mainwp-overview.php#L382-L389) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'dashboard'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 395](pages/page-mainwp-overview.php#L395-L402) + + + +### `mainwp_before_server_info_table` + +*Action: mainwp_before_server_info_table* + +Fires on the top of the Info page, before the Server Info table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 422](pages/page-mainwp-server-information.php#L422-L429) + + + +### `mainwp_after_server_info_table` + +*Action: mainwp_after_server_info_table* + +Fires on the bottom of the Info page, after the Server Info table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 567](pages/page-mainwp-server-information.php#L567-L574) + + + +### `mainwp_before_cron_jobs_table` + +*Action: mainwp_before_cron_jobs_table* + +Renders on the top of the Cron Jobs page, before the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1044](pages/page-mainwp-server-information.php#L1044-L1051) + + + +### `mainwp_after_cron_jobs_table` + +*Action: mainwp_after_cron_jobs_table* + +Renders on the bottom of the Cron Jobs page, after the Schedules table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1181](pages/page-mainwp-server-information.php#L1181-L1188) + + + +### `mainwp_before_error_log_table` + +*Action: mainwp_before_error_log_table* + +Fires before the Error Log table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1449](pages/page-mainwp-server-information.php#L1449-L1456) + + + +### `mainwp_after_error_log_table` + +*Action: mainwp_after_error_log_table* + +Fires after the Error Log table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1501](pages/page-mainwp-server-information.php#L1501-L1508) + + + +### `mainwp_before_overview_widgets` + +*Action: mainwp_before_overview_widgets* + +Fires at the top of the Overview page (before first widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 316](pages/page-mainwp-client-overview.php#L316-L323) + + + +### `mainwp_after_overview_widgets` + +*Action: 'mainwp_after_overview_widgets'* + +Fires at the bottom of the Overview page (after the last widget). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'clients'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 329](pages/page-mainwp-client-overview.php#L329-L336) + + + +### `mainwp_screen_options_modal_top` + +*Action: mainwp_screen_options_modal_top* + +Fires at the top of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 456](pages/page-mainwp-client-overview.php#L456-L463) + + + +### `mainwp_screen_options_modal_bottom` + +*Action: mainwp_screen_options_modal_bottom* + +Fires at the bottom of the Page Settings modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client-overview.php](pages/page-mainwp-client-overview.php), [line 492](pages/page-mainwp-client-overview.php#L492-L499) + + + +### `mainwp_added_extension_menu` + +*Adds Extension to the navigation menu* + +Adds Extension instance to the Extensions located in the main MainWP navigation menu. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$slug` | `string` | Extension slug. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-handler.php](pages/page-mainwp-extensions-handler.php), [line 345](pages/page-mainwp-extensions-handler.php#L345-L354) + + + +### `mainwp_notes_widget_top` + +*Action: mainwp_notes_widget_top* + +Fires at the top of the Notes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 70](widgets/widget-mainwp-notes.php#L70-L79) + + + +### `mainwp_notes_widget_bottom` + +*Action: mainwp_notes_widget_bottom* + +Fires at the bottom of the Notes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 95](widgets/widget-mainwp-notes.php#L95-L104) + + + +### `mainwp_get_started_widget_top` + +*Action: mainwp_get_started_widget_top* + +Fires top the widget. + + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 93](widgets/widget-mainwp-get-started.php#L93-L100) + + + +### `mainwp_get_started_widget_bottom` + +*Action: mainwp_get_started_widget_bottom* + +Fires bottom the widget. + + +**Changelog** + +Version | Description +------- | ----------- +`5.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 135](widgets/widget-mainwp-get-started.php#L135-L142) + + + +### `mainwp_non_mainwp_changes_widget_top` + +*Actoin: mainwp_non_mainwp_changes_widget_top* + +Fires at the top of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 150](widgets/widget-mainwp-site-actions.php#L150-L159) + + + +### `mainwp_non_mainwp_changes_table_top` + +*Action: mainwp_non_mainwp_changes_table_top* + +Fires at the top of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 162](widgets/widget-mainwp-site-actions.php#L162-L171) + + + +### `mainwp_non_mainwp_changes_table_bottom` + +*Action: mainwp_non_mainwp_changes_table_bottom* + +Fires at the bottom of the Site Info table in Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 180](widgets/widget-mainwp-site-actions.php#L180-L189) + + + +### `mainwp_non_mainwp_changes_widget_bottom` + +*Action: mainwp_non_mainwp_changes_widget_bottom* + +Fires at the bottom of the Site Info widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 205](widgets/widget-mainwp-site-actions.php#L205-L214) + + + +### `mainwp_disablemenuitems` + +*Method init()* + +Instantiate Plugin. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 584](class/class-mainwp-system.php#L584-L598) + + + +### `mainwp_main_menu_disable_menu_items` + +*Filter: mainwp_main_menu_disable_menu_items* + +Filters disabled MainWP navigation items. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 600](class/class-mainwp-system.php#L600-L607) + + + +### `mainwp_ui_use_wp_calendar` + +*Filter: mainwp_ui_use_wp_calendar* + +Filters whether default jQuery datepicker should be used to avoid potential problems with Senatic UI Calendar library. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0.5` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 821](class/class-mainwp-system.php#L821-L828) + + + +### `mainwp_admin_enqueue_scripts` + +*Method admin_enqueue_scripts()* + +Enqueue all Mainwp Admin Scripts. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 1053](class/class-mainwp-system.php#L1053-L1102) + + + +### `mainwp_all_disablemenuitems` + +*Method admin_footer()* + +Create MainWP admin footer. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$_mainwp_disable_menus_items` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 1240](class/class-mainwp-system.php#L1240-L1330) + + + +### `minwp_notification_template_copy_message` + +*Use mainwp_notification_template_copy_message instead.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$templ` | | +`$type` | | +`$overrided` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 330](class/class-mainwp-notification-settings.php#L330-L336) + + + +### `mainwp_notification_template_copy_message` + +*Filter mainwp_notification_template_copy_message.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$copy_message` | | +`$templ` | | +`$type` | | +`$overrided` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 337](class/class-mainwp-notification-settings.php#L337-L343) + + + +### `mainwp_notification_type_desc` + +*Get email settings description.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$type` | `string` | Email notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 378](class/class-mainwp-notification-settings.php#L378-L399) + + + +### `mainwp_notification_types` + +*Get email notification types.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$type` | `string` | Email notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 426](class/class-mainwp-notification-settings.php#L426-L447) + + + +### `mainwp_default_emails_fields` + +*Get default email notifications values.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$recipients` | | +`$type` | `string` | Email type. +`$field` | `string` | Field name. +`$general` | `bool` | General or individual site settings. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-settings.php](class/class-mainwp-notification-settings.php), [line 551](class/class-mainwp-notification-settings.php#L551-L600) + + + +### `mainwp-getmetaboxes` + +*Method apply_filter()* + +Apply filter + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($value)` | | +`'4.0.7.2'` | | +`'mainwp_getmetaboxes'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-handler.php](class/class-mainwp-system-handler.php), [line 188](class/class-mainwp-system-handler.php#L188-L203) + + + +### `{$filter}` + +*Method apply_filter()* + +Apply filter + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$value` | `array` | Input value. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-handler.php](class/class-mainwp-system-handler.php), [line 188](class/class-mainwp-system-handler.php#L188-L205) + + + +### `mainwp_log_status` + +*MainWP_Logger constructor.* + +Run each time the class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$enabled` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 129](class/class-mainwp-logger.php#L129-L141) + + + +### `mainwp_log_specific` + +*MainWP_Logger constructor.* + +Run each time the class is called. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$specific` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 129](class/class-mainwp-logger.php#L129-L142) + + + +### `mainwp_log_to_db_data` + +*Method log_to_db()* + +Log to database. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-logger.php](class/class-mainwp-logger.php), [line 426](class/class-mainwp-logger.php#L426-L495) + + + +### `mainwp_file_uploader_size_limit` + +*Filter: 'mainwp_file_uploader_size_limit'* + +Filters the maximum upload file size. Default: 8388608 Bytes (B) = 8 Megabytes (MB) + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sizeLimit` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-qq2-file-uploader.php](class/class-mainwp-qq2-file-uploader.php), [line 56](class/class-mainwp-qq2-file-uploader.php#L56-L63) + + + +### `mainwp_menu_logo_href` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`admin_url('admin.php?page=mainwp_tab')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 889](class/class-mainwp-ui.php#L889-L889) + + + +### `mainwp_menu_logo_src` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`MAINWP_PLUGIN_URL . 'assets/images/mainwp-icon.svg'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 901](class/class-mainwp-ui.php#L901-L901) + + + +### `mainwp_menu_logo_alt` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'MainWP'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 912](class/class-mainwp-ui.php#L912-L912) + + + +### `mainwp_header_actions_right` + +*Filter: mainwp_header_actions_right* + +Filters the MainWP header element actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1345](class/class-mainwp-ui.php#L1345-L1352) + + + +### `mainwp_screen_options_pulse_control` + +*Method render_header_actions()* + +Render header action buttons, +(Sync|Add|Options|Community|User|Updates). + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1273](class/class-mainwp-ui.php#L1273-L1428) + + + +### `mainwp_do_widget_boxes_sorted` + +*Method do_widget_boxes()* + +Customize WordPress do_meta_boxes() function. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$wgsorted` | | +`$page` | | +`$client_id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1605](class/class-mainwp-ui.php#L1605-L1663) + + + +### `mainwp_widget_boxes_show_widgets` + +*Method do_widget_boxes()* + +Customize WordPress do_meta_boxes() function. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$page` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1605](class/class-mainwp-ui.php#L1605-L1670) + + + +### `mainwp-widgets-screen-options` + +*Method render_screen_options()* + +Render modal window for Page Settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_widgets_screen_options'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2421](class/class-mainwp-ui.php#L2421-L2455) + + + +### `mainwp_widgets_screen_options` + +*Filter: mainwp_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2457](class/class-mainwp-ui.php#L2457-L2464) + + + +### `mainwp_format_email` + +*Method format_email()* + +Format email. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mail_send` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-format.php](class/class-mainwp-format.php), [line 212](class/class-mainwp-format.php#L212-L579) + + + +### `mainwp-sitestable-item` + +*Filter is being replaced with mainwp_sitestable_item* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($item, $item)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_item'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 180](class/class-mainwp-manage-sites-list-table.php#L180-L185) + + + +### `mainwp_sitestable_item` + +*Filter: mainwp_sitestable_item* + +Filters the Manage Sites table column items. Allows user to create new column item. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$item` | `array` | Array containing child site data. +`$column_name` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 187](class/class-mainwp-manage-sites-list-table.php#L187-L196) + + + +### `mainwp-sitestable-getcolumns` + +*Filter is being replaced with mainwp_sitestable_getcolumns* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($columns, $columns)` | | +`'4.0.7.2'` | | +`'mainwp_sitestable_getcolumns'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 322](class/class-mainwp-manage-sites-list-table.php#L322-L327) + + + +### `mainwp_sitestable_getcolumns` + +*Filter: mainwp_sitestable_getcolumns* + +Filters the Manage Sites table columns. Allows user to create a new column. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array containing table columns. +`$columns` | `array` | Array containing table columns. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 329](class/class-mainwp-manage-sites-list-table.php#L329-L338) + + + +### `mainwp_sitestable_prepare_extra_view` + +*Prepare the items to be listed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array('favi_icon', 'health_site_status')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 694](class/class-mainwp-manage-sites-list-table.php#L694-L719) + + + +### `mainwp_sitestable_display_row_columns` + +*Get table rows.* + +Optimize for shared hosting or big networks. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$column_name` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1554](class/class-mainwp-manage-sites-list-table.php#L1554-L1722) + + + +### `mainwp_sitestable_render_column` + +*Columns for a single row.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$column_name` | | +`$website` | `mixed` | Child Site. +`$classes` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-list-table.php](class/class-mainwp-manage-sites-list-table.php), [line 1971](class/class-mainwp-manage-sites-list-table.php#L1971-L2166) + + + +### `mainwp_open_hide_referrer` + +*Filter: mainwp_open_hide_referrer* + +Filters whether the MainWP should hide referrer when going to child site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 823](class/class-mainwp-system-view.php#L823-L830) + + + +### `mainwp_is_enable_schedule_job` + +*Method init_mainwp_cron()* + +Schedual Cron Jobs. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$useWPCron` | `mixed` | Wether or not to use WP_Cron. +`$cron_hook` | `mixed` | When cron is going to reoccur. +`$recurrence` | `mixed` | Cron job hook. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 147](class/class-mainwp-system-cron-jobs.php#L147-L158) + + + +### `mainwp_text_format_email` + +*Filter: mainwp_text_format_email* + +Filters whether the email shuld bein plain text format. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plain_text` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.5` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 629](class/class-mainwp-system-cron-jobs.php#L629-L636) + + + +### `mainwp_license_deactivated_alert_plain_text` + +*Method cron_deactivated_licenses_alert()* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plain_text` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1356](class/class-mainwp-system-cron-jobs.php#L1356-L1377) + + + +### `mainwp_register_regular_sequence_process` + +*Method perform_sequence_process* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 1692](class/class-mainwp-system-cron-jobs.php#L1692-L1699) + + + +### `mainwp_try_visit_follow_location` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L76) + + + +### `mainwp_curl_curlopt_resolve` + +*Method try visit.* + +Try connecting to Child Site via cURL. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`false` | | +`$url` | `string` | Child Site URL. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 32](class/class-mainwp-connect.php#L32-L106) + + + +### `mainwp_fetch_urls_chunk_size` + +*Method fetch_urls_authed()* + +Fetches data from child sites if authenticated. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$chunkSize` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 688](class/class-mainwp-connect.php#L688-L719) + + + +### `mainwp_init_primary_menu_items` + +*Method init_mainwp_menu_items()* + +Init MainWP menus. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$menus_items` | `array` | menus items. +`$part` | `string` | menus part. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 332](class/class-mainwp-menu.php#L332-L345) + + + +### `mainwp_is_disable_menu_item` + +*Method is_disable_menu_item* + +Check if $_mainwp_disable_menus_items contains any menu items to hide. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$disabled` | | +`$level` | `string` | The level the menu item is on. +`$item` | `array\|string` | The menu items meta data. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 529](class/class-mainwp-menu.php#L529-L552) + + + +### `mainwp_main_menu` + +*Filter: mainwp_main_menu* + +Filters main navigation menu items + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_leftmenu` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 684](class/class-mainwp-menu.php#L684-L691) + + + +### `mainwp_main_menu_submenu` + +*Filter: mainwp_main_menu_submenu* + +Filters main navigation subt-menu items + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$mainwp_sub_leftmenu` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 694](class/class-mainwp-menu.php#L694-L702) + + + +### `mainwp_go_back_wpadmin_link` + +*Filter: mainwp_go_back_wpadmin_link* + +Filters URL for the Go to WP Admin button in Main navigation. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$link` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 799](class/class-mainwp-menu.php#L799-L806) + + + +### `mainwp_go_back_wpadmin_link` + +*Filter: mainwp_go_back_wpadmin_link* + +Filters URL for the Go to WP Admin button in Main navigation. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$link` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-menu.php](class/class-mainwp-menu.php), [line 1242](class/class-mainwp-menu.php#L1242-L1249) + + + +### `mainwp_get_template` + +*Filter: mainwp_get_template* + +Filters available templates and adds support for 3rd party templates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template` | | +`$template_name` | `string` | Template name. +`$args` | `array` | Args. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 140](class/class-mainwp-notification-template.php#L140-L150) + + + +### `mainwp_locate_template` + +*Filer: mainwp_locate_template* + +Filters the template location. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template` | | +`$template_name` | `string` | Template name. +`$template_path` | `string` | Template path. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 265](class/class-mainwp-notification-template.php#L265-L275) + + + +### `mainwp_get_notification_template_name_by_type` + +*Get default template name by email/notification type.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$type` | `string` | email/notification type. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 293](class/class-mainwp-notification-template.php#L293-L309) + + + +### `mainwp_default_template_source_dir` + +*Method handle_template_file_action()* + +Handle template file action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_path` | | +`$templ_base_name` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 318](class/class-mainwp-notification-template.php#L318-L352) + + + +### `mainwp_module_log_record_array` + +*Filter allows modification of record information* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$record` | `array` | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 59](modules/logs/classes/class-log-db.php#L59-L66) + + + +### `mainwp_module_log_query_args` + +*Filter allows additional arguments to query $args* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$args` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-db.php](modules/logs/classes/class-log-db.php), [line 162](modules/logs/classes/class-log-db.php#L162-L167) + + + +### `mainwp_module_log_current_agent` + +*Filter the current agent string* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$agent` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 241](modules/logs/classes/class-log-author.php#L241-L246) + + + +### `mainwp_module_log_agent_label` + +*Filter agent labels* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$label` | | +`$agent` | `string` | Key representing agent. + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 269](modules/logs/classes/class-log-author.php#L269-L276) + + + +### `mainwp_module_log_connectors` + +*Allows for adding additional connectors via classes that extend Connector.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$classes` | `array` | An array of Connector objects. +`$this->manager->log` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-connectors.php](modules/logs/classes/class-log-connectors.php), [line 97](modules/logs/classes/class-log-connectors.php#L97-L102) + + + +### `mainwp_insights_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 248](modules/logs/pages/page-log-insights-page.php#L248-L273) + + + +### `mainwp_module_log_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$enable_widgets` | | +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 284](modules/logs/pages/page-log-insights-page.php#L284-L294) + + + +### `mainwp_module_log_widgets_screen_options` + +*Filter: mainwp_module_log_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/logs/pages/page-log-insights-page.php](modules/logs/pages/page-log-insights-page.php), [line 1039](modules/logs/pages/page-log-insights-page.php#L1039-L1046) + + + +### `mainwp_cost_summary_getmetaboxes` + +*Method add_meta_boxes()* + +Add MainWP Overview Page Widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 195](modules/cost-tracker/classes/class-cost-tracker-summary.php#L195-L220) + + + +### `mainwp_module_cost_tracker_summary_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`static::$enable_widgets` | | +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 231](modules/cost-tracker/classes/class-cost-tracker-summary.php#L231-L241) + + + +### `mainwp_module_cost_tracker_summary_widgets_screen_options` + +*Filter: mainwp_module_cost_tracker_summary_widgets_screen_options* + +Filters available widgets on the Overview page allowing users to unsent unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$custom_opts` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/classes/class-cost-tracker-summary.php](modules/cost-tracker/classes/class-cost-tracker-summary.php), [line 497](modules/cost-tracker/classes/class-cost-tracker-summary.php#L497-L504) + + + +### `mainwp_module_cost_tracker_upcoming_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-upcoming-renewals.php#L59-L59) + + + +### `mainwp_module_cost_tracker_yearly_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Yearly Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-yearly-renewals.php#L59-L59) + + + +### `mainwp_module_cost_tracker_monthly_renewals_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Upcoming Monthly Renewals', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php), [line 59](modules/cost-tracker/widgets/widget-cost-tracker-monthly-renewals.php#L59-L59) + + + +### `mainwp_getmetaboxes` + +*Method on_load_page_dashboard()* + +Add individual meta boxes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extMetaBoxs` | | +`$dashboard_siteid` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1401](pages/page-mainwp-manage-sites.php#L1401-L1436) + + + +### `mainwp_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`$dashboard_siteid` | `int` | Child site (Overview) ID. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 1454](pages/page-mainwp-manage-sites.php#L1454-L1464) + + + +### `mainwp_overview_enabled_widgets` + +*Unset unwanted Widgets* + +Contains the list of enabled widgets and allows user to unset unwanted widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$values` | `array` | Array containing enabled widgets. +`null` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-overview.php](pages/page-mainwp-overview.php), [line 230](pages/page-mainwp-overview.php#L230-L240) + + + +### `mainwp_cron_jobs_table_features` + +*Filter: mainwp_cron_jobs_table_features* + +Filters the Cron Schedules table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1155](pages/page-mainwp-server-information.php#L1155-L1162) + + + +### `mainwp_menu_extensions_left_menu` + +*Method init_extensions_menu()* + +Initiate left Extensions menus. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$extensions_and_leftmenus` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-extensions-groups.php](pages/page-mainwp-extensions-groups.php), [line 33](pages/page-mainwp-extensions-groups.php#L33-L824) + + + +### `mainwp_notes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Notes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-notes.php](widgets/widget-mainwp-notes.php), [line 62](widgets/widget-mainwp-notes.php#L62-L62) + + + +### `mainwp_widgets_chart_date_format` + +*Prepare response time for ui chart data.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$format_date` | | +`$params` | `array` | params. +`$slug` | `string` | for date format hook. + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-uptime-monitoring-site-widget.php](widgets/widget-mainwp-uptime-monitoring-site-widget.php), [line 615](widgets/widget-mainwp-uptime-monitoring-site-widget.php#L615-L634) + + + +### `mainwp_get_started_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Get Started with MainWP', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 63](widgets/widget-mainwp-get-started.php#L63-L63) + + + +### `mainwp_non_mainwp_changes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Sites Changes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-site-actions.php](widgets/widget-mainwp-site-actions.php), [line 127](widgets/widget-mainwp-site-actions.php#L127-L127) + + + diff --git a/mainwp-hooks-old/dashboard/filters/updates-maintenance/index.md b/mainwp-hooks-old/dashboard/filters/updates-maintenance/index.md new file mode 100644 index 0000000..4f53630 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/updates-maintenance/index.md @@ -0,0 +1,6002 @@ +# Updates & Maintenance Filters + +Hooks for managing updates to plugins, themes, and WordPress core. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`deactivate_{$plugin}`](#deactivate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`activate_{$plugin}`](#activate_plugin) - Emulate deactivating, then subsequently reactivating the plugin. +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_activated`](#mainwp_activated) - Action: mainwp_activated +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_install_update_actions`](#mainwp_install_update_actions) - Fires immediately after install action. +- [`mainwp_install_plugin_action`](#mainwp_install_plugin_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_install_theme_action`](#mainwp_install_theme_action) - Handle @action mainwp_fetch_url_authed. +- [`mainwp_prepareinstallplugintheme`](#mainwp_prepareinstallplugintheme) - Method mainwp_ext_prepareinstallplugintheme() +- [`mainwp_performinstallplugintheme`](#mainwp_performinstallplugintheme) - Method mainwp_ext_performinstallplugintheme() +- [`mainwp_header_actions_after_select_themes`](#mainwp_header_actions_after_select_themes) - After select theme actions. +- [`mainwp_before_plugin_theme_install_progress`](#mainwp_before_plugin_theme_install_progress) - Action: mainwp_before_plugin_theme_install_progress +- [`mainwp_after_plugin_theme_install_progress`](#mainwp_after_plugin_theme_install_progress) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_install_plugin_theme_modal_action`](#mainwp_install_plugin_theme_modal_action) - Action: mainwp_after_plugin_theme_install_progress +- [`mainwp_select_themes_modal_top`](#mainwp_select_themes_modal_top) - Action: mainwp_select_themes_modal_top +- [`mainwp_select_themes_modal_bottom`](#mainwp_select_themes_modal_bottom) - Action: mainwp_select_themes_modal_bottom +- [`mainwp_widget_updates_actions_top`](#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_updated_site`](#mainwp_updated_site) - Action: mainwp_updated_site +- [`mainwp_install_plugin_card_top`](#mainwp_install_plugin_card_top) - Action: mainwp_install_plugin_card_top +- [`mainwp_install_plugin_card_bottom`](#mainwp_install_plugin_card_bottom) - Action: mainwp_install_plugin_card_bottom +- [`mainwp_db_after_update`](#mainwp_db_after_update) - Method install() +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_delete_key_file`](#mainwp_delete_key_file) - Method update child api key. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_ajax_add_action`](#mainwp_ajax_add_action) - Init ajax actions. +- [`mainwp_module_cost_tracker_email_header`](#mainwp_module_cost_tracker_email_header) - HTTP Check Email Header +- [`mainwp_module_cost_tracker_email_footer`](#mainwp_module_cost_tracker_email_footer) - HTTP Check Email Footer +- [`mainwp_plugins_actions_bar_left`](#mainwp_plugins_actions_bar_left) - Action: mainwp_plugins_actions_bar_left +- [`mainwp_plugins_actions_bar_right`](#mainwp_plugins_actions_bar_right) - Action: mainwp_plugins_actions_bar_right +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Action: mainwp_manage_plugins_sidebar_top +- [`mainwp_manage_plugins_before_select_sites`](#mainwp_manage_plugins_before_select_sites) - Action: mainwp_manage_plugins_before_select_sites +- [`mainwp_manage_plugins_after_select_sites`](#mainwp_manage_plugins_after_select_sites) - Action: mainwp_manage_plugins_after_select_sites +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Action: mainwp_manage_plugins_before_search_options +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Action: mainwp_manage_plugins_after_search_options +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Action: mainwp_manage_plugins_before_submit_button +- [`mainwp_manage_plugins_after_submit_button`](#mainwp_manage_plugins_after_submit_button) - Action: mainwp_manage_plugins_after_submit_button +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Action: mainwp_manage_plugins_sidebar_bottom +- [`mainwp_plugins_bulk_action`](#mainwp_plugins_bulk_action) - Action: mainwp_plugins_bulk_action +- [`mainwp_before_plugins_table`](#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_after_plugins_table`](#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_before_plugins_table`](#mainwp_before_plugins_table) - Action: mainwp_before_plugins_table +- [`mainwp_after_plugins_table`](#mainwp_after_plugins_table) - Action: mainwp_after_plugins_table +- [`mainwp_install_plugin_theme_tabs_header_top`](#mainwp_install_plugin_theme_tabs_header_top) - Render Install plugins Table. +- [`mainwp_install_plugins_actions_bar_right`](#mainwp_install_plugins_actions_bar_right) - Install Plugins actions bar (right) +- [`mainwp_install_plugins_actions_bar_left`](#mainwp_install_plugins_actions_bar_left) - Install Plugins actions bar (left) +- [`mainwp_bulk_install_tabs_content`](#mainwp_bulk_install_tabs_content) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_select_sites`](#mainwp_manage_plugins_before_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_select_sites`](#mainwp_manage_plugins_after_select_sites) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Install plugins Table. +- [`mainwp_bulk_install_sidebar_submit_bottom`](#mainwp_bulk_install_sidebar_submit_bottom) - Render Install plugins Table. +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Render Install plugins Table. +- [`mainwp_plugins_auto_updates_bulk_action`](#mainwp_plugins_auto_updates_bulk_action) - Action: mainwp_plugins_auto_updates_bulk_action +- [`mainwp_manage_plugins_sidebar_top`](#mainwp_manage_plugins_sidebar_top) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_search_options`](#mainwp_manage_plugins_before_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_search_options`](#mainwp_manage_plugins_after_search_options) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_before_submit_button`](#mainwp_manage_plugins_before_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_after_submit_button`](#mainwp_manage_plugins_after_submit_button) - Render Autoupdate SubPage. +- [`mainwp_manage_plugins_sidebar_bottom`](#mainwp_manage_plugins_sidebar_bottom) - Render Autoupdate SubPage. +- [`mainwp_plugins_before_auto_updates_table`](#mainwp_plugins_before_auto_updates_table) - Action: mainwp_plugins_before_auto_updates_table +- [`mainwp_plugins_after_auto_updates_table`](#mainwp_plugins_after_auto_updates_table) - Action: mainwp_plugins_after_auto_updates_table +- [`mainwp_plugins_before_ignored_updates`](#mainwp_plugins_before_ignored_updates) - Action: mainwp_plugins_before_ignored_updates +- [`mainwp_plugins_after_ignored_updates`](#mainwp_plugins_after_ignored_updates) - Action: mainwp_plugins_after_ignored_updates +- [`mainwp_plugins_before_ignored_abandoned`](#mainwp_plugins_before_ignored_abandoned) - Action: mainwp_plugins_before_ignored_abandoned +- [`mainwp_plugins_after_ignored_abandoned`](#mainwp_plugins_after_ignored_abandoned) - Action: mainwp_plugins_after_ignored_abandoned +- [`mainwp_plugins_help_item`](#mainwp_plugins_help_item) - Action: mainwp_plugins_help_item +- [`mainwp_applypluginsettings_{$ext_dir_slug}`](#mainwp_applypluginsettings_ext_dir_slug) - Apply plugin settings +- [`mainwp_admin_pass_sidebar_top`](#mainwp_admin_pass_sidebar_top) - Action: mainwp_admin_pass_sidebar_top +- [`mainwp_admin_pass_before_select_sites`](#mainwp_admin_pass_before_select_sites) - Action: mainwp_admin_pass_before_select_sites +- [`mainwp_admin_pass_after_select_sites`](#mainwp_admin_pass_after_select_sites) - Action: mainwp_admin_pass_after_select_sites +- [`mainwp_admin_pass_before_pass_form`](#mainwp_admin_pass_before_pass_form) - Action: mainwp_admin_pass_before_pass_form +- [`mainwp_admin_pass_after_pass_form`](#mainwp_admin_pass_after_pass_form) - Action: mainwp_admin_pass_after_pass_form +- [`mainwp_admin_pass_before_submit_button`](#mainwp_admin_pass_before_submit_button) - Action: mainwp_admin_pass_before_submit_button +- [`mainwp_admin_pass_after_submit_button`](#mainwp_admin_pass_after_submit_button) - Action: mainwp_admin_pass_after_submit_button +- [`mainwp_admin_pass_sidebar_bottom`](#mainwp_admin_pass_sidebar_bottom) - Action: mainwp_admin_pass_sidebar_bottom +- [`mainwp_client_updated`](#mainwp_client_updated) - Add client +- [`mainwp_update_site`](#mainwp_update_site) - Update site +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_plugin_action`](#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_after_plugin_action`](#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_cores_before_ignored_updates`](#mainwp_cores_before_ignored_updates) - Action: mainwp_cores_before_ignored_updates +- [`mainwp_cores_after_ignored_updates`](#mainwp_cores_after_ignored_updates) - Action: mainwp_cores_after_ignored_updates +- [`mainwp_update_backuptask`](#mainwp_update_backuptask) - Update backup task. +- [`mainwp_before_plugin_theme_install`](#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_before_plugin_theme_install`](#mainwp_before_plugin_theme_install) - Action: mainwp_before_plugin_theme_install +- [`mainwp_after_plugin_theme_install`](#mainwp_after_plugin_theme_install) - Action: mainwp_after_plugin_theme_install +- [`mainwp_before_plugin_privacy_section`](#mainwp_before_plugin_privacy_section) - Action: mainwp_before_plugin_privacy_section +- [`mainwp_after_plugin_privacy_section`](#mainwp_after_plugin_privacy_section) - Action: mainwp_after_plugin_privacy_section +- [`mainwp_updates_before_wp_updates`](#mainwp_updates_before_wp_updates) - Action: mainwp_updates_before_wp_updates +- [`mainwp_updates_after_wp_updates`](#mainwp_updates_after_wp_updates) - Action: mainwp_updates_after_wp_updates +- [`mainwp_updates_before_plugin_updates`](#mainwp_updates_before_plugin_updates) - Action: mainwp_updates_before_plugin_updates +- [`mainwp_updates_perplugin_before_plugin_updates`](#mainwp_updates_perplugin_before_plugin_updates) - Action: mainwp_updates_perplugin_before_plugin_updates +- [`mainwp_updates_perplugin_after_plugin_updates`](#mainwp_updates_perplugin_after_plugin_updates) - Action: mainwp_updates_perplugin_after_plugin_updates +- [`mainwp_updates_after_plugin_updates`](#mainwp_updates_after_plugin_updates) - Action: mainwp_updates_after_plugin_updates +- [`mainwp_updates_before_theme_updates`](#mainwp_updates_before_theme_updates) - Action: mainwp_updates_before_theme_updates +- [`mainwp_updates_pertheme_before_theme_updates`](#mainwp_updates_pertheme_before_theme_updates) - Action: mainwp_updates_pertheme_before_theme_updates +- [`mainwp_updates_pertheme_after_theme_updates`](#mainwp_updates_pertheme_after_theme_updates) - Action: mainwp_updates_pertheme_after_theme_updates +- [`mainwp_updates_after_theme_updates`](#mainwp_updates_after_theme_updates) - Action: mainwp_updates_after_theme_updates +- [`mainwp_updates_before_translation_updates`](#mainwp_updates_before_translation_updates) - Action: mainwp_updates_before_translation_updates +- [`mainwp_updates_pertranslation_before_translation_updates`](#mainwp_updates_pertranslation_before_translation_updates) - Action: mainwp_updates_pertranslation_before_translation_updates +- [`mainwp_updates_pertranslation_after_translation_updates`](#mainwp_updates_pertranslation_after_translation_updates) - Action: mainwp_updates_pertranslation_after_translation_updates +- [`mainwp_updates_after_translation_updates`](#mainwp_updates_after_translation_updates) - Action: mainwp_updates_after_translation_updates +- [`mainwp_updates_before_abandoned_plugins`](#mainwp_updates_before_abandoned_plugins) - Action: mainwp_updates_before_abandoned_plugins +- [`mainwp_updates_perplugin_before_abandoned_plugins`](#mainwp_updates_perplugin_before_abandoned_plugins) - Action: mainwp_updates_perplugin_before_abandoned_plugins +- [`mainwp_updates_perplugin_after_abandoned_plugins`](#mainwp_updates_perplugin_after_abandoned_plugins) - Action: mainwp_updates_perplugin_after_abandoned_plugins +- [`mainwp_updates_after_abandoned_plugins`](#mainwp_updates_after_abandoned_plugins) - Action: mainwp_updates_after_abandoned_plugins +- [`mainwp_updates_before_abandoned_themes`](#mainwp_updates_before_abandoned_themes) - Action: mainwp_updates_before_abandoned_themes +- [`mainwp_updates_pertheme_before_abandoned_themes`](#mainwp_updates_pertheme_before_abandoned_themes) - Action: mainwp_updates_pertheme_before_abandoned_themes +- [`mainwp_updates_pertheme_after_abandoned_themes`](#mainwp_updates_pertheme_after_abandoned_themes) - Action: mainwp_updates_pertheme_after_abandoned_themes +- [`mainwp_updates_after_abandoned_themes`](#mainwp_updates_after_abandoned_themes) - Action: mainwp_updates_after_abandoned_themes +- [`mainwp_updates_before_nav_tabs`](#mainwp_updates_before_nav_tabs) - Action: mainwp_updates_before_nav_tabs +- [`mainwp_updates_after_nav_tabs`](#mainwp_updates_after_nav_tabs) - Action: mainwp_updates_after_nav_tabs +- [`mainwp_updates_before_actions_bar`](#mainwp_updates_before_actions_bar) - Action: mainwp_updates_before_actions_bar +- [`mainwp_widget_updates_actions_top`](#mainwp_widget_updates_actions_top) - Action: mainwp_widget_updates_actions_top +- [`mainwp_updates_after_actions_bar`](#mainwp_updates_after_actions_bar) - Action: mainwp_updates_after_actions_bar +- [`mainwp_updates_help_item`](#mainwp_updates_help_item) - Action: mainwp_updates_help_item +- [`mainwp_before_theme_action`](#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_after_theme_action`](#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_after_upgrade_wp_success`](#mainwp_after_upgrade_wp_success) - Method upgrade_site() +- [`mainwp_before_wp_update`](#mainwp_before_wp_update) - Action: mainwp_before_wp_update +- [`mainwp_after_wp_update`](#mainwp_after_wp_update) - Action: mainwp_after_wp_update +- [`mainwp_before_plugin_ignore`](#mainwp_before_plugin_ignore) - Action: mainwp_before_plugin_ignore +- [`mainwp_after_plugin_ignore`](#mainwp_after_plugin_ignore) - Action: mainwp_after_plugin_ignore +- [`mainwp_before_theme_ignore`](#mainwp_before_theme_ignore) - Action: mainwp_before_theme_ignore +- [`mainwp_after_theme_ignore`](#mainwp_after_theme_ignore) - Action: mainwp_after_theme_ignore +- [`mainwp_before_plugin_theme_unignore`](#mainwp_before_plugin_theme_unignore) - Action: mainwp_before_plugin_theme_unignore +- [`mainwp_before_plugin_unignore`](#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_after_plugin_unignore`](#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_before_theme_unignore`](#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_after_theme_unignore`](#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_before_plugin_unignore`](#mainwp_before_plugin_unignore) - Action: mainwp_before_plugin_unignore +- [`mainwp_after_plugin_unignore`](#mainwp_after_plugin_unignore) - Action: mainwp_after_plugin_unignore +- [`mainwp_before_theme_unignore`](#mainwp_before_theme_unignore) - Action: mainwp_before_theme_unignore +- [`mainwp_after_theme_unignore`](#mainwp_after_theme_unignore) - Action: mainwp_after_theme_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_core_unignore`](#mainwp_before_core_unignore) - Action: mainwp_before_core_unignore +- [`mainwp_after_core_unignore`](#mainwp_after_core_unignore) - Action: mainwp_after_core_unignore +- [`mainwp_before_plugin_theme_translation_update`](#mainwp_before_plugin_theme_translation_update) - Action: mainwp_before_plugin_theme_translation_update +- [`mainwp_after_plugin_theme_translation_update`](#mainwp_after_plugin_theme_translation_update) - Action: mainwp_after_plugin_theme_translation_update +- [`mainwp_themes_actions_bar_left`](#mainwp_themes_actions_bar_left) - Action: mainwp_themes_actions_bar_left +- [`mainwp_themes_actions_bar_right`](#mainwp_themes_actions_bar_right) - Action: mainwp_themes_actions_bar_right +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Action: mainwp_manage_themes_sidebar_top +- [`mainwp_manage_themes_before_select_sites`](#mainwp_manage_themes_before_select_sites) - Action: mainwp_manage_themes_before_select_sites +- [`mainwp_manage_themes_after_select_sites`](#mainwp_manage_themes_after_select_sites) - Action: mainwp_manage_themes_after_select_sites +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Action: mainwp_manage_themes_before_search_options +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Action: mainwp_manage_themes_after_search_options +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Action: mainwp_manage_themes_before_submit_button +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Action: mainwp_manage_themes_after_submit_button +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Action: mainwp_manage_themes_sidebar_bottom +- [`mainwp_before_themes_table`](#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_after_themes_table`](#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_before_themes_table`](#mainwp_before_themes_table) - Action: mainwp_before_themes_table +- [`mainwp_after_themes_table`](#mainwp_after_themes_table) - Action: mainwp_after_themes_table +- [`mainwp_themes_bulk_action`](#mainwp_themes_bulk_action) - Action: mainwp_themes_bulk_action +- [`mainwp_install_plugin_theme_tabs_header_top`](#mainwp_install_plugin_theme_tabs_header_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_themes_actions_bar_right`](#mainwp_install_themes_actions_bar_right) - Install Themes actions bar (right) +- [`mainwp_install_themes_actions_bar_left`](#mainwp_install_themes_actions_bar_left) - Install Themes actions bar (left) +- [`mainwp_bulk_install_tabs_content`](#mainwp_bulk_install_tabs_content) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_select_sites`](#mainwp_manage_themes_before_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_select_sites`](#mainwp_manage_themes_after_select_sites) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Render the Themes table for the Install Themes Tab. +- [`mainwp_bulk_install_sidebar_submit_bottom`](#mainwp_bulk_install_sidebar_submit_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_install_theme_card_template_bottom`](#mainwp_install_theme_card_template_bottom) - Render the Themes table for the Install Themes Tab. +- [`mainwp_themes_auto_updates_bulk_action`](#mainwp_themes_auto_updates_bulk_action) - Action: mainwp_themes_auto_updates_bulk_action +- [`mainwp_manage_themes_sidebar_top`](#mainwp_manage_themes_sidebar_top) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_search_options`](#mainwp_manage_themes_before_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_search_options`](#mainwp_manage_themes_after_search_options) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_before_submit_button`](#mainwp_manage_themes_before_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_after_submit_button`](#mainwp_manage_themes_after_submit_button) - Render the Themes Auto Update Tab. +- [`mainwp_manage_themes_sidebar_bottom`](#mainwp_manage_themes_sidebar_bottom) - Render the Themes Auto Update Tab. +- [`mainwp_themes_before_auto_updates_table`](#mainwp_themes_before_auto_updates_table) - Action: mainwp_themes_before_auto_updates_table +- [`mainwp_themes_after_auto_updates_table`](#mainwp_themes_after_auto_updates_table) - Action: mainwp_themes_after_auto_updates_table +- [`mainwp_themes_before_ignored_updates`](#mainwp_themes_before_ignored_updates) - Action: mainwp_themes_before_ignored_updates +- [`mainwp_themes_after_ignored_updates`](#mainwp_themes_after_ignored_updates) - Action: mainwp_themes_after_ignored_updates +- [`mainwp_themes_before_ignored_abandoned`](#mainwp_themes_before_ignored_abandoned) - Action: mainwp_themes_before_ignored_abandoned +- [`mainwp_themes_after_ignored_abandoned`](#mainwp_themes_after_ignored_abandoned) - Action: mainwp_themes_after_ignored_abandoned +- [`mainwp_themes_help_item`](#mainwp_themes_help_item) - Action: mainwp_themes_help_item +- [`mainwp_plugins_widget_top`](#mainwp_plugins_widget_top) - Action: mainwp_plugins_widget_top +- [`mainwp_before_active_plugins_list`](#mainwp_before_active_plugins_list) - Action: mainwp_before_active_plugins_list +- [`mainwp_after_active_plugins_list`](#mainwp_after_active_plugins_list) - Action: mainwp_after_active_plugins_list +- [`mainwp_before_inactive_plugins_list`](#mainwp_before_inactive_plugins_list) - Action: mainwp_before_inactive_plugins_list +- [`mainwp_after_inactive_plugins_list`](#mainwp_after_inactive_plugins_list) - Action: mainwp_after_inactive_plugins_list +- [`mainwp_plugins_widget_bottom`](#mainwp_plugins_widget_bottom) - Action: mainwp_plugins_widget_bottom +- [`mainwp_before_plugin_action`](#mainwp_before_plugin_action) - Action: mainwp_before_plugin_action +- [`mainwp_after_plugin_action`](#mainwp_after_plugin_action) - Action: mainwp_after_plugin_action +- [`mainwp_themes_widget_top`](#mainwp_themes_widget_top) - Action: mainwp_themes_widget_top +- [`mainwp_before_inactive_themes_list`](#mainwp_before_inactive_themes_list) - Action: mainwp_before_inactive_themes_list +- [`mainwp_after_inactive_themes_list`](#mainwp_after_inactive_themes_list) - Action: mainwp_after_inactive_themes_list +- [`mainwp_themes_widget_bottom`](#mainwp_themes_widget_bottom) - Action: mainwp_themes_widget_bottom +- [`mainwp_before_theme_action`](#mainwp_before_theme_action) - Action: mainwp_before_theme_action +- [`mainwp_after_theme_action`](#mainwp_after_theme_action) - Action: mainwp_after_theme_action +- [`mainwp_updates_overview_after_update_details`](#mainwp_updates_overview_after_update_details) - Action: mainwp_updates_overview_after_update_details +- [`mainwp_updates_overview_before_total_updates`](#mainwp_updates_overview_before_total_updates) - Action: mainwp_updates_overview_before_total_updates +- [`mainwp_updates_overview_after_total_updates`](#mainwp_updates_overview_after_total_updates) - Action: mainwp_updates_overview_after_total_updates +- [`mainwp_updates_overview_before_update_details`](#mainwp_updates_overview_before_update_details) - Action: mainwp_updates_overview_before_update_details +- [`mainwp_updates_overview_before_wordpress_updates`](#mainwp_updates_overview_before_wordpress_updates) - Action: mainwp_updates_overview_before_wordpress_updates +- [`mainwp_updates_overview_after_wordpress_updates`](#mainwp_updates_overview_after_wordpress_updates) - Action: mainwp_updates_overview_after_wordpress_updates +- [`mainwp_updates_overview_before_plugin_updates`](#mainwp_updates_overview_before_plugin_updates) - Action: mainwp_updates_overview_before_plugin_updates +- [`mainwp_updates_overview_after_plugin_updates`](#mainwp_updates_overview_after_plugin_updates) - Action: mainwp_updates_overview_after_plugin_updates +- [`mainwp_updates_overview_before_theme_updates`](#mainwp_updates_overview_before_theme_updates) - Action: mainwp_updates_overview_before_theme_updates +- [`mainwp_updates_overview_after_theme_updates`](#mainwp_updates_overview_after_theme_updates) - Action: mainwp_updates_overview_after_theme_updates +- [`mainwp_updates_overview_before_translation_updates`](#mainwp_updates_overview_before_translation_updates) - Action: mainwp_updates_overview_before_translation_updates +- [`mainwp_updates_overview_after_translation_updates`](#mainwp_updates_overview_after_translation_updates) - Action: mainwp_updates_overview_after_translation_updates +- [`mainwp_updates_overview_before_abandoned_plugins_themes`](#mainwp_updates_overview_before_abandoned_plugins_themes) - Action: mainwp_updates_overview_before_abandoned_plugins_themes +- [`mainwp_updates_overview_after_abandoned_plugins_themes`](#mainwp_updates_overview_after_abandoned_plugins_themes) - Action: mainwp_updates_overview_after_abandoned_plugins_themes +- [`mainwp_updatesoverview_widget_bottom`](#mainwp_updatesoverview_widget_bottom) - Action: mainwp_updatesoverview_widget_bottom +- [`mainwp_load_text_domain`](#mainwp_load_text_domain) - Method localization() +- [`mainwp_cron_bulk_update_items_limit`](#mainwp_cron_bulk_update_items_limit) - Method handle_cron_batch_updates() +- [`mainwp_api_manager_upgrade_url`](#mainwp_api_manager_upgrade_url) - Get Upgrade URL. +- [`mainwp_update_cached_icons`](#mainwp_update_cached_icons) - Method update_cached_icons(). +- [`mainwp_get_plugin_theme_icon`](#mainwp_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](#mainwp_forced_get_plugin_theme_icon) - Gets a plugin icon via API from WordPress.org +- [`mainwp_get_plugin_theme_icon`](#mainwp_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_forced_get_plugin_theme_icon`](#mainwp_forced_get_plugin_theme_icon) - Gets a theme icon via API from WordPress.org +- [`mainwp_plugin_theme_icon_cache_days`](#mainwp_plugin_theme_icon_cache_days) - Gets a plugin|theme icon to output. +- [`mainwp_cache_icon_expired`](#mainwp_cache_icon_expired) - Gets a plugin|theme icon to output. +- [`mainwp_updates_table_columns_header`](#mainwp_updates_table_columns_header) - Get column info. +- [`mainwp_updates_table_header_content`](#mainwp_updates_table_header_content) - Echo the column headers. +- [`mainwp_updates_table_row_columns`](#mainwp_updates_table_row_columns) - Echo columns. +- [`mainwp_update_plugintheme_max`](#mainwp_update_plugintheme_max) - Filter: mainwp_update_plugintheme_max +- [`mainwp_show_all_updates_button_text`](#mainwp_show_all_updates_button_text) - *Arguments* +- [`mainwp_plugin_information_sslverify`](#mainwp_plugin_information_sslverify) - Sends and receives data to and from the server API. +- [`mainwp_api_manager_upgrade_package_url`](#mainwp_api_manager_upgrade_package_url) - +- [`mainwp_plugins_install_checks`](#mainwp_plugins_install_checks) - Method get_plugins_install_check() +- [`mainwp_updatescheck_sendmail_at_time`](#mainwp_updatescheck_sendmail_at_time) - Filter: mainwp_updatescheck_sendmail_at_time +- [`mainwp_updatescheck_hours_interval`](#mainwp_updatescheck_hours_interval) - Filter: mainwp_updatescheck_hours_interval +- [`mainwp_detect_premiums_updates`](#mainwp_detect_premiums_updates) - Filter: mainwp_detect_premiums_updates +- [`mainwp_detect_premium_plugins_update`](#mainwp_detect_premium_plugins_update) - Filter: mainwp_detect_premium_plugins_update +- [`mainwp_detect_premium_themes_update`](#mainwp_detect_premium_themes_update) - Filter: mainwp_detect_premium_themes_update +- [`mainwp_request_update_premium_plugins`](#mainwp_request_update_premium_plugins) - Filter: mainwp_request_update_premium_plugins +- [`mainwp_request_update_premium_themes`](#mainwp_request_update_premium_themes) - Filter: mainwp_request_update_premium_themes +- [`mainwp_uptime_monitoring_update_monitor_data`](#mainwp_uptime_monitoring_update_monitor_data) - Method handle_save_settings +- [`mainwp_default_template_source_dir`](#mainwp_default_template_source_dir) - Locate a template and return the path for inclusion. +- [`mainwp_update_uptime_monitor_data`](#mainwp_update_uptime_monitor_data) - Method update_uptime_global_settings +- [`mainwp_available_updates_count_custom_fields_data`](#mainwp_available_updates_count_custom_fields_data) - Method sites_available_updates_count() +- [`mainwp_database_updater_supported_plugins`](#mainwp_database_updater_supported_plugins) - Method sites_available_updates_count() +- [`mainwp_db_install_tables`](#mainwp_db_install_tables) - Method install() +- [`mainwp_cron_bulk_update_items_limit`](#mainwp_cron_bulk_update_items_limit) - Method handle_cron_auto_updates() +- [`mainwp-getsubpages-plugins`](#mainwp-getsubpages-plugins) - Plugins Subpages +- [`mainwp_getsubpages_plugins`](#mainwp_getsubpages_plugins) - Instantiate Main Plugins Menu. +- [`mainwp_manage_plugin_theme_hide_show_updates_per`](#mainwp_manage_plugin_theme_hide_show_updates_per) - Method render_select_manage_view(). +- [`file_mod_allowed`](#file_mod_allowed) - Disables plugin installation +- [`mainwp_plugin_auto_updates_table_fatures`](#mainwp_plugin_auto_updates_table_fatures) - Filter: mainwp_plugin_auto_updates_table_fatures +- [`mainwp_update_admin_password_complexity`](#mainwp_update_admin_password_complexity) - Filter: mainwp_update_admin_password_complexity +- [`mainwp_file_uploader_chunk_size`](#mainwp_file_uploader_chunk_size) - Method render_upload() +- [`mainwp_prepare_install_download_url`](#mainwp_prepare_install_download_url) - Method prepare_install() +- [`mainwp_bulk_prepare_install_result`](#mainwp_bulk_prepare_install_result) - Filter: mainwp_bulk_prepare_install_result +- [`mainwp_perform_install_data`](#mainwp_perform_install_data) - Perform insatallation additional data +- [`mainwp_installbulk_prepareupload`](#mainwp_installbulk_prepareupload) - Prepare upload +- [`mainwp_perform_install_data`](#mainwp_perform_install_data) - This filter is documented in pages/page-mainwp-install-bulk.php +- [`mainwp_bulk_upload_install_result`](#mainwp_bulk_upload_install_result) - Filter: mainwp_bulk_upload_install_result +- [`mainwp_sub_leftmenu_updates`](#mainwp_sub_leftmenu_updates) - Initiates Updates menu. +- [`mainwp_updates_translation_sort_by`](#mainwp_updates_translation_sort_by) - Filter: mainwp_updates_translation_sort_by +- [`mainwp_updates_plugins_sort_by`](#mainwp_updates_plugins_sort_by) - Filter: mainwp_updates_plugins_sort_by +- [`mainwp_updates_themes_sort_by`](#mainwp_updates_themes_sort_by) - Filter: mainwp_updates_themes_sort_by +- [`mainwp_updates_abandoned_plugins_sort_by`](#mainwp_updates_abandoned_plugins_sort_by) - Filter: mainwp_updates_abandoned_plugins_sort_by +- [`mainwp_updates_abandoned_themes_sort_by`](#mainwp_updates_abandoned_themes_sort_by) - Filter: mainwp_updates_abandoned_themes_sort_by +- [`mainwp_limit_updates_all`](#mainwp_limit_updates_all) - Limits number of updates to process. +- [`mainwp_pages_updates_render_tabs`](#mainwp_pages_updates_render_tabs) - Renders updates page. +- [`mainwp_updates_table_features`](#mainwp_updates_table_features) - Filter: mainwp_updates_table_features +- [`mainwp_page_hearder_tabs_updates`](#mainwp_page_hearder_tabs_updates) - Renders header tabs +- [`mainwp_updates_hide_show_updates_per`](#mainwp_updates_hide_show_updates_per) - Renders header tabs +- [`mainwp_manage_updates_limit_loading`](#mainwp_manage_updates_limit_loading) - Method handle_limit_sites(). +- [`mainwp-getsubpages-themes`](#mainwp-getsubpages-themes) - Themes Subpages +- [`mainwp_getsubpages_themes`](#mainwp_getsubpages_themes) - Method init_menu() +- [`file_mod_allowed`](#file_mod_allowed) - Disables themes installation +- [`mainwp_favorites_themes`](#mainwp_favorites_themes) - Render the Themes table for the Install Themes Tab. +- [`mainwp_theme_auto_updates_table_fatures`](#mainwp_theme_auto_updates_table_fatures) - Filter: mainwp_theme_auto_updates_table_fatures +- [`mainwp_module_cost_tracker_get_total_cost`](#mainwp_module_cost_tracker_get_total_cost) - Method render_sites() +- [`mainwp_plugins_widget_title`](#mainwp_plugins_widget_title) - *Arguments* +- [`mainwp_themes_widget_title`](#mainwp_themes_widget_title) - *Arguments* +- [`mainwp_limit_updates_all`](#mainwp_limit_updates_all) - Filter: mainwp_limit_updates_all +- [`mainwp_updates_overview_widget_title`](#mainwp_updates_overview_widget_title) - *Arguments* +- [`mainwp_update_everything_button_text`](#mainwp_update_everything_button_text) - *Arguments* + +## Hook Details + +### `deactivate_{$plugin}` + +*Emulate deactivating, then subsequently reactivating the plugin.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/tests/test-case.php](tests/test-case.php), [line 11](tests/test-case.php#L11-L17) + + + +### `activate_{$plugin}` + +*Emulate deactivating, then subsequently reactivating the plugin.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +Source: [../sources/mainwp-dashboard/tests/test-case.php](tests/test-case.php), [line 11](tests/test-case.php#L11-L18) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1273](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1273-L1280) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1283](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1283-L1290) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1310](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1310-L1317) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php), [line 1319](includes/rest-api/controller/version2/class-mainwp-rest-updates-controller.php#L1319-L1326) + + + +### `mainwp_activated` + +*Action: mainwp_activated* + +Fires upon MainWP plugin activation. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 248](class/class-mainwp-system.php#L248-L255) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`implode(',', $pluginsToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 252](class/class-mainwp-cron-jobs-batch.php#L252-L259) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'plugin'` | | +`implode(',', $pluginsToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 274](class/class-mainwp-cron-jobs-batch.php#L274-L281) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`implode(',', $themesToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 316](class/class-mainwp-cron-jobs-batch.php#L316-L323) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'theme'` | | +`implode(',', $themesToUpdateNow)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 343](class/class-mainwp-cron-jobs-batch.php#L343-L350) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 1427](class/class-mainwp-hooks.php#L1427-L1434) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-hooks.php](class/class-mainwp-hooks.php), [line 1445](class/class-mainwp-hooks.php#L1445-L1452) + + + +### `mainwp_install_update_actions` + +*Fires immediately after install action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$type` | | +`$post_data` | | +`$upload` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 94](class/class-mainwp-actions-handler.php#L94-L99) + + + +### `mainwp_install_plugin_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$plugin_act` | | +`$params` | `array` | params input array. +`$information['other_data']['plugin_action_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L118) + + + +### `mainwp_install_theme_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`'deactivate'` | | +`$params` | `array` | params input array. +`$information['other_data']['theme_deactivate_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L123) + + + +### `mainwp_install_theme_action` + +*Handle @action mainwp_fetch_url_authed.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | website. +`$theme_act` | | +`$params` | `array` | params input array. +`$information['other_data']['theme_action_data']` | | +`$others` | `array` | others input array. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-actions-handler.php](class/class-mainwp-actions-handler.php), [line 102](class/class-mainwp-actions-handler.php#L102-L126) + + + +### `mainwp_prepareinstallplugintheme` + +*Method mainwp_ext_prepareinstallplugintheme()* + +Prepair Installation of plugins & themes, +Page: ManageSites. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 451](class/class-mainwp-post-plugin-theme-handler.php#L451-L458) + + + +### `mainwp_performinstallplugintheme` + +*Method mainwp_ext_performinstallplugintheme()* + +Installation of plugins & themes, +Page: ManageSites. + + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 461](class/class-mainwp-post-plugin-theme-handler.php#L461-L469) + + + +### `mainwp_header_actions_after_select_themes` + +*After select theme actions.* + + +**Changelog** + +Version | Description +------- | ----------- +`4.5.2` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1365](class/class-mainwp-ui.php#L1365-L1370) + + + +### `mainwp_before_plugin_theme_install_progress` + +*Action: mainwp_before_plugin_theme_install_progress* + +Fires before the progress list in the install modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1873](class/class-mainwp-ui.php#L1873-L1880) + + + +### `mainwp_after_plugin_theme_install_progress` + +*Action: mainwp_after_plugin_theme_install_progress* + +Fires after the progress list in the install modal element. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1884](class/class-mainwp-ui.php#L1884-L1891) + + + +### `mainwp_install_plugin_theme_modal_action` + +*Action: mainwp_after_plugin_theme_install_progress* + +Fires after the progress list in the install modal element. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$what` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1896](class/class-mainwp-ui.php#L1896-L1903) + + + +### `mainwp_select_themes_modal_top` + +*Action: mainwp_select_themes_modal_top* + +Fires at the top of the modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2602](class/class-mainwp-ui.php#L2602-L2609) + + + +### `mainwp_select_themes_modal_bottom` + +*Action: mainwp_select_themes_modal_bottom* + +Fires at the bottom of the modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.3` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 2613](class/class-mainwp-ui.php#L2613-L2620) + + + +### `mainwp_widget_updates_actions_top` + +*Action: mainwp_widget_updates_actions_top* + +Updates actions top content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$active_tab` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 710](class/class-mainwp-manage-sites-view.php#L710-L717) + + + +### `mainwp_updated_site` + +*Action: mainwp_updated_site* + +Fires after updatig the child site options. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | +`$data` | `array` | Child site data. + +**Changelog** + +Version | Description +------- | ----------- +`3.5.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-manage-sites-view.php](class/class-mainwp-manage-sites-view.php), [line 2361](class/class-mainwp-manage-sites-view.php#L2361-L2371) + + + +### `mainwp_install_plugin_card_top` + +*Action: mainwp_install_plugin_card_top* + +Fires at the plugin card at top on the Install Plugins page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-plugins-install-list-table.php](class/class-mainwp-plugins-install-list-table.php), [line 484](class/class-mainwp-plugins-install-list-table.php#L484-L491) + + + +### `mainwp_install_plugin_card_bottom` + +*Action: mainwp_install_plugin_card_bottom* + +Fires at the plugin card at bottom on the Install Plugins page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugin` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-plugins-install-list-table.php](class/class-mainwp-plugins-install-list-table.php), [line 529](class/class-mainwp-plugins-install-list-table.php#L529-L536) + + + +### `mainwp_db_after_update` + +*Method install()* + +Installs the new DB. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$currentVersion` | | +`$this->mainwp_db_version` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-install.php](class/class-mainwp-install.php), [line 64](class/class-mainwp-install.php#L64-L442) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 648](class/class-mainwp-cron-jobs-auto-updates.php#L648-L655) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'plugin'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 672](class/class-mainwp-cron-jobs-auto-updates.php#L672-L679) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 735](class/class-mainwp-cron-jobs-auto-updates.php#L735-L742) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'theme'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 761](class/class-mainwp-cron-jobs-auto-updates.php#L761-L768) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'translation'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 817](class/class-mainwp-cron-jobs-auto-updates.php#L817-L824) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`'translation'` | | +`implode(',', $slugs)` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 842](class/class-mainwp-cron-jobs-auto-updates.php#L842-L849) + + + +### `mainwp_delete_key_file` + +*Method update child api key.* + +Encrypt data. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$key_file` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-utility.php](modules/api-backups/classes/class-api-backups-utility.php), [line 700](modules/api-backups/classes/class-api-backups-utility.php#L700-L742) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'cloudways_action_update_ids'` | | +`array(&$this, 'ajax_cloudways_action_update_ids')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L107) + + + +### `mainwp_ajax_add_action` + +*Init ajax actions.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'gridpane_action_update_ids'` | | +`array(&$this, 'ajax_gridpane_action_update_ids')` | | + +Source: [../sources/mainwp-dashboard/modules/api-backups/classes/class-api-backups-3rd-party.php](modules/api-backups/classes/class-api-backups-3rd-party.php), [line 100](modules/api-backups/classes/class-api-backups-3rd-party.php#L100-L115) + + + +### `mainwp_module_cost_tracker_email_header` + +*HTTP Check Email Header* + +Fires at the top of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/templates/emails/module-cost-tracker-email.php](modules/cost-tracker/templates/emails/module-cost-tracker-email.php), [line 29](modules/cost-tracker/templates/emails/module-cost-tracker-email.php#L29-L36) + + + +### `mainwp_module_cost_tracker_email_footer` + +*HTTP Check Email Footer* + +Fires at the bottom of the HTTP check (after update checks) email template. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/modules/cost-tracker/templates/emails/module-cost-tracker-email.php](modules/cost-tracker/templates/emails/module-cost-tracker-email.php), [line 75](modules/cost-tracker/templates/emails/module-cost-tracker-email.php#L75-L82) + + + +### `mainwp_plugins_actions_bar_left` + +*Action: mainwp_plugins_actions_bar_left* + +Fires at the left side of the actions bar on the Plugins screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 447](pages/page-mainwp-plugins.php#L447-L454) + + + +### `mainwp_plugins_actions_bar_right` + +*Action: mainwp_plugins_actions_bar_right* + +Fires at the right side of the actions bar on the Plugins screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 461](pages/page-mainwp-plugins.php#L461-L468) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Action: mainwp_manage_plugins_sidebar_top* + +Fires at the top of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 505](pages/page-mainwp-plugins.php#L505-L512) + + + +### `mainwp_manage_plugins_before_select_sites` + +*Action: mainwp_manage_plugins_before_select_sites* + +Fires before the Select Sites elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 517](pages/page-mainwp-plugins.php#L517-L524) + + + +### `mainwp_manage_plugins_after_select_sites` + +*Action: mainwp_manage_plugins_after_select_sites* + +Fires after the Select Sites elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 540](pages/page-mainwp-plugins.php#L540-L547) + + + +### `mainwp_manage_plugins_before_search_options` + +*Action: mainwp_manage_plugins_before_search_options* + +Fires before the Search Options elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 555](pages/page-mainwp-plugins.php#L555-L562) + + + +### `mainwp_manage_plugins_after_search_options` + +*Action: mainwp_manage_plugins_after_search_options* + +Fires after the Search Options elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 580](pages/page-mainwp-plugins.php#L580-L587) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Action: mainwp_manage_plugins_before_submit_button* + +Fires before the Submit Button elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 596](pages/page-mainwp-plugins.php#L596-L603) + + + +### `mainwp_manage_plugins_after_submit_button` + +*Action: mainwp_manage_plugins_after_submit_button* + +Fires after the Submit Button elemnt on Manage plugins. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 607](pages/page-mainwp-plugins.php#L607-L614) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Action: mainwp_manage_plugins_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 618](pages/page-mainwp-plugins.php#L618-L625) + + + +### `mainwp_plugins_bulk_action` + +*Action: mainwp_plugins_bulk_action* + +Adds a new action to the Manage Plugins bulk actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1132](pages/page-mainwp-plugins.php#L1132-L1141) + + + +### `mainwp_before_plugins_table` + +*Action: mainwp_before_plugins_table* + +Fires before the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1268](pages/page-mainwp-plugins.php#L1268-L1275) + + + +### `mainwp_after_plugins_table` + +*Action: mainwp_after_plugins_table* + +Fires after the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1476](pages/page-mainwp-plugins.php#L1476-L1483) + + + +### `mainwp_before_plugins_table` + +*Action: mainwp_before_plugins_table* + +Fires before the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1553](pages/page-mainwp-plugins.php#L1553-L1560) + + + +### `mainwp_after_plugins_table` + +*Action: mainwp_after_plugins_table* + +Fires after the Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1784](pages/page-mainwp-plugins.php#L1784-L1791) + + + +### `mainwp_install_plugin_theme_tabs_header_top` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1834) + + + +### `mainwp_install_plugins_actions_bar_right` + +*Install Plugins actions bar (right)* + +Fires at the left side of the actions bar on the Install Plugins screen, after the Nav buttons. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1837](pages/page-mainwp-plugins.php#L1837-L1844) + + + +### `mainwp_install_plugins_actions_bar_left` + +*Install Plugins actions bar (left)* + +Fires at the left side of the actions bar on the Install Plugins screen, after the Search bar. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1871](pages/page-mainwp-plugins.php#L1871-L1878) + + + +### `mainwp_bulk_install_tabs_content` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1905) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1922) + + + +### `mainwp_manage_plugins_before_select_sites` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1924) + + + +### `mainwp_manage_plugins_after_select_sites` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1936) + + + +### `mainwp_manage_plugins_before_search_options` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1941) + + + +### `mainwp_manage_plugins_after_search_options` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1959) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1963) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Install plugins Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1984) + + + +### `mainwp_bulk_install_sidebar_submit_bottom` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1987) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Render Install plugins Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'install'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1803](pages/page-mainwp-plugins.php#L1803-L1990) + + + +### `mainwp_plugins_auto_updates_bulk_action` + +*Action: mainwp_plugins_auto_updates_bulk_action* + +Adds new action to the bulk actions menu on Plugins Auto Updates. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2030](pages/page-mainwp-plugins.php#L2030-L2037) + + + +### `mainwp_manage_plugins_sidebar_top` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2079) + + + +### `mainwp_manage_plugins_before_search_options` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2081) + + + +### `mainwp_manage_plugins_after_search_options` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2094) + + + +### `mainwp_manage_plugins_before_submit_button` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2119) + + + +### `mainwp_manage_plugins_after_submit_button` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2121) + + + +### `mainwp_manage_plugins_sidebar_bottom` + +*Render Autoupdate SubPage.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1997](pages/page-mainwp-plugins.php#L1997-L2123) + + + +### `mainwp_plugins_before_auto_updates_table` + +*Action: mainwp_plugins_before_auto_updates_table* + +Fires before the Auto Update Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2313](pages/page-mainwp-plugins.php#L2313-L2320) + + + +### `mainwp_plugins_after_auto_updates_table` + +*Action: mainwp_plugins_after_auto_updates_table* + +Fires after the Auto Update Plugins table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2398](pages/page-mainwp-plugins.php#L2398-L2405) + + + +### `mainwp_plugins_before_ignored_updates` + +*Action: mainwp_plugins_before_ignored_updates* + +Fires on the top of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2494](pages/page-mainwp-plugins.php#L2494-L2501) + + + +### `mainwp_plugins_after_ignored_updates` + +*Action: mainwp_plugins_after_ignored_updates* + +Fires on the bottom of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2515](pages/page-mainwp-plugins.php#L2515-L2522) + + + +### `mainwp_plugins_before_ignored_abandoned` + +*Action: mainwp_plugins_before_ignored_abandoned* + +Fires on the top of the Ignored Plugins Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2780](pages/page-mainwp-plugins.php#L2780-L2787) + + + +### `mainwp_plugins_after_ignored_abandoned` + +*Action: mainwp_plugins_after_ignored_abandoned* + +Fires on the bottom of the Ignored Plugins Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredPlugins` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2801](pages/page-mainwp-plugins.php#L2801-L2808) + + + +### `mainwp_plugins_help_item` + +*Action: mainwp_plugins_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Plugins page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 3018](pages/page-mainwp-plugins.php#L3018-L3029) + + + +### `mainwp_applypluginsettings_{$ext_dir_slug}` + +*Apply plugin settings* + +Fires to apply certain plugin settigns automatically while adding a new site. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site_id` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites-handler.php](pages/page-mainwp-manage-sites-handler.php), [line 276](pages/page-mainwp-manage-sites-handler.php#L276-L285) + + + +### `mainwp_admin_pass_sidebar_top` + +*Action: mainwp_admin_pass_sidebar_top* + +Fires at the top of the sidebar on Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 357](pages/page-mainwp-bulk-update-admin-passwords.php#L357-L364) + + + +### `mainwp_admin_pass_before_select_sites` + +*Action: mainwp_admin_pass_before_select_sites* + +Fires before the Select Sites section on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 368](pages/page-mainwp-bulk-update-admin-passwords.php#L368-L375) + + + +### `mainwp_admin_pass_after_select_sites` + +*Action: mainwp_admin_pass_after_select_sites* + +Fires after the Select Sites section on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 387](pages/page-mainwp-bulk-update-admin-passwords.php#L387-L394) + + + +### `mainwp_admin_pass_before_pass_form` + +*Action: mainwp_admin_pass_before_pass_form* + +Fires before the New password form on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 402](pages/page-mainwp-bulk-update-admin-passwords.php#L402-L409) + + + +### `mainwp_admin_pass_after_pass_form` + +*Action: mainwp_admin_pass_after_pass_form* + +Fires after the New password form on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 423](pages/page-mainwp-bulk-update-admin-passwords.php#L423-L430) + + + +### `mainwp_admin_pass_before_submit_button` + +*Action: mainwp_admin_pass_before_submit_button* + +Fires before the Submit button on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 437](pages/page-mainwp-bulk-update-admin-passwords.php#L437-L444) + + + +### `mainwp_admin_pass_after_submit_button` + +*Action: mainwp_admin_pass_after_submit_button* + +Fires after the Submit button on the Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 452](pages/page-mainwp-bulk-update-admin-passwords.php#L452-L459) + + + +### `mainwp_admin_pass_sidebar_bottom` + +*Action: mainwp_admin_pass_sidebar_bottom* + +Fires at the bottom of the sidebar on Admin Passwords page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 463](pages/page-mainwp-bulk-update-admin-passwords.php#L463-L470) + + + +### `mainwp_client_updated` + +*Add client* + +Fires after add a client. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$inserted` | `object` | client data. +`$add_new` | `bool` | true add new, false updated. + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-client.php](pages/page-mainwp-client.php), [line 1340](pages/page-mainwp-client.php#L1340-L1350) + + + +### `mainwp_update_site` + +*Update site* + +Fires after updating a website settings. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website->id` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-sites.php](pages/page-mainwp-manage-sites.php), [line 2003](pages/page-mainwp-manage-sites.php#L2003-L2012) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 149](pages/page-mainwp-plugins-handler.php#L149-L156) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 160](pages/page-mainwp-plugins-handler.php#L160-L167) + + + +### `mainwp_before_plugin_action` + +*Action: mainwp_before_plugin_action* + +Fires before plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 217](pages/page-mainwp-plugins-handler.php#L217-L224) + + + +### `mainwp_after_plugin_action` + +*Action: mainwp_after_plugin_action* + +Fires after plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins-handler.php](pages/page-mainwp-plugins-handler.php), [line 235](pages/page-mainwp-plugins-handler.php#L235-L242) + + + +### `mainwp_cores_before_ignored_updates` + +*Action: mainwp_cores_before_ignored_updates* + +Fires on the top of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-wp-updates.php](pages/page-mainwp-wp-updates.php), [line 74](pages/page-mainwp-wp-updates.php#L74-L81) + + + +### `mainwp_cores_after_ignored_updates` + +*Action: mainwp_cores_after_ignored_updates* + +Fires on the bottom of the Ignored Plugin Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-wp-updates.php](pages/page-mainwp-wp-updates.php), [line 95](pages/page-mainwp-wp-updates.php#L95-L102) + + + +### `mainwp_update_backuptask` + +*Update backup task.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$task->id` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-manage-backups-handler.php](pages/page-mainwp-manage-backups-handler.php), [line 129](pages/page-mainwp-manage-backups-handler.php#L129-L187) + + + +### `mainwp_before_plugin_theme_install` + +*Action: mainwp_before_plugin_theme_install* + +Fires before plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 457](pages/page-mainwp-install-bulk.php#L457-L464) + + + +### `mainwp_after_plugin_theme_install` + +*Action: mainwp_after_plugin_theme_install* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 483](pages/page-mainwp-install-bulk.php#L483-L490) + + + +### `mainwp_before_plugin_theme_install` + +*Action: mainwp_before_plugin_theme_install* + +Fires before plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 671](pages/page-mainwp-install-bulk.php#L671-L678) + + + +### `mainwp_after_plugin_theme_install` + +*Action: mainwp_after_plugin_theme_install* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$websites` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 695](pages/page-mainwp-install-bulk.php#L695-L702) + + + +### `mainwp_before_plugin_privacy_section` + +*Action: mainwp_before_plugin_privacy_section* + +Fires before the Plugin Privacy section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1779](pages/page-mainwp-server-information.php#L1779-L1786) + + + +### `mainwp_after_plugin_privacy_section` + +*Action: mainwp_after_plugin_privacy_section* + +Fires after the Plugin Privacy section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1844](pages/page-mainwp-server-information.php#L1844-L1851) + + + +### `mainwp_updates_before_wp_updates` + +*Action: mainwp_updates_before_wp_updates* + +Fires at the top of the WP updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 859](pages/page-mainwp-updates.php#L859-L872) + + + +### `mainwp_updates_after_wp_updates` + +*Action: mainwp_updates_after_wp_updates* + +Fires at the top of the WP updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_wp_upgrades` | `int` | Number of available WP upates. +`$all_groups_sites` | `array` | Array containing all groups and sites. +`$all_groups` | `array` | Array containing all groups. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 935](pages/page-mainwp-updates.php#L935-L948) + + + +### `mainwp_updates_before_plugin_updates` + +*Action: mainwp_updates_before_plugin_updates* + +Fires at the top of the Plugin updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 990](pages/page-mainwp-updates.php#L990-L1006) + + + +### `mainwp_updates_perplugin_before_plugin_updates` + +*Action: mainwp_updates_perplugin_before_plugin_updates* + +Fires at the top of the Plugin updates tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1080](pages/page-mainwp-updates.php#L1080-L1096) + + + +### `mainwp_updates_perplugin_after_plugin_updates` + +*Action: mainwp_updates_perplugin_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1098](pages/page-mainwp-updates.php#L1098-L1114) + + + +### `mainwp_updates_after_plugin_updates` + +*Action: mainwp_updates_after_plugin_updates* + +Fires at the bottom of the Plugin updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_plugin_upgrades` | `int` | Number of available plugin updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPlugins` | `array` | Array of all plugins. +`$pluginsInfo` | `array` | Array of all plugins info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1116](pages/page-mainwp-updates.php#L1116-L1132) + + + +### `mainwp_updates_before_theme_updates` + +*Action: mainwp_updates_before_theme_updates* + +Fires at the top of the Theme updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1163](pages/page-mainwp-updates.php#L1163-L1179) + + + +### `mainwp_updates_pertheme_before_theme_updates` + +*Action: mainwp_updates_pertheme_before_theme_updates* + +Fires at the top of the Theme updates tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1253](pages/page-mainwp-updates.php#L1253-L1269) + + + +### `mainwp_updates_pertheme_after_theme_updates` + +*Action: mainwp_updates_pertheme_after_theme_updates* + +Fires at the bottom of the Theme updates tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1271](pages/page-mainwp-updates.php#L1271-L1287) + + + +### `mainwp_updates_after_theme_updates` + +*Action: mainwp_updates_after_theme_updates* + +Fires at the bottom of the Theme updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_theme_upgrades` | `int` | Number of available theme updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemes` | `array` | Array of all themes. +`$themesInfo` | `array` | Array of all themes info. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1289](pages/page-mainwp-updates.php#L1289-L1305) + + + +### `mainwp_updates_before_translation_updates` + +*Action: mainwp_updates_before_translation_updates* + +Fires at the top of the Translation updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1334](pages/page-mainwp-updates.php#L1334-L1350) + + + +### `mainwp_updates_pertranslation_before_translation_updates` + +*Action: mainwp_updates_pertranslation_before_translation_updates* + +Fires at the top of the Translation updates tab, per Translation view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1424](pages/page-mainwp-updates.php#L1424-L1440) + + + +### `mainwp_updates_pertranslation_after_translation_updates` + +*Action: mainwp_updates_pertranslation_after_translation_updates* + +Fires at the bottom of the Translation updates tab, per Translation view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1442](pages/page-mainwp-updates.php#L1442-L1458) + + + +### `mainwp_updates_after_translation_updates` + +*Action: mainwp_updates_after_translation_updates* + +Fires at the bottom of the Translation updates tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$total_translation_upgrades` | `int` | Number of available translation updates. +`$userExtension` | `object` | User extension. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allTranslations` | `array` | Array of all translations. +`$translationsInfo` | `array` | Array of all translations info. +`$mainwp_show_language_updates` | | +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1460](pages/page-mainwp-updates.php#L1460-L1476) + + + +### `mainwp_updates_before_abandoned_plugins` + +*Action: mainwp_updates_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1502](pages/page-mainwp-updates.php#L1502-L1516) + + + +### `mainwp_updates_perplugin_before_abandoned_plugins` + +*Action: mainwp_updates_perplugin_before_abandoned_plugins* + +Fires at the top of the Abandoned plugins tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1582](pages/page-mainwp-updates.php#L1582-L1596) + + + +### `mainwp_updates_perplugin_after_abandoned_plugins` + +*Action: mainwp_updates_perplugin_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab, per Plugin view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1598](pages/page-mainwp-updates.php#L1598-L1612) + + + +### `mainwp_updates_after_abandoned_plugins` + +*Action: mainwp_updates_after_abandoned_plugins* + +Fires at the bottom of the Abandoned plugins tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allPluginsOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedPlugins` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1614](pages/page-mainwp-updates.php#L1614-L1628) + + + +### `mainwp_updates_before_abandoned_themes` + +*Action: mainwp_updates_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1653](pages/page-mainwp-updates.php#L1653-L1667) + + + +### `mainwp_updates_pertheme_before_abandoned_themes` + +*Action: mainwp_updates_pertheme_before_abandoned_themes* + +Fires at the top of the Abandoned themes tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1733](pages/page-mainwp-updates.php#L1733-L1747) + + + +### `mainwp_updates_pertheme_after_abandoned_themes` + +*Action: mainwp_updates_pertheme_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab, per Theme view. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1749](pages/page-mainwp-updates.php#L1749-L1763) + + + +### `mainwp_updates_after_abandoned_themes` + +*Action: mainwp_updates_after_abandoned_themes* + +Fires at the bottom of the Abandoned themes tab. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$websites` | `object` | Object containing child sites info. +`$all_groups_sites` | `array` | Array of all groups and sites. +`$all_groups` | `array` | Array of all groups. +`$allThemesOutdate` | `array` | Array of all abandoned plugins. +`$decodedDismissedThemes` | `array` | Array of dismissed abandoned plugins. +`$site_offset_for_groups` | `int` | Offset value. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1765](pages/page-mainwp-updates.php#L1765-L1779) + + + +### `mainwp_updates_before_nav_tabs` + +*Action: mainwp_updates_before_nav_tabs* + +Fires before the navigation tabs on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1931](pages/page-mainwp-updates.php#L1931-L1938) + + + +### `mainwp_updates_after_nav_tabs` + +*Action: mainwp_updates_after_nav_tabs* + +Fires after the navigation tabs on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2003](pages/page-mainwp-updates.php#L2003-L2010) + + + +### `mainwp_updates_before_actions_bar` + +*Action: mainwp_updates_before_actions_bar* + +Fires before the actions bar on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2012](pages/page-mainwp-updates.php#L2012-L2019) + + + +### `mainwp_widget_updates_actions_top` + +*Action: mainwp_widget_updates_actions_top* + +Updates actions top content. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$current_tab` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2037](pages/page-mainwp-updates.php#L2037-L2044) + + + +### `mainwp_updates_after_actions_bar` + +*Action: mainwp_updates_after_actions_bar* + +Fires after the actions bar on the Updates page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2066](pages/page-mainwp-updates.php#L2066-L2073) + + + +### `mainwp_updates_help_item` + +*Action: mainwp_updates_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Updates page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2564](pages/page-mainwp-updates.php#L2564-L2575) + + + +### `mainwp_before_theme_action` + +*Action: mainwp_before_theme_action* + +Fires before theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 145](pages/page-mainwp-themes-handler.php#L145-L152) + + + +### `mainwp_after_theme_action` + +*Action: mainwp_after_theme_action* + +Fires after theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 167](pages/page-mainwp-themes-handler.php#L167-L174) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 230](pages/page-mainwp-themes-handler.php#L230-L237) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes-handler.php](pages/page-mainwp-themes-handler.php), [line 240](pages/page-mainwp-themes-handler.php#L240-L247) + + + +### `mainwp_after_upgrade_wp_success` + +*Method upgrade_site()* + +Check Child Site ID & Update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$information` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 26](pages/page-mainwp-updates-handler.php#L26-L56) + + + +### `mainwp_before_wp_update` + +*Action: mainwp_before_wp_update* + +Fires before WP update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 99](pages/page-mainwp-updates-handler.php#L99-L106) + + + +### `mainwp_after_wp_update` + +*Action: mainwp_after_wp_update* + +Fires after WP update. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 138](pages/page-mainwp-updates-handler.php#L138-L145) + + + +### `mainwp_before_plugin_ignore` + +*Action: mainwp_before_plugin_ignore* + +Fires before plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 175](pages/page-mainwp-updates-handler.php#L175-L182) + + + +### `mainwp_after_plugin_ignore` + +*Action: mainwp_after_plugin_ignore* + +Fires after plugin ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 209](pages/page-mainwp-updates-handler.php#L209-L216) + + + +### `mainwp_before_theme_ignore` + +*Action: mainwp_before_theme_ignore* + +Fires before theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 221](pages/page-mainwp-updates-handler.php#L221-L228) + + + +### `mainwp_after_theme_ignore` + +*Action: mainwp_after_theme_ignore* + +Fires after theme ignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$decodedIgnoredThemes` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 252](pages/page-mainwp-updates-handler.php#L252-L259) + + + +### `mainwp_before_plugin_theme_unignore` + +*Action: mainwp_before_plugin_theme_unignore* + +Fires after plugin/theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$slug` | | +`$id` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 289](pages/page-mainwp-updates-handler.php#L289-L296) + + + +### `mainwp_before_plugin_unignore` + +*Action: mainwp_before_plugin_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 303](pages/page-mainwp-updates-handler.php#L303-L310) + + + +### `mainwp_after_plugin_unignore` + +*Action: mainwp_after_plugin_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 314](pages/page-mainwp-updates-handler.php#L314-L321) + + + +### `mainwp_before_theme_unignore` + +*Action: mainwp_before_theme_unignore* + +Fires before theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 324](pages/page-mainwp-updates-handler.php#L324-L331) + + + +### `mainwp_after_theme_unignore` + +*Action: mainwp_after_theme_unignore* + +Fires after theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 334](pages/page-mainwp-updates-handler.php#L334-L341) + + + +### `mainwp_before_plugin_unignore` + +*Action: mainwp_before_plugin_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 352](pages/page-mainwp-updates-handler.php#L352-L359) + + + +### `mainwp_after_plugin_unignore` + +*Action: mainwp_after_plugin_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredPlugins` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 387](pages/page-mainwp-updates-handler.php#L387-L394) + + + +### `mainwp_before_theme_unignore` + +*Action: mainwp_before_theme_unignore* + +Fires before theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 400](pages/page-mainwp-updates-handler.php#L400-L407) + + + +### `mainwp_after_theme_unignore` + +*Action: mainwp_after_theme_unignore* + +Fires after theme unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$decodedIgnoredThemes` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 437](pages/page-mainwp-updates-handler.php#L437-L444) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_before_core_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'_ALL_'` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 474](pages/page-mainwp-updates-handler.php#L474-L481) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_after_core_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'_ALL_'` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 484](pages/page-mainwp-updates-handler.php#L484-L491) + + + +### `mainwp_before_core_unignore` + +*Action: mainwp_before_core_unignore* + +Fires before plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignored_info` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 504](pages/page-mainwp-updates-handler.php#L504-L511) + + + +### `mainwp_after_core_unignore` + +*Action: mainwp_after_core_unignore* + +Fires after plugin unignore. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignored_info` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.2` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 526](pages/page-mainwp-updates-handler.php#L526-L533) + + + +### `mainwp_before_plugin_theme_translation_update` + +*Action: mainwp_before_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$type` | | +`$list_items` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 1144](pages/page-mainwp-updates-handler.php#L1144-L1151) + + + +### `mainwp_after_plugin_theme_translation_update` + +*Action: mainwp_after_plugin_theme_translation_update* + +Fires before plugin/theme/translation update actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$type` | | +`$list_items` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates-handler.php](pages/page-mainwp-updates-handler.php), [line 1162](pages/page-mainwp-updates-handler.php#L1162-L1169) + + + +### `mainwp_themes_actions_bar_left` + +*Action: mainwp_themes_actions_bar_left* + +Fires at the left side of the actions bar on the Themes screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 437](pages/page-mainwp-themes.php#L437-L444) + + + +### `mainwp_themes_actions_bar_right` + +*Action: mainwp_themes_actions_bar_right* + +Fires at the right side of the actions bar on the Themes screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 451](pages/page-mainwp-themes.php#L451-L458) + + + +### `mainwp_manage_themes_sidebar_top` + +*Action: mainwp_manage_themes_sidebar_top* + +Fires at the top of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 494](pages/page-mainwp-themes.php#L494-L501) + + + +### `mainwp_manage_themes_before_select_sites` + +*Action: mainwp_manage_themes_before_select_sites* + +Fires before the Select Sites element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 505](pages/page-mainwp-themes.php#L505-L512) + + + +### `mainwp_manage_themes_after_select_sites` + +*Action: mainwp_manage_themes_after_select_sites* + +Fires after the Select Sites element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 528](pages/page-mainwp-themes.php#L528-L535) + + + +### `mainwp_manage_themes_before_search_options` + +*Action: mainwp_manage_themes_before_search_options* + +Fires before the Search Options element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 543](pages/page-mainwp-themes.php#L543-L550) + + + +### `mainwp_manage_themes_after_search_options` + +*Action: mainwp_manage_themes_after_search_options* + +Fires after the Search Options element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 568](pages/page-mainwp-themes.php#L568-L575) + + + +### `mainwp_manage_themes_before_submit_button` + +*Action: mainwp_manage_themes_before_submit_button* + +Fires before the Submit Button element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 584](pages/page-mainwp-themes.php#L584-L591) + + + +### `mainwp_manage_themes_after_submit_button` + +*Action: mainwp_manage_themes_after_submit_button* + +Fires after the Submit Button element on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 595](pages/page-mainwp-themes.php#L595-L602) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Action: mainwp_manage_themes_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage themes. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 606](pages/page-mainwp-themes.php#L606-L613) + + + +### `mainwp_before_themes_table` + +*Action: mainwp_before_themes_table* + +Fires before the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1127](pages/page-mainwp-themes.php#L1127-L1134) + + + +### `mainwp_after_themes_table` + +*Action: mainwp_after_themes_table* + +Fires after the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1327](pages/page-mainwp-themes.php#L1327-L1334) + + + +### `mainwp_before_themes_table` + +*Action: mainwp_before_themes_table* + +Fires before the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1402](pages/page-mainwp-themes.php#L1402-L1409) + + + +### `mainwp_after_themes_table` + +*Action: mainwp_after_themes_table* + +Fires after the Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1628](pages/page-mainwp-themes.php#L1628-L1635) + + + +### `mainwp_themes_bulk_action` + +*Action: mainwp_themes_bulk_action* + +Adds a new action to the Manage Themes bulk actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1679](pages/page-mainwp-themes.php#L1679-L1688) + + + +### `mainwp_install_plugin_theme_tabs_header_top` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1754) + + + +### `mainwp_install_themes_actions_bar_right` + +*Install Themes actions bar (right)* + +Fires at the right side of the actions bar on the Install Themes screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1757](pages/page-mainwp-themes.php#L1757-L1764) + + + +### `mainwp_install_themes_actions_bar_left` + +*Install Themes actions bar (left)* + +Fires at the left side of the actions bar on the Install Themes screen, after the search form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1773](pages/page-mainwp-themes.php#L1773-L1780) + + + +### `mainwp_bulk_install_tabs_content` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1806) + + + +### `mainwp_manage_themes_sidebar_top` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1812) + + + +### `mainwp_manage_themes_before_select_sites` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1814) + + + +### `mainwp_manage_themes_after_select_sites` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1835) + + + +### `mainwp_manage_themes_before_search_options` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1839) + + + +### `mainwp_manage_themes_after_search_options` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1851) + + + +### `mainwp_manage_themes_before_submit_button` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1855) + + + +### `mainwp_manage_themes_after_submit_button` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1876) + + + +### `mainwp_bulk_install_sidebar_submit_bottom` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'theme'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1879) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'install'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1882) + + + +### `mainwp_install_theme_card_template_bottom` + +*Render the Themes table for the Install Themes Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1926) + + + +### `mainwp_themes_auto_updates_bulk_action` + +*Action: mainwp_themes_auto_updates_bulk_action* + +Adds new action to the bulk actions menu on Themes Auto Updates. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2015](pages/page-mainwp-themes.php#L2015-L2022) + + + +### `mainwp_manage_themes_sidebar_top` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2063) + + + +### `mainwp_manage_themes_before_search_options` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2080) + + + +### `mainwp_manage_themes_after_search_options` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2099) + + + +### `mainwp_manage_themes_before_submit_button` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2103) + + + +### `mainwp_manage_themes_after_submit_button` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2105) + + + +### `mainwp_manage_themes_sidebar_bottom` + +*Render the Themes Auto Update Tab.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1978](pages/page-mainwp-themes.php#L1978-L2107) + + + +### `mainwp_themes_before_auto_updates_table` + +*Action: mainwp_themes_before_auto_updates_table* + +Fires before the Auto Update Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2273](pages/page-mainwp-themes.php#L2273-L2280) + + + +### `mainwp_themes_after_auto_updates_table` + +*Action: mainwp_themes_after_auto_updates_table* + +Fires before the Auto Update Themes table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2351](pages/page-mainwp-themes.php#L2351-L2358) + + + +### `mainwp_themes_before_ignored_updates` + +*Action: mainwp_themes_before_ignored_updates* + +Fires on the top of the Ignored Theme Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2446](pages/page-mainwp-themes.php#L2446-L2453) + + + +### `mainwp_themes_after_ignored_updates` + +*Action: mainwp_themes_after_ignored_updates* + +Fires on the bottom of the Ignored Theme Updates page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2467](pages/page-mainwp-themes.php#L2467-L2474) + + + +### `mainwp_themes_before_ignored_abandoned` + +*Action: mainwp_themes_before_ignored_abandoned* + +Fires on the top of the Ignored Themes Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2713](pages/page-mainwp-themes.php#L2713-L2720) + + + +### `mainwp_themes_after_ignored_abandoned` + +*Action: mainwp_themes_after_ignored_abandoned* + +Fires on the bottom of the Ignored Themes Abandoned page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$ignoredThemes` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2734](pages/page-mainwp-themes.php#L2734-L2741) + + + +### `mainwp_themes_help_item` + +*Action: mainwp_themes_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Themes page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2919](pages/page-mainwp-themes.php#L2919-L2930) + + + +### `mainwp_plugins_widget_top` + +*Action: mainwp_plugins_widget_top* + +Fires at the top of the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allPlugins` | `array` | Array containing all detected plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 154](widgets/widget-mainwp-widget-plugins.php#L154-L164) + + + +### `mainwp_before_active_plugins_list` + +*Action: mainwp_before_active_plugins_list* + +Fires before the active plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$actived_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 168](widgets/widget-mainwp-widget-plugins.php#L168-L178) + + + +### `mainwp_after_active_plugins_list` + +*Action: mainwp_after_active_plugins_list* + +Fires after the active plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$actived_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 213](widgets/widget-mainwp-widget-plugins.php#L213-L223) + + + +### `mainwp_before_inactive_plugins_list` + +*Action: mainwp_before_inactive_plugins_list* + +Fires before the inactive plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 228](widgets/widget-mainwp-widget-plugins.php#L228-L238) + + + +### `mainwp_after_inactive_plugins_list` + +*Action: mainwp_after_inactive_plugins_list* + +Fires after the inactive plugins list in the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_plugins` | `array` | Array containing all active plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 276](widgets/widget-mainwp-widget-plugins.php#L276-L286) + + + +### `mainwp_plugins_widget_bottom` + +*Action: mainwp_plugins_widget_bottom* + +Fires at the bottom of the Plugins widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allPlugins` | `array` | Array containing all detected plugins data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 297](widgets/widget-mainwp-widget-plugins.php#L297-L307) + + + +### `mainwp_before_plugin_action` + +*Action: mainwp_before_plugin_action* + +Fires before plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 383](widgets/widget-mainwp-widget-plugins.php#L383-L390) + + + +### `mainwp_after_plugin_action` + +*Action: mainwp_after_plugin_action* + +Fires after plugin activate/deactivate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$action` | | +`$plugin` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 401](widgets/widget-mainwp-widget-plugins.php#L401-L408) + + + +### `mainwp_themes_widget_top` + +*Action: mainwp_themes_widget_top* + +Fires at the top of the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allThemes` | `array` | Array containing all detected themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 114](widgets/widget-mainwp-widget-themes.php#L114-L124) + + + +### `mainwp_before_inactive_themes_list` + +*Action: mainwp_before_inactive_themes_list* + +Fires before the inactive themes list in the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_themes` | `array` | Array containing all inactive themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 128](widgets/widget-mainwp-widget-themes.php#L128-L138) + + + +### `mainwp_after_inactive_themes_list` + +*Action: mainwp_after_inactive_themes_list* + +Fires after the inactive themes list in the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$inactive_themes` | `array` | Array containing all inactive themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 175](widgets/widget-mainwp-widget-themes.php#L175-L185) + + + +### `mainwp_themes_widget_bottom` + +*Action: mainwp_themes_widget_bottom* + +Fires at the bottom of the Themes widget on the Individual site overview page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | `object` | Object containing the child site info. +`$allThemes` | `array` | Array containing all detected themes data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 191](widgets/widget-mainwp-widget-themes.php#L191-L201) + + + +### `mainwp_before_theme_action` + +*Action: mainwp_before_theme_action* + +Fires before theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$action` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 272](widgets/widget-mainwp-widget-themes.php#L272-L279) + + + +### `mainwp_after_theme_action` + +*Action: mainwp_after_theme_action* + +Fires after theme activate/delete actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$action` | | +`$theme` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 293](widgets/widget-mainwp-widget-themes.php#L293-L300) + + + +### `mainwp_updates_overview_after_update_details` + +*Action: mainwp_updates_overview_after_update_details* + +Fires at the bottom of the Update Details section in the Updates Overview widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$currentSite` | | +`$globalView` | | +`$userExtension` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 424](widgets/widget-mainwp-updates-overview.php#L424-L431) + + + +### `mainwp_updates_overview_before_total_updates` + +*Action: mainwp_updates_overview_before_total_updates* + +Fires before the total updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 517](widgets/widget-mainwp-updates-overview.php#L517-L524) + + + +### `mainwp_updates_overview_after_total_updates` + +*Action: mainwp_updates_overview_after_total_updates* + +Fires after the total updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 559](widgets/widget-mainwp-updates-overview.php#L559-L566) + + + +### `mainwp_updates_overview_before_update_details` + +*Action: mainwp_updates_overview_before_update_details* + +Fires at the top of the Update Details section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 596](widgets/widget-mainwp-updates-overview.php#L596-L603) + + + +### `mainwp_updates_overview_before_wordpress_updates` + +*Action: mainwp_updates_overview_before_wordpress_updates* + +Fires before the WordPress updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 605](widgets/widget-mainwp-updates-overview.php#L605-L612) + + + +### `mainwp_updates_overview_after_wordpress_updates` + +*Action: mainwp_updates_overview_after_wordpress_updates* + +Fires after the WordPress updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 652](widgets/widget-mainwp-updates-overview.php#L652-L659) + + + +### `mainwp_updates_overview_before_plugin_updates` + +*Action: mainwp_updates_overview_before_plugin_updates* + +Fires before the Plugin updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 687](widgets/widget-mainwp-updates-overview.php#L687-L694) + + + +### `mainwp_updates_overview_after_plugin_updates` + +*Action: mainwp_updates_overview_after_plugin_updates* + +Fires after the Plugin updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 729](widgets/widget-mainwp-updates-overview.php#L729-L736) + + + +### `mainwp_updates_overview_before_theme_updates` + +*Action: mainwp_updates_overview_before_theme_updates* + +Fires before the Theme updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 764](widgets/widget-mainwp-updates-overview.php#L764-L771) + + + +### `mainwp_updates_overview_after_theme_updates` + +*Action: mainwp_updates_overview_after_theme_updates* + +Fires after the Theme updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 806](widgets/widget-mainwp-updates-overview.php#L806-L813) + + + +### `mainwp_updates_overview_before_translation_updates` + +*Action: mainwp_updates_overview_before_translation_updates* + +Fires before the Translation updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 832](widgets/widget-mainwp-updates-overview.php#L832-L839) + + + +### `mainwp_updates_overview_after_translation_updates` + +*Action: mainwp_updates_overview_after_translation_updates* + +Fires after the Translation updates section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 869](widgets/widget-mainwp-updates-overview.php#L869-L876) + + + +### `mainwp_updates_overview_before_abandoned_plugins_themes` + +*Action: mainwp_updates_overview_before_abandoned_plugins_themes* + +Fires at the top of the Abandoned Plugins & Themes section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 899](widgets/widget-mainwp-updates-overview.php#L899-L906) + + + +### `mainwp_updates_overview_after_abandoned_plugins_themes` + +*Action: mainwp_updates_overview_after_abandoned_plugins_themes* + +Fires at the bottom of the Abandoned Plugins & Themes section in the Updates Overview widget. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 992](widgets/widget-mainwp-updates-overview.php#L992-L999) + + + +### `mainwp_updatesoverview_widget_bottom` + +*Action: mainwp_updatesoverview_widget_bottom* + +Fires at the bottom of the Updates Overview widgets. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$site_ids` | | +`$globalView` | `bool` | Whether it's global or individual site view. + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 1115](widgets/widget-mainwp-updates-overview.php#L1115-L1125) + + + +### `mainwp_load_text_domain` + +*Method localization()* + +Loads plugin language files. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 414](class/class-mainwp-system.php#L414-L420) + + + +### `mainwp_cron_bulk_update_items_limit` + +*Method handle_cron_batch_updates()* + +MainWP Cron batch Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-batch.php](class/class-mainwp-cron-jobs-batch.php), [line 95](class/class-mainwp-cron-jobs-batch.php#L95-L129) + + + +### `mainwp_api_manager_upgrade_url` + +*Get Upgrade URL.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$this->upgrade_url` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager.php](class/class-mainwp-api-manager.php), [line 91](class/class-mainwp-api-manager.php#L91-L97) + + + +### `mainwp_update_cached_icons` + +*Method update_cached_icons().* + +Update cached icons + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$icon` | `string` | The icon. +`$slug` | `string` | slug. +`$type` | `string` | Type: plugin\|theme. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1039](class/class-mainwp-system-utility.php#L1039-L1061) + + + +### `mainwp_get_plugin_theme_icon` + +*Gets a plugin icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$slug` | `string` | Plugin slug. +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1212](class/class-mainwp-system-utility.php#L1212-L1220) + + + +### `mainwp_forced_get_plugin_theme_icon` + +*Gets a plugin icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forced_get` | `bool` | Forced get icon, default: false. +`$slug` | `string` | Plugin slug. +`'plugin'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1212](class/class-mainwp-system-utility.php#L1212-L1226) + + + +### `mainwp_get_plugin_theme_icon` + +*Gets a theme icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`''` | | +`$slug` | `string` | Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1261](class/class-mainwp-system-utility.php#L1261-L1269) + + + +### `mainwp_forced_get_plugin_theme_icon` + +*Gets a theme icon via API from WordPress.org* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$forced_get` | `bool` | Forced get icon, default: false. +`$slug` | `string` | Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1261](class/class-mainwp-system-utility.php#L1261-L1275) + + + +### `mainwp_plugin_theme_icon_cache_days` + +*Gets a plugin|theme icon to output.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`15` | | +`$slug` | `string` | Plugin\|Theme slug. +`$type` | `string` | Type icon, plugin\|theme. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1311](class/class-mainwp-system-utility.php#L1311-L1333) + + + +### `mainwp_cache_icon_expired` + +*Gets a plugin|theme icon to output.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$slug` | `string` | Plugin\|Theme slug. +`'theme'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-utility.php](class/class-mainwp-system-utility.php), [line 1311](class/class-mainwp-system-utility.php#L1311-L1361) + + + +### `mainwp_updates_table_columns_header` + +*Get column info.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($columns, $sortable, $collapsing)` | | +`$this->type` | | +`$this->view_per` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 96](class/class-mainwp-updates-table-helper.php#L96-L106) + + + +### `mainwp_updates_table_header_content` + +*Echo the column headers.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$column_display_name` | | +`$column_key` | | +`$top` | `bool` | true\|false. +`$this` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 141](class/class-mainwp-updates-table-helper.php#L141-L164) + + + +### `mainwp_updates_table_row_columns` + +*Echo columns.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$columns` | `array` | Array of columns. +`$website` | `object` | The website. +`$this->type` | | +`$this->view_per` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-updates-table-helper.php](class/class-mainwp-updates-table-helper.php), [line 222](class/class-mainwp-updates-table-helper.php#L222-L232) + + + +### `mainwp_update_plugintheme_max` + +*Filter: mainwp_update_plugintheme_max* + +Filters the max number of plugins/themes to be updated in one run in order to improve performance. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$websiteId` | `int` | Child site ID. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-post-plugin-theme-handler.php](class/class-mainwp-post-plugin-theme-handler.php), [line 567](class/class-mainwp-post-plugin-theme-handler.php#L567-L576) + + + +### `mainwp_show_all_updates_button_text` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Show All Updates', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-ui.php](class/class-mainwp-ui.php), [line 1997](class/class-mainwp-ui.php#L1997-L1997) + + + +### `mainwp_plugin_information_sslverify` + +*Sends and receives data to and from the server API.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$default` | | +`$args` | `array` | Request arguments. + +**Changelog** + +Version | Description +------- | ----------- +`1.0.0` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager-plugin-update.php](class/class-mainwp-api-manager-plugin-update.php), [line 149](class/class-mainwp-api-manager-plugin-update.php#L149-L172) + + + +### `mainwp_api_manager_upgrade_package_url` + +*For debugging errors from the API +For errors like: unserialize(): Error at offset 0 of 170 bytes +Comment out $response above first* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$response->package` | | +`$response` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-api-manager-plugin-update.php](class/class-mainwp-api-manager-plugin-update.php), [line 191](class/class-mainwp-api-manager-plugin-update.php#L191-L199) + + + +### `mainwp_plugins_install_checks` + +*Method get_plugins_install_check()* + +Get plugins for install checking. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$plugins` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-view.php](class/class-mainwp-system-view.php), [line 1129](class/class-mainwp-system-view.php#L1129-L1184) + + + +### `mainwp_updatescheck_sendmail_at_time` + +*Filter: mainwp_updatescheck_sendmail_at_time* + +Filters the the time when the Daily Digest email will be sent. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 440](class/class-mainwp-system-cron-jobs.php#L440-L447) + + + +### `mainwp_updatescheck_hours_interval` + +*Filter: mainwp_updatescheck_hours_interval* + +Filters the status check interval. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | + +**Changelog** + +Version | Description +------- | ----------- +`3.4` | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system-cron-jobs.php](class/class-mainwp-system-cron-jobs.php), [line 513](class/class-mainwp-system-cron-jobs.php#L513-L520) + + + +### `mainwp_detect_premiums_updates` + +*Filter: mainwp_detect_premiums_updates* + +Use mainwp_detect_premium_plugins_update instead. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 90](class/class-mainwp-premium-update.php#L90-L97) + + + +### `mainwp_detect_premium_plugins_update` + +*Filter: mainwp_detect_premium_plugins_update* + +Filters supported premium plugins to fix compatiblity issues with detecting premium plugin updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 99](class/class-mainwp-premium-update.php#L99-L106) + + + +### `mainwp_detect_premium_themes_update` + +*Filter: mainwp_detect_premium_themes_update* + +Filters supported premium themes to fix compatiblity issues with detecting premium theme updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 119](class/class-mainwp-premium-update.php#L119-L126) + + + +### `mainwp_request_update_premium_plugins` + +*Filter: mainwp_request_update_premium_plugins* + +Filters supported premium plugins to fix compatibility problmes with updating premium plugins. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update_premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 223](class/class-mainwp-premium-update.php#L223-L230) + + + +### `mainwp_request_update_premium_themes` + +*Filter: mainwp_request_update_premium_themes* + +Filters supported premium themes to fix compatibility problmes with updating premium themes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update_premiums` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-premium-update.php](class/class-mainwp-premium-update.php), [line 243](class/class-mainwp-premium-update.php#L243-L250) + + + +### `mainwp_uptime_monitoring_update_monitor_data` + +*Method handle_save_settings* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$update` | | +`$site_id` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-edit.php](class/class-mainwp-uptime-monitoring-edit.php), [line 88](class/class-mainwp-uptime-monitoring-edit.php#L88-L193) + + + +### `mainwp_default_template_source_dir` + +*Locate a template and return the path for inclusion.* + +Credits. + +Plugin-Name: WooCommerce. +Plugin URI: https://woocommerce.com/. +Author: Automattic. +Author URI: https://woocommerce.com. +License: GPLv3 or later. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$template_path` | | +`$template_name` | `string` | Template name. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-notification-template.php](class/class-mainwp-notification-template.php), [line 234](class/class-mainwp-notification-template.php#L234-L261) + + + +### `mainwp_update_uptime_monitor_data` + +*Method update_uptime_global_settings* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$settings` | `array` | settings. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-uptime-monitoring-handle.php](class/class-mainwp-uptime-monitoring-handle.php), [line 122](class/class-mainwp-uptime-monitoring-handle.php#L122-L134) + + + +### `mainwp_available_updates_count_custom_fields_data` + +*Method sites_available_updates_count()* + +Returns the number of available udpates for sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | +`'updates_count'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-common-handler.php](class/class-mainwp-common-handler.php), [line 41](class/class-mainwp-common-handler.php#L41-L56) + + + +### `mainwp_database_updater_supported_plugins` + +*Method sites_available_updates_count()* + +Returns the number of available udpates for sites. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-common-handler.php](class/class-mainwp-common-handler.php), [line 41](class/class-mainwp-common-handler.php#L41-L61) + + + +### `mainwp_db_install_tables` + +*Method install()* + +Installs the new DB. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sql` | | +`$currentVersion` | | +`$charset_collate` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-install.php](class/class-mainwp-install.php), [line 64](class/class-mainwp-install.php#L64-L422) + + + +### `mainwp_cron_bulk_update_items_limit` + +*Method handle_cron_auto_updates()* + +MainWP Cron Check Update + +This Cron Checks to see if Automatic Daily Updates need to be performed. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`3` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-cron-jobs-auto-updates.php](class/class-mainwp-cron-jobs-auto-updates.php), [line 104](class/class-mainwp-cron-jobs-auto-updates.php#L104-L116) + + + +### `mainwp-getsubpages-plugins` + +*Plugins Subpages* + +Filters subpages for the Plugins page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_plugins'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 150](pages/page-mainwp-plugins.php#L150-L157) + + + +### `mainwp_getsubpages_plugins` + +*Instantiate Main Plugins Menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 73](pages/page-mainwp-plugins.php#L73-L158) + + + +### `mainwp_manage_plugin_theme_hide_show_updates_per` + +*Method render_select_manage_view().* + +Handle render view mode selection. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$which` | `string` | plugin\|theme. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1167](pages/page-mainwp-plugins.php#L1167-L1180) + + + +### `file_mod_allowed` + +*Disables plugin installation* + +Filters whether file modifications are allowed on the Dashboard site. If not, installation process will be disabled too. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`'mainwp_install_plugin'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 1965](pages/page-mainwp-plugins.php#L1965-L1972) + + + +### `mainwp_plugin_auto_updates_table_fatures` + +*Filter: mainwp_plugin_auto_updates_table_fatures* + +Filters the Plugin Auto Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-plugins.php](pages/page-mainwp-plugins.php), [line 2418](pages/page-mainwp-plugins.php#L2418-L2425) + + + +### `mainwp_update_admin_password_complexity` + +*Filter: mainwp_update_admin_password_complexity* + +Filters the Password lenght for the Update Admin Password, Password field. + +Since 4.1 + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'24'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 242](pages/page-mainwp-bulk-update-admin-passwords.php#L242-L249) + + + +### `mainwp_file_uploader_chunk_size` + +*Method render_upload()* + +Renders the upload sub part. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`1000000` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 67](pages/page-mainwp-install-bulk.php#L67-L173) + + + +### `mainwp_prepare_install_download_url` + +*Method prepare_install()* + +Prepare for the installation. + +Grab all the necessary data to make the upload and prepare json response. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$url` | | +`$_POST` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 302](pages/page-mainwp-install-bulk.php#L302-L336) + + + +### `mainwp_bulk_prepare_install_result` + +*Filter: mainwp_bulk_prepare_install_result* + +Fires after plugin/theme prepare install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$type` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 356](pages/page-mainwp-install-bulk.php#L356-L363) + + + +### `mainwp_perform_install_data` + +*Perform insatallation additional data* + +Adds support for additional data such as HTTP User and HTTP Password. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | `array` | Array containg the post data. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 437](pages/page-mainwp-install-bulk.php#L437-L446) + + + +### `mainwp_installbulk_prepareupload` + +*Prepare upload* + +Prepares upload URLs for the bulk install process. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output['urls']` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 527](pages/page-mainwp-install-bulk.php#L527-L534) + + + +### `mainwp_perform_install_data` + +*This filter is documented in pages/page-mainwp-install-bulk.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 649](pages/page-mainwp-install-bulk.php#L649-L650) + + + +### `mainwp_bulk_upload_install_result` + +*Filter: mainwp_bulk_upload_install_result* + +Fires after plugin/theme install. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$type` | | +`$post_data` | | +`$websites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.6` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-install-bulk.php](pages/page-mainwp-install-bulk.php), [line 704](pages/page-mainwp-install-bulk.php#L704-L711) + + + +### `mainwp_sub_leftmenu_updates` + +*Initiates Updates menu.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$init_sub_subleftmenu` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 142](pages/page-mainwp-updates.php#L142-L248) + + + +### `mainwp_updates_translation_sort_by` + +*Filter: mainwp_updates_translation_sort_by* + +Filters the default sorting option for Translation updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 695](pages/page-mainwp-updates.php#L695-L702) + + + +### `mainwp_updates_plugins_sort_by` + +*Filter: mainwp_updates_plugins_sort_by* + +Filters the default sorting option for Plugin updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 704](pages/page-mainwp-updates.php#L704-L711) + + + +### `mainwp_updates_themes_sort_by` + +*Filter: mainwp_updates_themes_sort_by* + +Filters the default sorting option for Theme updates. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 713](pages/page-mainwp-updates.php#L713-L720) + + + +### `mainwp_updates_abandoned_plugins_sort_by` + +*Filter: mainwp_updates_abandoned_plugins_sort_by* + +Filters the default sorting option for Abandoned plugins. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 722](pages/page-mainwp-updates.php#L722-L729) + + + +### `mainwp_updates_abandoned_themes_sort_by` + +*Filter: mainwp_updates_abandoned_themes_sort_by* + +Filters the default sorting option for Abandoned themes. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'name'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 731](pages/page-mainwp-updates.php#L731-L738) + + + +### `mainwp_limit_updates_all` + +*Limits number of updates to process.* + +Limits the number of updates that will be processed in a single run on Update Everything action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 748](pages/page-mainwp-updates.php#L748-L755) + + + +### `mainwp_pages_updates_render_tabs` + +*Renders updates page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$current_tab` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 383](pages/page-mainwp-updates.php#L383-L797) + + + +### `mainwp_updates_table_features` + +*Filter: mainwp_updates_table_features* + +Filters the Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1799](pages/page-mainwp-updates.php#L1799-L1806) + + + +### `mainwp_page_hearder_tabs_updates` + +*Renders header tabs* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$header_tabs` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1916](pages/page-mainwp-updates.php#L1916-L1978) + + + +### `mainwp_updates_hide_show_updates_per` + +*Renders header tabs* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$hide_show_updates_per` | | +`$current_tab` | `string` | current tab. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 1916](pages/page-mainwp-updates.php#L1916-L1999) + + + +### `mainwp_manage_updates_limit_loading` + +*Method handle_limit_sites().* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`'updates'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-updates.php](pages/page-mainwp-updates.php), [line 2250](pages/page-mainwp-updates.php#L2250-L2255) + + + +### `mainwp-getsubpages-themes` + +*Themes Subpages* + +Filters subpages for the Themes page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array(array())` | | +`'4.0.7.2'` | | +`'mainwp_getsubpages_themes'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 147](pages/page-mainwp-themes.php#L147-L154) + + + +### `mainwp_getsubpages_themes` + +*Method init_menu()* + +Initiate the MainWP Themes SubMenu page. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$sub_pages` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 68](pages/page-mainwp-themes.php#L68-L155) + + + +### `file_mod_allowed` + +*Disables themes installation* + +Filters whether file modifications are allowed on the Dashboard site. If not, installation process will be disabled too. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`'mainwp_install_theme'` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1857](pages/page-mainwp-themes.php#L1857-L1864) + + + +### `mainwp_favorites_themes` + +*Render the Themes table for the Install Themes Tab.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array()` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 1732](pages/page-mainwp-themes.php#L1732-L1888) + + + +### `mainwp_theme_auto_updates_table_fatures` + +*Filter: mainwp_theme_auto_updates_table_fatures* + +Filters the Theme Auto Updates table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-themes.php](pages/page-mainwp-themes.php), [line 2371](pages/page-mainwp-themes.php#L2371-L2378) + + + +### `mainwp_module_cost_tracker_get_total_cost` + +*Method render_sites()* + +Grab available Child Sites updates a build Widget. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-get-started.php](widgets/widget-mainwp-get-started.php), [line 46](widgets/widget-mainwp-get-started.php#L46-L74) + + + +### `mainwp_plugins_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Plugins', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-plugins.php](widgets/widget-mainwp-widget-plugins.php), [line 137](widgets/widget-mainwp-widget-plugins.php#L137-L137) + + + +### `mainwp_themes_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Themes', 'mainwp')` | | +`$website` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-widget-themes.php](widgets/widget-mainwp-widget-themes.php), [line 107](widgets/widget-mainwp-widget-themes.php#L107-L107) + + + +### `mainwp_limit_updates_all` + +*Filter: mainwp_limit_updates_all* + +Limits the number of updates that will be processed in a single run on Update Everything action. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`0` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 373](widgets/widget-mainwp-updates-overview.php#L373-L380) + + + +### `mainwp_updates_overview_widget_title` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Updates Overview', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 475](widgets/widget-mainwp-updates-overview.php#L475-L475) + + + +### `mainwp_update_everything_button_text` + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`esc_html__('Update Everything', 'mainwp')` | | + +Source: [../sources/mainwp-dashboard/widgets/widget-mainwp-updates-overview.php](widgets/widget-mainwp-updates-overview.php), [line 551](widgets/widget-mainwp-updates-overview.php#L551-L551) + + + diff --git a/mainwp-hooks-old/dashboard/filters/user-management/index.md b/mainwp-hooks-old/dashboard/filters/user-management/index.md new file mode 100644 index 0000000..34dac17 --- /dev/null +++ b/mainwp-hooks-old/dashboard/filters/user-management/index.md @@ -0,0 +1,1182 @@ +# User Management Filters + +Hooks related to user management, roles, and capabilities. + +## Navigation + +- [Back to All Filters](../index.md) +- [Back to Dashboard Hooks](../../index.md) +- [Back to Main Hooks Documentation](../../../index.md) + +## Hooks in this Category + +- [`mainwp_admin_pass_before_users_table`](#mainwp_admin_pass_before_users_table) - Action: mainwp_admin_pass_before_users_table +- [`mainwp_admin_pass_after_users_table`](#mainwp_admin_pass_after_users_table) - Action: mainwp_admin_pass_after_users_table +- [`mainwp_users_bulk_action`](#mainwp_users_bulk_action) - Action: mainwp_users_bulk_action +- [`mainwp_users_actions_bar_left`](#mainwp_users_actions_bar_left) - Users actions bar (left) +- [`mainwp_users_actions_bar_right`](#mainwp_users_actions_bar_right) - Users actions bar (right) +- [`mainwp_manage_users_sidebar_top`](#mainwp_manage_users_sidebar_top) - Action: mainwp_manage_users_sidebar_top +- [`mainwp_manage_users_before_select_sites`](#mainwp_manage_users_before_select_sites) - Action: mainwp_manage_users_before_select_sites +- [`mainwp_manage_users_after_select_sites`](#mainwp_manage_users_after_select_sites) - Action: mainwp_manage_users_after_select_sites +- [`mainwp_manage_users_before_search_options`](#mainwp_manage_users_before_search_options) - Action: mainwp_manage_users_before_search_options +- [`mainwp_manage_users_after_search_options`](#mainwp_manage_users_after_search_options) - Action: mainwp_manage_users_after_search_options +- [`mainwp_manage_users_before_submit_button`](#mainwp_manage_users_before_submit_button) - Action: mainwp_manage_users_before_submit_button +- [`mainwp_manage_users_after_submit_button`](#mainwp_manage_users_after_submit_button) - Action: mainwp_manage_users_after_submit_button +- [`mainwp_manage_users_sidebar_bottom`](#mainwp_manage_users_sidebar_bottom) - Action: mainwp_manage_users_sidebar_bottom +- [`mainwp_before_users_table`](#mainwp_before_users_table) - Action: mainwp_before_users_table +- [`mainwp_users_table_header`](#mainwp_users_table_header) - Renders Users Table. +- [`mainwp_after_users_table`](#mainwp_after_users_table) - Action: mainwp_after_users_table +- [`mainwp_users_table_column`](#mainwp_users_table_column) - Renders Search results. +- [`mainwp_users_table_action`](#mainwp_users_table_action) - Action: mainwp_users_table_action +- [`mainwp_before_user_action`](#mainwp_before_user_action) - Action: mainwp_before_user_action +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after user action. +- [`mainwp_after_user_action`](#mainwp_after_user_action) - Action: mainwp_after_user_action +- [`mainwp_before_new_user_form`](#mainwp_before_new_user_form) - Action: mainwp_before_new_user_form +- [`mainwp_before_new_user_form_fields`](#mainwp_before_new_user_form_fields) - Action: mainwp_before_new_user_form_fields +- [`mainwp_after_new_user_form_fields`](#mainwp_after_new_user_form_fields) - Action: mainwp_after_new_user_form_fields +- [`mainwp_add_new_user_sidebar_top`](#mainwp_add_new_user_sidebar_top) - Action: mainwp_add_new_user_sidebar_top +- [`mainwp_add_new_user_before_select_sites`](#mainwp_add_new_user_before_select_sites) - Action: mainwp_add_new_user_before_select_sites +- [`mainwp_add_new_user_after_select_sites`](#mainwp_add_new_user_after_select_sites) - Action: mainwp_add_new_user_after_select_sites +- [`mainwp_add_new_user_before_submit_button`](#mainwp_add_new_user_before_submit_button) - Action: mainwp_add_new_user_before_submit_button +- [`mainwp_add_new_user_after_submit_button`](#mainwp_add_new_user_after_submit_button) - Action: mainwp_add_new_user_after_submit_button +- [`mainwp_add_new_user_sidebar_bottom`](#mainwp_add_new_user_sidebar_bottom) - Action: mainwp_add_new_user_sidebar_bottom +- [`mainwp_after_new_user_form`](#mainwp_after_new_user_form) - Action: mainwp_after_new_user_form +- [`mainwp_before_import_users`](#mainwp_before_import_users) - Action: mainwp_before_import_users +- [`mainwp_after_import_users`](#mainwp_after_import_users) - Action: mainwp_after_import_users +- [`mainwp_before_user_create`](#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_after_user_create`](#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_import_users_modal_top`](#mainwp_import_users_modal_top) - Action: mainwp_import_users_modal_top +- [`mainwp_import_users_modal_bottom`](#mainwp_import_users_modal_bottom) - Action: mainwp_import_users_modal_bottom +- [`mainwp_before_user_create`](#mainwp_before_user_create) - Action: mainwp_before_user_create +- [`mainwp_after_user_create`](#mainwp_after_user_create) - Action: mainwp_after_user_create +- [`mainwp_users_help_item`](#mainwp_users_help_item) - Action: mainwp_users_help_item +- [`mainwp_before_htaccess_section`](#mainwp_before_htaccess_section) - Action: mainwp_before_htaccess_section +- [`mainwp_after_htaccess_section`](#mainwp_after_htaccess_section) - Action: mainwp_after_htaccess_section +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after new user action. +- [`mainwp_user_action`](#mainwp_user_action) - Fires immediately after update admin password action. +- [`mainwp_disable_rest_api_access_log`](#mainwp_disable_rest_api_access_log) - This filter enables the exclusion of the most recent access time from being logged for REST API calls. +- [`mainwp_currentusercan`](#mainwp_currentusercan) - Method \mainwp_current_user_can() +- [`mainwp_currentuserallowedaccesssites`](#mainwp_currentuserallowedaccesssites) - Filter: mainwp_currentuserallowedaccesssites +- [`mainwp_alter_login_user`](#mainwp_alter_login_user) - Filter: mainwp_alter_login_user +- [`mainwp_alter_login_user`](#mainwp_alter_login_user) - This filter is documented in ../class/class-mainwp-connect.php +- [`mainwp_module_log_get_role_list_separator`](#mainwp_module_log_get_role_list_separator) - Tries to find a label for the record's user_role. +- [`mainwp_admin_users_table_fatures`](#mainwp_admin_users_table_fatures) - Filter: mainwp_admin_users_table_fatures +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders manage users dashboard. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders manage users dashboard. +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders Edit Users Modal window. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders Edit Users Modal window. +- [`mainwp_users_table_fatures`](#mainwp_users_table_fatures) - Renders Users Table. +- [`mainwp_new_user_password_complexity`](#mainwp_new_user_password_complexity) - Filter: mainwp_new_user_password_complexity +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Renders the Add New user form. +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Renders the Add New user form. +- [`mainwp-users-manage-roles`](#mainwp-users-manage-roles) - Method do_bulk_add() +- [`mainwp_users_manage_roles`](#mainwp_users_manage_roles) - Method do_bulk_add() + +## Hook Details + +### `mainwp_admin_pass_before_users_table` + +*Action: mainwp_admin_pass_before_users_table* + +Fires before the Connected Admin Users mysql_list_tables + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 264](pages/page-mainwp-bulk-update-admin-passwords.php#L264-L271) + + + +### `mainwp_admin_pass_after_users_table` + +*Action: mainwp_admin_pass_after_users_table* + +Fires after the Connected Admin Users mysql_list_tables + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 309](pages/page-mainwp-bulk-update-admin-passwords.php#L309-L316) + + + +### `mainwp_users_bulk_action` + +*Action: mainwp_users_bulk_action* + +Adds new Bulk Actions option under on Manage Users. + +Suggested HTML Markup: + + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 411](pages/page-mainwp-user.php#L411-L421) + + + +### `mainwp_users_actions_bar_left` + +*Users actions bar (left)* + +Fires at the left side of the actions bar on the Users screen, after the Bulk Actions menu. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 426](pages/page-mainwp-user.php#L426-L433) + + + +### `mainwp_users_actions_bar_right` + +*Users actions bar (right)* + +Fires at the right side of the actions bar on the Users screen. + + +**Changelog** + +Version | Description +------- | ----------- +`4.0` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 438](pages/page-mainwp-user.php#L438-L445) + + + +### `mainwp_manage_users_sidebar_top` + +*Action: mainwp_manage_users_sidebar_top* + +Fires on top of the sidebar on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 474](pages/page-mainwp-user.php#L474-L481) + + + +### `mainwp_manage_users_before_select_sites` + +*Action: mainwp_manage_users_before_select_sites* + +Fires before the Select Sites section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 485](pages/page-mainwp-user.php#L485-L492) + + + +### `mainwp_manage_users_after_select_sites` + +*Action: mainwp_manage_users_after_select_sites* + +Fires after the Select Sites section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 508](pages/page-mainwp-user.php#L508-L515) + + + +### `mainwp_manage_users_before_search_options` + +*Action: mainwp_manage_users_before_search_options* + +Fires before the Search Options section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 538](pages/page-mainwp-user.php#L538-L545) + + + +### `mainwp_manage_users_after_search_options` + +*Action: mainwp_manage_users_after_search_options* + +Fires after the Search Options section on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 565](pages/page-mainwp-user.php#L565-L572) + + + +### `mainwp_manage_users_before_submit_button` + +*Action: mainwp_manage_users_before_submit_button* + +Fires before the Submit Button on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 584](pages/page-mainwp-user.php#L584-L591) + + + +### `mainwp_manage_users_after_submit_button` + +*Action: mainwp_manage_users_after_submit_button* + +Fires after the Submit Button on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 595](pages/page-mainwp-user.php#L595-L602) + + + +### `mainwp_manage_users_sidebar_bottom` + +*Action: mainwp_manage_users_sidebar_bottom* + +Fires at the bottom of the sidebar on Manage Users page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 606](pages/page-mainwp-user.php#L606-L613) + + + +### `mainwp_before_users_table` + +*Action: mainwp_before_users_table* + +Fires before the User table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 819](pages/page-mainwp-user.php#L819-L826) + + + +### `mainwp_users_table_header` + +*Renders Users Table.* + + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 805](pages/page-mainwp-user.php#L805-L832) + + + +### `mainwp_after_users_table` + +*Action: mainwp_after_users_table* + +Fires after the User table. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 853](pages/page-mainwp-user.php#L853-L860) + + + +### `mainwp_users_table_column` + +*Renders Search results.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user` | | +`$website` | `object` | Object containing the child site info. + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1207](pages/page-mainwp-user.php#L1207-L1229) + + + +### `mainwp_users_table_action` + +*Action: mainwp_users_table_action* + +Adds a new item in the Actions menu in Manage Users table. + +Suggested HTML markup: +Your custom label + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user` | `array` | Array containing the user data. +`$website` | `array` | Object containing the website data. + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1257](pages/page-mainwp-user.php#L1257-L1270) + + + +### `mainwp_before_user_action` + +*Action: mainwp_before_user_action* + +Fires before user edit/delete/update_user/update_password actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$pAction` | | +`$userId` | | +`$extra` | | +`$pass` | | +`$optimize` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1415](pages/page-mainwp-user.php#L1415-L1422) + + + +### `mainwp_user_action` + +*Fires immediately after user action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`$pAction` | | +`$data` | | +`$extra` | | +`$optimize` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1440](pages/page-mainwp-user.php#L1440-L1445) + + + +### `mainwp_after_user_action` + +*Action: mainwp_after_user_action* + +Fires after user edit/delete/update_user/update_password actions. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$information` | | +`$pAction` | | +`$userId` | | +`$extra` | | +`$pass` | | +`$optimize` | | +`$website` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1451](pages/page-mainwp-user.php#L1451-L1458) + + + +### `mainwp_before_new_user_form` + +*Action: mainwp_before_new_user_form* + +Fires before the Add New user form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1499](pages/page-mainwp-user.php#L1499-L1506) + + + +### `mainwp_before_new_user_form_fields` + +*Action: mainwp_before_new_user_form_fields* + +Fires before the Add New user form fields. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1521](pages/page-mainwp-user.php#L1521-L1528) + + + +### `mainwp_after_new_user_form_fields` + +*Action: mainwp_after_new_user_form_fields* + +Fires after the Add New user form fields. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1621](pages/page-mainwp-user.php#L1621-L1628) + + + +### `mainwp_add_new_user_sidebar_top` + +*Action: mainwp_add_new_user_sidebar_top* + +Fires at the top of the sidebar on Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1634](pages/page-mainwp-user.php#L1634-L1641) + + + +### `mainwp_add_new_user_before_select_sites` + +*Action: mainwp_add_new_user_before_select_sites* + +Fires before the Select Sites section on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1645](pages/page-mainwp-user.php#L1645-L1652) + + + +### `mainwp_add_new_user_after_select_sites` + +*Action: mainwp_add_new_user_after_select_sites* + +Fires after the Select Sites section on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1664](pages/page-mainwp-user.php#L1664-L1671) + + + +### `mainwp_add_new_user_before_submit_button` + +*Action: mainwp_add_new_user_before_submit_button* + +Fires before the Submit button on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1677](pages/page-mainwp-user.php#L1677-L1684) + + + +### `mainwp_add_new_user_after_submit_button` + +*Action: mainwp_add_new_user_after_submit_button* + +Fires after the Submit button on the Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1694](pages/page-mainwp-user.php#L1694-L1701) + + + +### `mainwp_add_new_user_sidebar_bottom` + +*Action: mainwp_add_new_user_sidebar_bottom* + +Fires at the bottom of the sidebar on Add New user page. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1705](pages/page-mainwp-user.php#L1705-L1712) + + + +### `mainwp_after_new_user_form` + +*Action: mainwp_after_new_user_form* + +Fires after the Add New user form. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1718](pages/page-mainwp-user.php#L1718-L1725) + + + +### `mainwp_before_import_users` + +*Action: mainwp_before_import_users* + +Fires above the Import Users section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1773](pages/page-mainwp-user.php#L1773-L1780) + + + +### `mainwp_after_import_users` + +*Action: mainwp_after_import_users* + +Fires under the Import Users section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1813](pages/page-mainwp-user.php#L1813-L1820) + + + +### `mainwp_before_user_create` + +*Action: mainwp_before_user_create* + +Fires before user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1952](pages/page-mainwp-user.php#L1952-L1959) + + + +### `mainwp_after_user_create` + +*Action: mainwp_after_user_create* + +Fires after user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1972](pages/page-mainwp-user.php#L1972-L1979) + + + +### `mainwp_import_users_modal_top` + +*Action: mainwp_import_users_modal_top* + +Fires on the top of the Import Users modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2099](pages/page-mainwp-user.php#L2099-L2106) + + + +### `mainwp_import_users_modal_bottom` + +*Action: mainwp_import_users_modal_bottom* + +Fires on the bottom of the Import Users modal. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2120](pages/page-mainwp-user.php#L2120-L2127) + + + +### `mainwp_before_user_create` + +*Action: mainwp_before_user_create* + +Fires before user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2278](pages/page-mainwp-user.php#L2278-L2285) + + + +### `mainwp_after_user_create` + +*Action: mainwp_after_user_create* + +Fires after user create. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$output` | | +`$post_data` | | +`$dbwebsites` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2298](pages/page-mainwp-user.php#L2298-L2305) + + + +### `mainwp_users_help_item` + +*Action: mainwp_users_help_item* + +Fires at the bottom of the help articles list in the Help sidebar on the Users page. + +Suggested HTML markup: + +
Your custom text
+ + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 2359](pages/page-mainwp-user.php#L2359-L2370) + + + +### `mainwp_before_htaccess_section` + +*Action: mainwp_before_htaccess_section* + +Fires before the .htaccess file section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1867](pages/page-mainwp-server-information.php#L1867-L1874) + + + +### `mainwp_after_htaccess_section` + +*Action: mainwp_after_htaccess_section* + +Fires after the .htaccess file section. + + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-server-information.php](pages/page-mainwp-server-information.php), [line 1890](pages/page-mainwp-server-information.php#L1890-L1897) + + + +### `mainwp_user_action` + +*Fires immediately after new user action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'created'` | | +`$data` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 62](pages/page-mainwp-bulk-add.php#L62-L67) + + + +### `mainwp_user_action` + +*Fires immediately after update admin password action.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$website` | | +`'newadminpassword'` | | +`$data` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.5.1.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-add.php](pages/page-mainwp-bulk-add.php), [line 72](pages/page-mainwp-bulk-add.php#L72-L77) + + + +### `mainwp_disable_rest_api_access_log` + +*This filter enables the exclusion of the most recent access time from being logged for REST API calls.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$this->user->key_id` | | +`$this->user->user_id` | | + +**Changelog** + +Version | Description +------- | ----------- +`5.1.1` | + +Source: [../sources/mainwp-dashboard/includes/rest-api/class-mainwp-rest-authentication.php](includes/rest-api/class-mainwp-rest-authentication.php), [line 790](includes/rest-api/class-mainwp-rest-authentication.php#L790-L799) + + + +### `mainwp_currentusercan` + +*Method \mainwp_current_user_can()* + +Check permission level by hook mainwp_currentusercan of Team Control extension. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`true` | | +`$cap_type` | `string` | group or type of capabilities. +`$cap` | `string` | capabilities for current user. + +Source: [../sources/mainwp-dashboard/class/class-mainwp-system.php](class/class-mainwp-system.php), [line 612](class/class-mainwp-system.php#L612-L649) + + + +### `mainwp_currentuserallowedaccesssites` + +*Filter: mainwp_currentuserallowedaccesssites* + +Filters allowed sites for the current user. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'all'` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-db.php](class/class-mainwp-db.php), [line 1892](class/class-mainwp-db.php#L1892-L1899) + + + +### `mainwp_alter_login_user` + +*Filter: mainwp_alter_login_user* + +Filters users accounts so it allows you user to jump to child site under alternative administrator account. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$current_user->ID` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 440](class/class-mainwp-connect.php#L440-L450) + + + +### `mainwp_alter_login_user` + +*This filter is documented in ../class/class-mainwp-connect.php* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`false` | | +`$website->id` | | +`$current_user->ID` | | + +Source: [../sources/mainwp-dashboard/class/class-mainwp-connect.php](class/class-mainwp-connect.php), [line 611](class/class-mainwp-connect.php#L611-L612) + + + +### `mainwp_module_log_get_role_list_separator` + +*Tries to find a label for the record's user_role.* + +If the user_role exists, use the label associated with it. + +Otherwise, if there is a user role label stored as Log meta then use that. +Otherwise, if the user exists, use the label associated with their current role. +Otherwise, use the role slug as the label. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`' - '` | | + +Source: [../sources/mainwp-dashboard/modules/logs/classes/class-log-author.php](modules/logs/classes/class-log-author.php), [line 155](modules/logs/classes/class-log-author.php#L155-L183) + + + +### `mainwp_admin_users_table_fatures` + +*Filter: mainwp_admin_users_table_fatures* + +Filters Admin Users table features. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +**Changelog** + +Version | Description +------- | ----------- +`4.1` | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-bulk-update-admin-passwords.php](pages/page-mainwp-bulk-update-admin-passwords.php), [line 326](pages/page-mainwp-bulk-update-admin-passwords.php#L326-L333) + + + +### `mainwp-users-manage-roles` + +*Renders manage users dashboard.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 368](pages/page-mainwp-user.php#L368-L528) + + + +### `mainwp_users_manage_roles` + +*Renders manage users dashboard.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 368](pages/page-mainwp-user.php#L368-L529) + + + +### `mainwp-users-manage-roles` + +*Renders Edit Users Modal window.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($editable_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 661](pages/page-mainwp-user.php#L661-L675) + + + +### `mainwp_users_manage_roles` + +*Renders Edit Users Modal window.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$editable_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 661](pages/page-mainwp-user.php#L661-L676) + + + +### `mainwp_users_table_fatures` + +*Renders Users Table.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$table_features` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 805](pages/page-mainwp-user.php#L805-L879) + + + +### `mainwp_new_user_password_complexity` + +*Filter: mainwp_new_user_password_complexity* + +Filters the Password lenght for the Add New user, Password field. + +Since 4.1 + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`'24'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1486](pages/page-mainwp-user.php#L1486-L1493) + + + +### `mainwp-users-manage-roles` + +*Renders the Add New user form.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($user_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1481](pages/page-mainwp-user.php#L1481-L1597) + + + +### `mainwp_users_manage_roles` + +*Renders the Add New user form.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$user_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1481](pages/page-mainwp-user.php#L1481-L1598) + + + +### `mainwp-users-manage-roles` + +*Method do_bulk_add()* + +Bulk User addition $_POST Handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`array($cus_roles)` | | +`'4.0.7.2'` | | +`'mainwp_users_manage_roles'` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1826](pages/page-mainwp-user.php#L1826-L1867) + + + +### `mainwp_users_manage_roles` + +*Method do_bulk_add()* + +Bulk User addition $_POST Handler. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$cus_roles` | | + +Source: [../sources/mainwp-dashboard/pages/page-mainwp-user.php](pages/page-mainwp-user.php), [line 1826](pages/page-mainwp-user.php#L1826-L1868) + + + diff --git a/mainwp-hooks-old/dashboard/index.md b/mainwp-hooks-old/dashboard/index.md index 9d48589..4cca91e 100644 --- a/mainwp-hooks-old/dashboard/index.md +++ b/mainwp-hooks-old/dashboard/index.md @@ -4,58 +4,36 @@ This section provides documentation for all hooks (actions and filters) availabl ## Actions -[Dashboard Actions](actions.md) allow you to add custom functionality at specific points in the MainWP Dashboard execution. Actions are triggered at specific points during the execution of MainWP Dashboard, and you can use them to add your own functionality. +[Dashboard Actions](actions/index.md) allow you to add custom functionality at specific points in the MainWP Dashboard execution. -Common use cases for Dashboard actions include: -- Adding custom UI elements to the Dashboard -- Performing additional tasks when sites are added, updated, or removed -- Extending the Dashboard with custom features -- Integrating with other plugins or services +### Action Categories + +- [Site Management](actions/site-management/index.md) (194 hooks) - Hooks related to adding, editing, removing, and managing sites and site groups. +- [Updates & Maintenance](actions/updates-maintenance/index.md) (301 hooks) - Hooks for managing updates to plugins, themes, and WordPress core. +- [Content Management](actions/content-management/index.md) (213 hooks) - Hooks for managing posts, pages, comments, and other content. +- [User Management](actions/user-management/index.md) (61 hooks) - Hooks related to user management, roles, and capabilities. +- [Backups & Restoration](actions/backups-restoration/index.md) (65 hooks) - Hooks for backup creation, management, and restoration processes. +- [Security & Monitoring](actions/security-monitoring/index.md) (50 hooks) - Hooks related to security checks, uptime monitoring, and site health. +- [Client Reports](actions/client-reports/index.md) (41 hooks) - Hooks for report generation, customization, and delivery. +- [UI & Display](actions/ui-display/index.md) (190 hooks) - Hooks for modifying the Dashboard UI, widgets, menus, and display elements. +- [Extensions & Integration](actions/extensions-integration/index.md) (5 hooks) - Hooks related to extensions and third-party integrations. +- [API & Remote Communication](actions/api-remote/index.md) (42 hooks) - Hooks for API endpoints and remote communication with child sites. +- [System & Settings](actions/system-settings/index.md) (24 hooks) - Hooks related to general settings and system configuration. ## Filters -[Dashboard Filters](filters.md) allow you to modify data or output at specific points in the MainWP Dashboard execution. Filters are used to modify data before it is used or displayed by MainWP Dashboard. +[Dashboard Filters](filters/index.md) allow you to modify data or output at specific points in the MainWP Dashboard execution. -Common use cases for Dashboard filters include: -- Modifying the output of Dashboard components -- Changing how data is processed or displayed -- Adding or removing items from lists or menus -- Customizing the behavior of Dashboard features +### Filter Categories -## Examples - -### Using Dashboard Actions - -```php -// Add a custom section to the Dashboard -add_action('mainwp_after_header', 'my_custom_dashboard_section'); - -function my_custom_dashboard_section() { - ?> -
-

Custom Dashboard Section

-

This is a custom section added to the MainWP Dashboard.

-
-