Created
April 22, 2016 06:13
-
-
Save amostajo/8488b432ba23659951ae1f3c65f23d4c to your computer and use it in GitHub Desktop.
Wordpress MVC - Add action with view and parameters.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function on_admin() | |
{ | |
$this->add_action( 'ajax_logo', 'view@images.logo', [ 'class' => 'logo-ajax' ] ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment