get_option() not returning expected value from plugin

It looks like your serialized settings are corrupted. I created the option mfwp_settings with the value array( ‘test’ => ‘response’ ). When I look at this in the database, the value is stored as a serialized array and looks like this: a:1:{s:4:”test”;s:8:”response”;} Here is a simple debugging function that successfully returns the expected value response … Read more

It is possible to add custom media size in admin media edit?

add_image_size( ‘medium-something’, 480, 480 ); // Register the useful image size for use in Add Media modal add_filter( ‘image_size_names_choose’, ‘your_custom_sizes’ ); function your_custom_sizes( $sizes ) { return array_merge( $sizes, array( ‘medium-something’ => __( ‘Medium Something’ ), ) ); } Be aware that if the size does not already exist for an image, it will not … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)