Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plugin Name: Contoh Plugin WPLOKAL
Plugin URI:
Description: Tutorial membuat plugin sederhana
Version: 1.0.0
Author: Dodi Hidayatullah
Author URI: <a href=""></a>
License: GPL2
License URI:
Text Domain: wplokal
Domain Path: /languages
* hook filter the_content()
function wplokal_the_content_filter($content) {
//ganti dengan link image kalian
$image = '<br><img src="">';
return $content.$image;
add_filter( 'the_content', 'wplokal_the_content_filter' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment