How could I execute my plugin just in frontend (not in backend)

Check the requested URI: if(!is_admin() && strpos($_SERVER[‘REQUEST_URI’], ‘wp-login.php’) === false && strpos($_SERVER[‘REQUEST_URI’], ‘wp-signup.php’) === false) { … } But it’s probably better to use a white-list style: if(is_front_page() || is_singular() || is_archive()) { … } These 3 tags should cover pretty much all of the front-end…

Can WordPress plugins “Talk to each other”?

Simple Answer would be yes. It really depends on the plugin. A good plugin will take use of the many API’s that WordPress has set up for development, such as the settings API. Most plugins will probably store their settings using get_option. A good place to start will be the WordPress Codex

Do I have to override the wp_mail() pluggable function with writing a plugin?

Yes you need to use a plugin. Point is that pluggables are between hard and impossible to control. You can read through this thread on wp-hackers about the actual problems and why you shouldn’t use them. Important: Note: pluggable.php loads before the ‘plugins_loaded’ hook. This means that you need the “MU-plugins” (Must use) hook: mu_plugins_loaded … Read more

Getting Details Of Uploaded Image

The attachment metadata stored for the image is: Array ( [width] => 558 [height] => 771 [hwstring_small] => height=”62″ width=”128″ [file] => 2012/02/logo2.png [sizes] => Array ( [thumbnail] => Array ( [file] => file_name.png [width] => 150 [height] => 150 ) [medium] => Array ( [file] => logo2-300×145.png [width] => 300 [height] => 145 ) … Read more