Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Integrations::get_icon_url()
Return Return
(string)
Source Source
File: src/core/lib/recipe-parts/trait-integrations.php
protected function get_icon_url() { $icon_path = $this->get_icon_path() . $this->get_icon(); if ( $this->is_external_integration() ) { $icon_path = str_replace( dirname( $this->get_plugin_file_path() ), '', $icon_path ); $icon_url = plugins_url( $icon_path, $this->get_plugin_file_path() ); } else { $icon_url = Utilities::automator_get_integration_icon( $icon_path ); } return $icon_url; }
Expand full source code Collapse full source code View on Github