The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so
#!/bin/bash | |
# | |
# PostgreSQL Backup Script Ver 1.0 | |
# http://autopgsqlbackup.frozenpc.net | |
# Copyright (c) 2005 Aaron Axelsen <axelseaa@amadmax.com> | |
# | |
# This script is based of the AutoMySQLBackup Script Ver 2.2 | |
# It can be found at http://sourceforge.net/projects/automysqlbackup/ | |
# | |
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9 |
// License: GPLv2+ | |
var el = wp.element.createElement, | |
registerBlockType = wp.blocks.registerBlockType, | |
ServerSideRender = wp.components.ServerSideRender, | |
TextControl = wp.components.TextControl, | |
InspectorControls = wp.editor.InspectorControls; | |
/* | |
* Here's where we register the block in JavaScript. |
/* First we need to extend main profile tabs */ | |
add_filter('um_profile_tabs', 'add_custom_profile_tab', 1000 ); | |
function add_custom_profile_tab( $tabs ) { | |
$tabs['mycustomtab'] = array( | |
'name' => 'My custom tab', | |
'icon' => 'um-faicon-comments', | |
); | |
<?php | |
/** | |
* Changing the star image path to something you'd like to use. | |
*/ | |
function axl_replace_raty_icons( $scripts, $testimonials, $atts, $widget_number ) { | |
if ( ! empty( $scripts ) ) { | |
$find = "path: '//localhost/twp/wp-content/plugins/testimonials-widget-premium/assets/images/'"; | |
$replace = "path: '//localhost/twp/wp-content/uploads/raty-icons/'"; |
<?php | |
global $tw_template_args; | |
if ( ! function_exists( 'axl_modify_tag_cloud_link' ) ) { | |
function axl_modify_tag_cloud_link( $tags_data ) { | |
foreach ( $tags_data as $key => $tag ) { | |
if ( ( ! empty( $tag['url'] ) ) && $tag['url'] != '#' ) { | |
$tag['url'] = $tag['url'] . '?post_type=testimonials-widget'; | |
} | |
} |
The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so
<?php | |
/** | |
* Plugin Name: AXL Slides Sitemap | |
* Plugin URI: https://gist.github.com/subharanjanm/885a0e7a63ad8d4f142c545221ea7e0c | |
* Description: Adds a new sitemap entry for Axelerant Presentation Slides into the sitemap index created by Yoast SEO plugin. | |
* Version: 1.0 | |
* Author: Subharanjan | |
* Author URI: https://gist.github.com/subharanjanm/885a0e7a63ad8d4f142c545221ea7e0c | |
* License: GPLv2 or later | |
*/ |
<?php | |
/* | |
Plugin Name: Deactivate Certain Plugins - WPEngine Staging | |
Plugin URI: https://gist.github.com/subharanjanm/4272d25a446fb2ca12a549a4a5662633 | |
Description: Deactivate certain plugins in the development/staging environment of WP Engine. | |
Version: 1.0 | |
Author: Subharanjan | |
Author URI: https://gist.github.com/subharanjanm/4272d25a446fb2ca12a549a4a5662633 | |
License: GPLv2 | |
*/ |
<?php | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
* Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
*/ | |
$args = array( |