apply_filters( "wpcd_{$this->get_app_name()}_install_app_popup", $file_name )
add_filter( "wpcd_wordpress-app_install_app_popup", 'my_function', 10, 1 ); public function my_function( $file_name ) { //your code here }
Use this hook to replace the file used to collect data when creating a new WordPress site in wp-admin. The normal popup file is includes/core/apps/wordpress-app/templates/install-app-popup.php. You can create your own version of this file and put it anywhere and then tell WPCD where it’s located using this filter. Keep in mind that if you do this, you’ll need to track changes to the original file and apply them to your custom file.
Pro tip: Look inside the current popup file to get a list of action hooks. In many cases you might be able to add additional fields to the screen without having to make a custom copy of the file.
Located in:
This hook is only available in WPCD versions 4.2.5 or later.