php 在WHMCS admin和Alient Area中添加favicon
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php 在WHMCS admin和Alient Area中添加favicon相关的知识,希望对你有一定的参考价值。
<?php
/**
* Include custom code in template head
* © 2017 gofas.net
*
*/
// Favicon in clientarea
add_hook( 'ClientAreaHeadOutput', 1, function( $vars ) {
$gofas_clientarea_favicon = array();
$gofas_clientarea_favicon['gofas_clientarea_favicon'] = '<link rel="icon" href="https://www.example.com/favicon-mini-32x32.png" sizes="32x32" />
<link rel="icon" href="https://www.example.com/favicon-medium-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://www.example.com/favicon-large-300x300.png" />
<meta name="msapplication-TileImage" content="https://www.example.com/favicon-large-300x300.png" />';
return $gofas_clientarea_favicon['gofas_clientarea_favicon'];
});
// Favicon in admin panel
add_hook('AdminAreaHeadOutput', 1, function($vars) {
$gofas_admin_favicon = array();
$gofas_admin_favicon['gofas_admin_favicon'] = '<link rel="icon" href="https://www.example.com/favicon-mini-32x32.png" sizes="32x32" />
<link rel="icon" href="https://www.example.com/favicon-medium-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="https://www.example.com/favicon-large-300x300.png" />
<meta name="msapplication-TileImage" content="https://www.example.com/favicon-large-300x300.png" />';
return $gofas_admin_favicon['gofas_admin_favicon'];
});
以上是关于php 在WHMCS admin和Alient Area中添加favicon的主要内容,如果未能解决你的问题,请参考以下文章
如何在 Debian 9 下安装 LEMP 和 WHMCS 7.5
php WHMCS服务器状态脚本
php whmcs隐藏货币客户侧边栏
php WHMCS Custom附属公司重定向
2020年WHMCS安装图文教程
php Gofas Gerencianet Boleto para WHMCS - https://gofas.net/foruns/topico/alterar-link-do-whmcs/